From 4629933788a8aeac8441d111033e533e31ef15ed Mon Sep 17 00:00:00 2001 From: Vladimir Chalupecky Date: Fri, 12 Jan 2018 12:24:09 +0100 Subject: [PATCH 1/3] blas/netlib: generate comment for Ztpmv --- blas/netlib/blas.go | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/blas/netlib/blas.go b/blas/netlib/blas.go index daca0e64..b2311e75 100644 --- a/blas/netlib/blas.go +++ b/blas/netlib/blas.go @@ -2619,6 +2619,12 @@ func (Implementation) Ztbmv(ul blas.Uplo, tA blas.Transpose, d blas.Diag, n, k i C.cblas_ztbmv(C.enum_CBLAS_ORDER(rowMajor), C.enum_CBLAS_UPLO(ul), C.enum_CBLAS_TRANSPOSE(tA), C.enum_CBLAS_DIAG(d), C.int(n), C.int(k), unsafe.Pointer(_a), C.int(lda), unsafe.Pointer(_x), C.int(incX)) } +// Ztpmv performs one of the matrix-vector operations +// x = A * x if trans = blas.NoTrans +// x = A^T * x if trans = blas.Trans +// x = A^H * x if trans = blas.ConjTrans +// where x is an n element vector and A is an n×n triangular matrix, supplied in +// packed form. func (Implementation) Ztpmv(ul blas.Uplo, tA blas.Transpose, d blas.Diag, n int, ap, x []complex128, incX int) { // declared at cblas.h:288:6 void cblas_ztpmv ... From ed11af9e45eaf73c8a7e8348bda1f34f16222a1a Mon Sep 17 00:00:00 2001 From: Vladimir Chalupecky Date: Fri, 12 Jan 2018 12:35:39 +0100 Subject: [PATCH 2/3] blas/netlib: enable test for Zhpmv --- blas/netlib/level2cmplx128_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/blas/netlib/level2cmplx128_test.go b/blas/netlib/level2cmplx128_test.go index bfa6edc0..393fd5af 100644 --- a/blas/netlib/level2cmplx128_test.go +++ b/blas/netlib/level2cmplx128_test.go @@ -34,6 +34,10 @@ func TestZher2(t *testing.T) { testblas.Zher2Test(t, impl) } +func TestZhpmv(t *testing.T) { + testblas.ZhpmvTest(t, impl) +} + func TestZhpr(t *testing.T) { testblas.ZhprTest(t, impl) } From 8365da4c8f545d30ec2f705944a4a7a5a1a22855 Mon Sep 17 00:00:00 2001 From: Vladimir Chalupecky Date: Fri, 12 Jan 2018 12:35:50 +0100 Subject: [PATCH 3/3] blas/netlib: enable test for Ztpmv --- blas/netlib/level2cmplx128_test.go | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/blas/netlib/level2cmplx128_test.go b/blas/netlib/level2cmplx128_test.go index 393fd5af..40df84c9 100644 --- a/blas/netlib/level2cmplx128_test.go +++ b/blas/netlib/level2cmplx128_test.go @@ -46,6 +46,10 @@ func TestZhpr2(t *testing.T) { testblas.Zhpr2Test(t, impl) } +func TestZtpmv(t *testing.T) { + testblas.ZtpmvTest(t, impl) +} + func TestZtrmv(t *testing.T) { testblas.ZtrmvTest(t, impl) }