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:
Dan Kortschak
2019-09-03 13:46:38 +09:30
parent 2065cbd6b4
commit 17ea55aedb
164 changed files with 949 additions and 949 deletions

View File

@@ -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)))
}
}