mirror of
https://github.com/gonum/gonum.git
synced 2025-10-06 15:47:01 +08:00
blas,lapack: clean up docs and comments
Apply (with manual curation after the fact): * s/^T/U+1d40/g * s/^H/U+1d34/g * s/, {2,3}if / $1/g Some additional manual editing of odd formatting.
This commit is contained in:
@@ -21,7 +21,7 @@ func TestHOGSVD(t *testing.T) {
|
||||
{150, 150},
|
||||
{200, 150},
|
||||
|
||||
// Calculating A_i*A_j^T and A_j*A_i^T fails for wide matrices.
|
||||
// Calculating A_i*A_jᵀ and A_j*A_iᵀ fails for wide matrices.
|
||||
{3, 5},
|
||||
} {
|
||||
r := test.r
|
||||
@@ -67,7 +67,7 @@ func TestHOGSVD(t *testing.T) {
|
||||
|
||||
got.Product(u[i], sigma, v.T())
|
||||
if !EqualApprox(&got, want, tol) {
|
||||
t.Errorf("test %d n=%d trial %d: unexpected answer\nU_%[4]d * S_%[4]d * V^T:\n% 0.2f\nD_%d:\n% 0.2f",
|
||||
t.Errorf("test %d n=%d trial %d: unexpected answer\nU_%[4]d * S_%[4]d * Vᵀ:\n% 0.2f\nD_%d:\n% 0.2f",
|
||||
cas, n, trial, i, Formatted(&got, Excerpt(5)), i, Formatted(want, Excerpt(5)))
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user