Documentation ¶
Overview ¶
Package cblas128 provides a simple interface to the complex128 BLAS API.
Index ¶
- func Asum(n int, x Vector) float64
- func Axpy(n int, alpha complex128, x, y Vector)
- func Copy(n int, x, y Vector)
- func Dotc(n int, x, y Vector) complex128
- func Dotu(n int, x, y Vector) complex128
- func Dscal(n int, alpha float64, x Vector)
- func Gbmv(tA blas.Transpose, alpha complex128, a Band, x Vector, beta complex128, ...)
- func Gemm(tA, tB blas.Transpose, alpha complex128, a, b General, beta complex128, ...)
- func Gemv(tA blas.Transpose, alpha complex128, a General, x Vector, beta complex128, ...)
- func Gerc(alpha complex128, x, y Vector, a General)
- func Geru(alpha complex128, x, y Vector, a General)
- func Hbmv(alpha complex128, a HermitianBand, x Vector, beta complex128, y Vector)
- func Hemm(s blas.Side, alpha complex128, a Hermitian, b General, beta complex128, ...)
- func Hemv(alpha complex128, a Hermitian, x Vector, beta complex128, y Vector)
- func Her(alpha float64, x Vector, a Hermitian)
- func Her2(alpha complex128, x, y Vector, a Hermitian)
- func Her2k(t blas.Transpose, alpha complex128, a, b General, beta float64, c Hermitian)
- func Herk(t blas.Transpose, alpha float64, a General, beta float64, c Hermitian)
- func Hpmv(alpha complex128, a HermitianPacked, x Vector, beta complex128, y Vector)
- func Hpr(alpha float64, x Vector, a HermitianPacked)
- func Hpr2(alpha complex128, x, y Vector, a HermitianPacked)
- func Iamax(n int, x Vector) int
- func Implementation() blas.Complex128
- func Nrm2(n int, x Vector) float64
- func Scal(n int, alpha complex128, x Vector)
- func Swap(n int, x, y Vector)
- func Symm(s blas.Side, alpha complex128, a Symmetric, b General, beta complex128, ...)
- func Syr2k(t blas.Transpose, alpha complex128, a, b General, beta complex128, c Symmetric)
- func Syrk(t blas.Transpose, alpha complex128, a General, beta complex128, c Symmetric)
- func Tbmv(tA blas.Transpose, a TriangularBand, x Vector)
- func Tbsv(tA blas.Transpose, a TriangularBand, x Vector)
- func Tpmv(tA blas.Transpose, a TriangularPacked, x Vector)
- func Tpsv(tA blas.Transpose, a TriangularPacked, x Vector)
- func Trmm(s blas.Side, tA blas.Transpose, alpha complex128, a Triangular, b General)
- func Trmv(tA blas.Transpose, a Triangular, x Vector)
- func Trsm(s blas.Side, tA blas.Transpose, alpha complex128, a Triangular, b General)
- func Trsv(tA blas.Transpose, a Triangular, x Vector)
- func Use(b blas.Complex128)
- type Band
- type General
- type Hermitian
- type HermitianBand
- type HermitianPacked
- type Symmetric
- type SymmetricBand
- type SymmetricPacked
- type Triangular
- type TriangularBand
- type TriangularPacked
- type Vector
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Axpy ¶
func Axpy(n int, alpha complex128, x, y Vector)
func Dotc ¶
func Dotc(n int, x, y Vector) complex128
func Dotu ¶
func Dotu(n int, x, y Vector) complex128
func Gbmv ¶
func Gbmv(tA blas.Transpose, alpha complex128, a Band, x Vector, beta complex128, y Vector)
func Gemm ¶
func Gemm(tA, tB blas.Transpose, alpha complex128, a, b General, beta complex128, c General)
func Gemv ¶
func Gemv(tA blas.Transpose, alpha complex128, a General, x Vector, beta complex128, y Vector)
func Gerc ¶
func Gerc(alpha complex128, x, y Vector, a General)
func Geru ¶
func Geru(alpha complex128, x, y Vector, a General)
func Hbmv ¶
func Hbmv(alpha complex128, a HermitianBand, x Vector, beta complex128, y Vector)
func Hemm ¶
func Hemm(s blas.Side, alpha complex128, a Hermitian, b General, beta complex128, c General)
func Hemv ¶
func Hemv(alpha complex128, a Hermitian, x Vector, beta complex128, y Vector)
func Her2 ¶
func Her2(alpha complex128, x, y Vector, a Hermitian)
func Hpmv ¶
func Hpmv(alpha complex128, a HermitianPacked, x Vector, beta complex128, y Vector)
func Hpr ¶
func Hpr(alpha float64, x Vector, a HermitianPacked)
func Hpr2 ¶
func Hpr2(alpha complex128, x, y Vector, a HermitianPacked)
func Implementation ¶
func Implementation() blas.Complex128
Implementation returns the current BLAS complex128 implementation.
Implementation allows direct calls to the current the BLAS complex128 implementation giving finer control of parameters.
func Scal ¶
func Scal(n int, alpha complex128, x Vector)
Scal will panic if the vector increment is negative
func Symm ¶
func Symm(s blas.Side, alpha complex128, a Symmetric, b General, beta complex128, c General)
func Syr2k ¶
func Syr2k(t blas.Transpose, alpha complex128, a, b General, beta complex128, c Symmetric)
func Syrk ¶
func Syrk(t blas.Transpose, alpha complex128, a General, beta complex128, c Symmetric)
func Trmm ¶
func Trmm(s blas.Side, tA blas.Transpose, alpha complex128, a Triangular, b General)
func Trsm ¶
func Trsm(s blas.Side, tA blas.Transpose, alpha complex128, a Triangular, b General)
func Use ¶
func Use(b blas.Complex128)
Use sets the BLAS complex128 implementation to be used by subsequent BLAS calls. The default implementation is cgo.Implementation.
Types ¶
type Band ¶
type Band struct {
Rows, Cols int
KL, KU int
Stride int
Data []complex128
}
Band represents a band matrix using the band storage scheme.
type General ¶
type General struct {
Rows, Cols int
Stride int
Data []complex128
}
General represents a matrix using the conventional storage scheme.
type Hermitian ¶
type Hermitian Symmetric
Hermitian represents an Hermitian matrix using the conventional storage scheme.
type HermitianBand ¶
type HermitianBand SymmetricBand
HermitianBand represents an Hermitian matrix using the band storage scheme.
type HermitianPacked ¶
type HermitianPacked SymmetricPacked
HermitianPacked represents an Hermitian matrix using the packed storage scheme.
type Symmetric ¶
type Symmetric struct { N int Stride int Data []complex128 Uplo blas.Uplo }
Symmetric represents a symmetric matrix using the conventional storage scheme.
type SymmetricBand ¶
type SymmetricBand struct {
N, K int
Stride int
Data []complex128
Uplo blas.Uplo
}
SymmetricBand represents a symmetric matrix using the band storage scheme.
type SymmetricPacked ¶
type SymmetricPacked struct { N int Data []complex128 Uplo blas.Uplo }
SymmetricPacked represents a symmetric matrix using the packed storage scheme.
type Triangular ¶
Triangular represents a triangular matrix using the conventional storage scheme.
type TriangularBand ¶
TriangularBand represents a triangular matrix using the band storage scheme.
type TriangularPacked ¶
TriangularPacked represents a triangular matrix using the packed storage scheme.
type Vector ¶
type Vector struct { Inc int Data []complex128 }
Vector represents a vector with an associated element increment.