|
|
5 years ago | |
|---|---|---|
| .. | ||
| blas64 | 5 years ago | |
| cblas128 | 5 years ago | |
| gonum | 5 years ago | |
| BUILD | 5 years ago | |
| README.md | 5 years ago | |
| blas.go | 5 years ago | |
| conversions.bash | 5 years ago | |
| doc.go | 5 years ago | |
A collection of packages to provide BLAS functionality for the Go programming language
go get gonum.org/v1/gonum/blas/...
Defines BLAS API split in several interfaces.
Go implementation of the BLAS API (incomplete, implements the float32 and float64 API).
Wrappers for an implementation of the double (i.e., float64) and single (float32)
precision real parts of the BLAS API.
package main
import (
"fmt"
"gonum.org/v1/gonum/blas/blas64"
)
func main() {
v := blas64.Vector{Inc: 1, Data: []float64{1, 1, 1}}
fmt.Println("v has length:", blas64.Nrm2(len(v.Data), v))
}
Wrappers for an implementation of the double (i.e., complex128) and single (complex64)
precision complex parts of the blas API.
Currently blas/cblas64 and blas/cblas128 require gonum.org/v1/netlib/blas.