mirror of
				https://github.com/gonum/gonum.git
				synced 2025-10-31 10:36:30 +08:00 
			
		
		
		
	native: mark internal routines
These (generally) cannot be made unexported because we test via testlapack. Also fix a name and some capitalisation.
This commit is contained in:
		| @@ -13,15 +13,17 @@ import "github.com/gonum/blas" | ||||
| // | ||||
| // a is modified to contain the information to construct L and Q. | ||||
| // The lower triangle of a contains the matrix L. The upper triangular elements | ||||
| // (not including the diagonal) contain the elementary reflectors. Tau is modified | ||||
| // to contain the reflector scales. Tau must have length of at least k = min(m,n) | ||||
| // (not including the diagonal) contain the elementary reflectors. tau is modified | ||||
| // to contain the reflector scales. tau must have length of at least k = min(m,n) | ||||
| // and this function will panic otherwise. | ||||
| // | ||||
| // See Dgeqr2 for a description of the elementary reflectors and orthonormal | ||||
| // matrix Q. Q is constructed as a product of these elementary reflectors, | ||||
| // Q = H_k ... H_2*H_1. | ||||
| // | ||||
| // Work is temporary storage of length at least m and this function will panic otherwise. | ||||
| // work is temporary storage of length at least m and this function will panic otherwise. | ||||
| // | ||||
| // Dgelq2 is an internal routine. It is exported for testing purposes. | ||||
| func (impl Implementation) Dgelq2(m, n int, a []float64, lda int, tau, work []float64) { | ||||
| 	checkMatrix(m, n, a, lda) | ||||
| 	k := min(m, n) | ||||
|   | ||||
		Reference in New Issue
	
	Block a user
	 kortschak
					kortschak