@@ -254,13 +254,13 @@ func (impl Implementation) Dbdsqr(uplo blas.Uplo, n, ncvt, nru, ncc int, d, e, v
254
254
//
255
255
// The remaining elements of A store the data needed to construct Q and P.
256
256
// The matrices Q and P are products of elementary reflectors
257
- // if m >= n, Q = H(0) * H(1) * ... * H( n-1) ,
258
- // P = G(0) * G(1) * ... * G( n-2) ,
259
- // if m < n, Q = H(0) * H(1) * ... * H( m-2) ,
260
- // P = G(0) * G(1) * ... * G( m-1) ,
257
+ // if m >= n, Q = H_0 * H_1 * ... * H_{ n-1} ,
258
+ // P = G_0 * G_1 * ... * G_{ n-2} ,
259
+ // if m < n, Q = H_0 * H_1 * ... * H_{ m-2} ,
260
+ // P = G_0 * G_1 * ... * G_{ m-1} ,
261
261
// where
262
- // H(i) = I - tauQ[i] * v_i * v_i^T,
263
- // G(i) = I - tauP[i] * u_i * u_i^T.
262
+ // H_i = I - tauQ[i] * v_i * v_i^T,
263
+ // G_i = I - tauP[i] * u_i * u_i^T.
264
264
//
265
265
// As an example, on exit the entries of A when m = 6, and n = 5
266
266
// [ d e u1 u1 u1]
@@ -354,7 +354,7 @@ func (impl Implementation) Dgecon(norm lapack.MatrixNorm, n int, a []float64, ld
354
354
//
355
355
// See Dgeqr2 for a description of the elementary reflectors and orthonormal
356
356
// matrix Q. Q is constructed as a product of these elementary reflectors,
357
- // Q = H( k-1) * ... * H(1) * H(0) ,
357
+ // Q = H_{ k-1} * ... * H_1 * H_0 ,
358
358
// where k = min(m,n).
359
359
//
360
360
// Work is temporary storage of length at least m and this function will panic otherwise.
@@ -412,10 +412,10 @@ func (impl Implementation) Dgelqf(m, n int, a []float64, lda int, tau, work []fl
412
412
// v[j] = 0 j < i
413
413
// v[j] = 1 j == i
414
414
// v[j] = a[j*lda+i] j > i
415
- // and computing H(i) = I - tau[i] * v * v^T.
415
+ // and computing H_i = I - tau[i] * v * v^T.
416
416
//
417
417
// The orthonormal matrix Q can be constucted from a product of these elementary
418
- // reflectors, Q = H(0) * H(1) * ... * H( k-1) , where k = min(m,n).
418
+ // reflectors, Q = H_0 * H_1 * ... * H_{ k-1} , where k = min(m,n).
419
419
//
420
420
// Work is temporary storage of length at least n and this function will panic otherwise.
421
421
func (impl Implementation ) Dgeqr2 (m , n int , a []float64 , lda int , tau , work []float64 ) {
@@ -739,7 +739,7 @@ func (impl Implementation) Dorgbr(vect lapack.DecompUpdate, m, n, k int, a []flo
739
739
740
740
// Dorglq generates an m×n matrix Q with orthonormal rows defined by the product
741
741
// of elementary reflectors
742
- // Q = H( k-1) * ... * H(1) * H(0)
742
+ // Q = H_{ k-1} * ... * H_1 * H_0
743
743
// as computed by Dgelqf. Dorglq is the blocked version of Dorgl2 that makes
744
744
// greater use of level-3 BLAS routines.
745
745
//
@@ -781,7 +781,7 @@ func (impl Implementation) Dorglq(m, n, k int, a []float64, lda int, tau, work [
781
781
782
782
// Dorgqr generates an m×n matrix Q with orthonormal columns defined by the
783
783
// product of elementary reflectors
784
- // Q = H(0) * H(1) * ... * H( k-1)
784
+ // Q = H_0 * H_1 * ... * H_{ k-1}
785
785
// as computed by Dgeqrf. Dorgqr is the blocked version of Dorg2r that makes
786
786
// greater use of level-3 BLAS routines.
787
787
//
0 commit comments