1 // Copyright ©2016 The Gonum Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style
3 // license that can be found in the LICENSE file.
7 // TriKind represents the triangularity of the matrix.
11 // Upper specifies an upper triangular matrix.
13 // Lower specifies a lower triangular matrix.
17 // SVDKind specifies the treatment of singular vectors during an SVD
22 // SVDNone specifies that no singular vectors should be computed during
24 SVDNone SVDKind = iota + 1
25 // SVDThin computes the thin singular vectors, that is, it computes
27 // where U~ is of size m×min(m,n), Σ is a diagonal matrix of size min(m,n)×min(m,n)
28 // and V~ is of size n×min(m,n).
30 // SVDFull computes the full singular value decomposition,
32 // where U is of size m×m, Σ is an m×n diagonal matrix, and V is an n×n matrix.
36 // GSVDKind specifies the treatment of singular vectors during a GSVD
41 // GSVDU specifies that the U singular vectors should be computed during
43 GSVDU GSVDKind = 1 << iota
44 // GSVDV specifies that the V singular vectors should be computed during
47 // GSVDQ specifies that the Q singular vectors should be computed during
51 // GSVDNone specifies that no singular vector should be computed during