Versions in this module Expand all Collapse all v0 v0.9.2 May 11, 2021 Changes in this version + const HugeMat + const LargeMat + const MediumMat + const SmallMat + var DgemmCases = []DgemmCase + var DgemvCases = []DgemvCase + var DoubleOneVectorCases = []DoubleOneVectorCase + var DoubleTwoVectorCases = []DoubleTwoVectorCase + var DrotgTests = []DrotgTestStruct + var DrotmgTests = []DrotmgTestStruct + func DasumTest(t *testing.T, blasser Dasumer) + func DaxpyTest(t *testing.T, d Daxpyer) + func DcopyTest(t *testing.T, d Dcopier) + func DdotTest(t *testing.T, d Ddotter) + func DgbmvTest(t *testing.T, blasser Dgbmver) + func DgemmBenchmark(b *testing.B, dgemm Dgemmer, m, n, k int, tA, tB blas.Transpose) + func DgemvBenchmark(b *testing.B, impl Dgemver, tA blas.Transpose, m, n, incX, incY int) + func DgemvTest(t *testing.T, blasser Dgemver) + func DgerBenchmark(b *testing.B, impl Dgerer, m, n, incX, incY int) + func DgerTest(t *testing.T, blasser Dgerer) + func Dnrm2Test(t *testing.T, blasser Dnrm2er) + func DrotTest(t *testing.T, d Droter) + func DrotgTest(t *testing.T, d Drotger) + func DrotmTest(t *testing.T, d Drotmer) + func DrotmgTest(t *testing.T, d Drotmger) + func DsbmvTest(t *testing.T, blasser Dsbmver) + func DscalTest(t *testing.T, blasser Dscaler) + func DspmvTest(t *testing.T, blasser Dspmver) + func Dspr2Test(t *testing.T, blasser Dspr2er) + func DsprTest(t *testing.T, blasser Dsprer) + func DswapTest(t *testing.T, d Dswapper) + func DsymmTest(t *testing.T, blasser Dsymmer) + func DsymvTest(t *testing.T, blasser Dsymver) + func Dsyr2Test(t *testing.T, blasser Dsyr2er) + func Dsyr2kTest(t *testing.T, blasser Dsyr2ker) + func DsyrTest(t *testing.T, blasser Dsyrer) + func DsyrkTest(t *testing.T, blasser Dsyker) + func DtbmvTest(t *testing.T, blasser Dtbmver) + func DtbsvTest(t *testing.T, blasser Dtbsver) + func DtpmvTest(t *testing.T, blasser Dtpmver) + func DtpsvTest(t *testing.T, blasser Dtpsver) + func DtrmmTest(t *testing.T, blasser Dtrmmer) + func DtrmvBenchmark(b *testing.B, dtrmv Dtrmver, n, lda, incX int, ul blas.Uplo, tA blas.Transpose, ...) + func DtrmvTest(t *testing.T, blasser Dtrmver) + func DtrsmTest(t *testing.T, impl Dtrsmer) + func DtrsvTest(t *testing.T, blasser Dtrsver) + func DtxmvTest(t *testing.T, blasser Dtxmver) + func DzasumTest(t *testing.T, impl Dzasumer) + func Dznrm2Test(t *testing.T, impl Dznrm2er) + func IdamaxTest(t *testing.T, blasser Idamaxer) + func IzamaxTest(t *testing.T, impl Izamaxer) + func SgerBenchmark(b *testing.B, blasser Sgerer, m, n, incX, incY int) + func TestDgemm(t *testing.T, blasser Dgemmer) + func ZaxpyTest(t *testing.T, impl Zaxpyer) + func ZcopyTest(t *testing.T, impl Zcopyer) + func ZdotcTest(t *testing.T, impl Zdotcer) + func ZdotuTest(t *testing.T, impl Zdotuer) + func ZdscalTest(t *testing.T, impl Zdscaler) + func ZgbmvTest(t *testing.T, impl Zgbmver) + func ZgemmTest(t *testing.T, impl Zgemmer) + func ZgemvTest(t *testing.T, impl Zgemver) + func ZgercTest(t *testing.T, impl Zgercer) + func ZgeruTest(t *testing.T, impl Zgeruer) + func ZhbmvTest(t *testing.T, impl Zhbmver) + func ZhemmTest(t *testing.T, impl Zhemmer) + func ZhemvTest(t *testing.T, impl Zhemver) + func Zher2Test(t *testing.T, impl Zher2er) + func Zher2kTest(t *testing.T, impl Zher2ker) + func ZherTest(t *testing.T, impl Zherer) + func ZherkTest(t *testing.T, impl Zherker) + func ZhpmvTest(t *testing.T, impl Zhpmver) + func Zhpr2Test(t *testing.T, impl Zhpr2er) + func ZhprTest(t *testing.T, impl Zhprer) + func ZscalTest(t *testing.T, impl Zscaler) + func ZswapTest(t *testing.T, impl Zswaper) + func ZsymmTest(t *testing.T, impl Zsymmer) + func Zsyr2kTest(t *testing.T, impl Zsyr2ker) + func ZsyrkTest(t *testing.T, impl Zsyrker) + func ZtbmvTest(t *testing.T, impl Ztbmver) + func ZtbsvTest(t *testing.T, impl Ztbsver) + func ZtpmvTest(t *testing.T, impl Ztpmver) + func ZtpsvTest(t *testing.T, impl Ztpsver) + func ZtrmmTest(t *testing.T, impl Ztrmmer) + func ZtrmvTest(t *testing.T, impl Ztrmver) + func ZtrsmTest(t *testing.T, impl Ztrsmer) + func ZtrsvTest(t *testing.T, impl Ztrsver) + type DScalCase struct + Alpha float64 + Ans []float64 + Name string + type DTwoVecAnswer struct + X []float64 + Y []float64 + type Dasumer interface + Dasum func(n int, x []float64, incX int) float64 + type DaxpyCase struct + Alpha float64 + Ans []float64 + type Daxpyer interface + Daxpy func(n int, alpha float64, x []float64, incX int, y []float64, incY int) + type Dcopier interface + Dcopy func(n int, x []float64, incX int, y []float64, incY int) + type Ddotter interface + Ddot func(n int, x []float64, incX int, y []float64, incY int) float64 + type Dgbmver interface + Dgbmv func(tA blas.Transpose, m, n, kL, kU int, alpha float64, a []float64, lda int, ...) + type DgemmCase struct + type Dgemmer interface + Dgemm func(tA, tB blas.Transpose, m, n, k int, alpha float64, a []float64, lda int, ...) + type DgemvCase struct + A [][]float64 + Name string + Subcases []DgemvSubcase + type DgemvSubcase struct + type Dgemver interface + Dgemv func(tA blas.Transpose, m, n int, alpha float64, a []float64, lda int, x []float64, ...) + type Dgerer interface + Dger func(m, n int, alpha float64, x []float64, incX int, y []float64, incY int, ...) + type Dnrm2er interface + Dnrm2 func(n int, x []float64, incX int) float64 + type DoubleOneVectorCase struct + Dasum float64 + Dnrm2 float64 + DscalCases []DScalCase + Idamax int + Incx int + N int + Name string + Panic bool + X []float64 + type DoubleTwoVectorCase struct + DaxpyCases []DaxpyCase + DcopyAns DTwoVecAnswer + DdotAns float64 + DrotCases []DrotCase + DrotmCases []DrotmCase + DswapAns DTwoVecAnswer + Incx int + Incy int + N int + Name string + Panic bool + X []float64 + XTmp []float64 + Y []float64 + YTmp []float64 + type DrotCase struct + C float64 + S float64 + XAns []float64 + YAns []float64 + type Droter interface + Drot func(n int, x []float64, incX int, y []float64, incY int, c, s float64) + type DrotgTestStruct struct + A float64 + B float64 + C float64 + Name string + R float64 + S float64 + Z float64 + type Drotger interface + Drotg func(a, b float64) (c, s, r, z float64) + type DrotmCase struct + Name string + P blas.DrotmParams + XAns []float64 + YAns []float64 + type Drotmer interface + Drotm func(n int, x []float64, incX int, y []float64, incY int, p blas.DrotmParams) + type DrotmgTestStruct struct + D1 float64 + D2 float64 + Name string + P *blas.DrotmParams + Rd1 float64 + Rd2 float64 + Rx1 float64 + X1 float64 + Y1 float64 + type Drotmger interface + Drotmg func(d1, d2, x1, y1 float64) (p blas.DrotmParams, rd1, rd2, rx1 float64) + type Dsbmver interface + Dsbmv func(ul blas.Uplo, n, k int, alpha float64, a []float64, lda int, x []float64, ...) + type Dscaler interface + Dscal func(n int, alpha float64, x []float64, incX int) + type Dspmver interface + Dspmv func(ul blas.Uplo, n int, alpha float64, ap []float64, x []float64, incX int, ...) + type Dspr2er interface + Dspr2 func(ul blas.Uplo, n int, alpha float64, x []float64, incX int, y []float64, ...) + type Dsprer interface + Dspr func(ul blas.Uplo, n int, alpha float64, x []float64, incX int, a []float64) + type Dswapper interface + Dswap func(n int, x []float64, incX int, y []float64, incY int) + type Dsyker interface + Dsyrk func(ul blas.Uplo, tA blas.Transpose, n, k int, alpha float64, a []float64, lda int, ...) + type Dsymmer interface + Dsymm func(s blas.Side, ul blas.Uplo, m, n int, alpha float64, a []float64, lda int, ...) + type Dsymver interface + Dsymv func(ul blas.Uplo, n int, alpha float64, a []float64, lda int, x []float64, ...) + type Dsyr2er interface + Dsyr2 func(ul blas.Uplo, n int, alpha float64, x []float64, incX int, y []float64, ...) + type Dsyr2ker interface + Dsyr2k func(ul blas.Uplo, tA blas.Transpose, n, k int, alpha float64, a []float64, lda int, ...) + type Dsyrer interface + Dsyr func(ul blas.Uplo, n int, alpha float64, x []float64, incX int, a []float64, ...) + type Dtbmver interface + Dtbmv func(ul blas.Uplo, tA blas.Transpose, d blas.Diag, n, k int, a []float64, lda int, ...) + type Dtbsver interface + Dtbsv func(ul blas.Uplo, tA blas.Transpose, d blas.Diag, n, k int, a []float64, lda int, ...) + Dtrsv func(ul blas.Uplo, tA blas.Transpose, d blas.Diag, n int, a []float64, lda int, ...) + type Dtpmver interface + Dtpmv func(ul blas.Uplo, tA blas.Transpose, d blas.Diag, n int, ap []float64, x []float64, ...) + type Dtpsver interface + Dtpsv func(ul blas.Uplo, tA blas.Transpose, d blas.Diag, n int, ap []float64, x []float64, ...) + type Dtrmmer interface + Dtrmm func(s blas.Side, ul blas.Uplo, tA blas.Transpose, d blas.Diag, m, n int, ...) + type Dtrmver interface + Dtrmv func(ul blas.Uplo, tA blas.Transpose, d blas.Diag, n int, a []float64, lda int, ...) + type Dtrsmer interface + Dtrsm func(s blas.Side, ul blas.Uplo, tA blas.Transpose, d blas.Diag, m, n int, ...) + type Dtrsver interface + Dtrsv func(ul blas.Uplo, tA blas.Transpose, d blas.Diag, n int, a []float64, lda int, ...) + type Dtxmver interface + Dtbmv func(ul blas.Uplo, tA blas.Transpose, d blas.Diag, n, k int, a []float64, lda int, ...) + Dtpmv func(ul blas.Uplo, tA blas.Transpose, d blas.Diag, n int, a []float64, x []float64, ...) + Dtrmv func(ul blas.Uplo, tA blas.Transpose, d blas.Diag, n int, a []float64, lda int, ...) + type Dzasumer interface + Dzasum func(n int, x []complex128, incX int) float64 + type Dznrm2er interface + Dznrm2 func(n int, x []complex128, incX int) float64 + type Idamaxer interface + Idamax func(n int, x []float64, incX int) int + type Izamaxer interface + Izamax func(n int, x []complex128, incX int) int + type Sgerer interface + Sger func(m, n int, alpha float32, x []float32, incX int, y []float32, incY int, ...) + type Zaxpyer interface + Zaxpy func(n int, alpha complex128, x []complex128, incX int, y []complex128, incY int) + type Zcopyer interface + Zcopy func(n int, x []complex128, incX int, y []complex128, incY int) + type Zdotcer interface + Zdotc func(n int, x []complex128, incX int, y []complex128, incY int) complex128 + type Zdotuer interface + Zdotu func(n int, x []complex128, incX int, y []complex128, incY int) complex128 + type Zdscaler interface + Zdscal func(n int, alpha float64, x []complex128, incX int) + type Zgbmver interface + Zgbmv func(trans blas.Transpose, m, n, kL, kU int, alpha complex128, ab []complex128, ...) + type Zgemmer interface + Zgemm func(tA, tB blas.Transpose, m, n, k int, alpha complex128, a []complex128, lda int, ...) + type Zgemver interface + Zgemv func(trans blas.Transpose, m, n int, alpha complex128, a []complex128, lda int, ...) + type Zgercer interface + Zgerc func(m, n int, alpha complex128, x []complex128, incX int, y []complex128, incY int, ...) + type Zgeruer interface + Zgeru func(m, n int, alpha complex128, x []complex128, incX int, y []complex128, incY int, ...) + type Zhbmver interface + Zhbmv func(uplo blas.Uplo, n, k int, alpha complex128, ab []complex128, ldab int, ...) + type Zhemmer interface + Zhemm func(side blas.Side, uplo blas.Uplo, m, n int, alpha complex128, a []complex128, ...) + type Zhemver interface + Zhemv func(uplo blas.Uplo, n int, alpha complex128, a []complex128, lda int, ...) + type Zher2er interface + Zher2 func(uplo blas.Uplo, n int, alpha complex128, x []complex128, incX int, ...) + type Zher2ker interface + Zher2k func(uplo blas.Uplo, trans blas.Transpose, n, k int, alpha complex128, ...) + type Zherer interface + Zher func(uplo blas.Uplo, n int, alpha float64, x []complex128, incX int, a []complex128, ...) + type Zherker interface + Zherk func(uplo blas.Uplo, trans blas.Transpose, n, k int, alpha float64, a []complex128, ...) + type Zhpmver interface + Zhpmv func(uplo blas.Uplo, n int, alpha complex128, ap []complex128, x []complex128, ...) + type Zhpr2er interface + Zhpr2 func(uplo blas.Uplo, n int, alpha complex128, x []complex128, incX int, ...) + type Zhprer interface + Zhpr func(uplo blas.Uplo, n int, alpha float64, x []complex128, incX int, ...) + type Zscaler interface + Zscal func(n int, alpha complex128, x []complex128, incX int) + type Zswaper interface + Zswap func(n int, x []complex128, incX int, y []complex128, incY int) + type Zsymmer interface + Zsymm func(side blas.Side, uplo blas.Uplo, m, n int, alpha complex128, a []complex128, ...) + type Zsyr2ker interface + Zsyr2k func(uplo blas.Uplo, trans blas.Transpose, n, k int, alpha complex128, ...) + type Zsyrker interface + Zsyrk func(uplo blas.Uplo, trans blas.Transpose, n, k int, alpha complex128, ...) + type Ztbmver interface + Ztbmv func(uplo blas.Uplo, trans blas.Transpose, diag blas.Diag, n, k int, ...) + type Ztbsver interface + Ztbsv func(uplo blas.Uplo, trans blas.Transpose, diag blas.Diag, n, k int, ...) + type Ztpmver interface + Ztpmv func(uplo blas.Uplo, trans blas.Transpose, diag blas.Diag, n int, ap []complex128, ...) + type Ztpsver interface + Ztpsv func(uplo blas.Uplo, trans blas.Transpose, diag blas.Diag, n int, ap []complex128, ...) + type Ztrmmer interface + Ztrmm func(side blas.Side, uplo blas.Uplo, trans blas.Transpose, diag blas.Diag, m, n int, ...) + type Ztrmver interface + Ztrmv func(uplo blas.Uplo, trans blas.Transpose, diag blas.Diag, n int, a []complex128, ...) + type Ztrsmer interface + Ztrsm func(side blas.Side, uplo blas.Uplo, transA blas.Transpose, diag blas.Diag, ...) + type Ztrsver interface + Ztrsv func(uplo blas.Uplo, trans blas.Transpose, diag blas.Diag, n int, a []complex128, ...)