blas/testblas: use complex diagonals in test matrices for Zher, Zher2, Zhpr
MODIFY
blas/testblas/zher.go
blas/testblas/zher.go
@@ -30,9 +30,9 @@ var zherTestCases = []struct {
-2 - 7i,
},
a: []complex128{
- -2 + 0i, -3 - 11i, 0 + 4i,
- -3 + 11i, -6 + 0i, 7 + 2i,
- 0 - 4i, 7 - 2i, 18 + 0i,
+ -2 + 3i, -3 - 11i, 0 + 4i,
+ -3 + 11i, -6 + 3i, 7 + 2i,
+ 0 - 4i, 7 - 2i, 18 + 3i,
},
want: []complex128{
25 + 0i, -93 - 65i, 63 + 22i,
@@ -53,10 +53,10 @@ var zherTestCases = []struct {
0 + 7i,
},
a: []complex128{
- 2 + 0i, -9 + 7i, 3 + 11i, 10 - 1i,
- -9 - 7i, 16 + 0i, -5 + 2i, -7 - 5i,
- 3 - 11i, -5 - 2i, 14 + 0i, 2 - 1i,
- 10 + 1i, -7 + 5i, 2 + 1i, 18 + 0i,
+ 2 + 3i, -9 + 7i, 3 + 11i, 10 - 1i,
+ -9 - 7i, 16 + 3i, -5 + 2i, -7 - 5i,
+ 3 - 11i, -5 - 2i, 14 + 3i, 2 - 1i,
+ 10 + 1i, -7 + 5i, 2 + 1i, 18 + 3i,
},
want: []complex128{
122 + 0i, 3 - 77i, 3 + 11i, 52 + 125i,

blas/testblas: use complex diagonals in test matrices for Zher, Zher2, Zhpr