package
0.0.0-20181209220409-c518dec07be9
Repository: https://github.com/gonum/matrix.git
Documentation: pkg.go.dev
# Functions
Col copies the elements in the jth column of the matrix into the slice dst.
Cond returns the condition number of the given matrix under the given norm.
DenseCopyOf returns a newly allocated copy of the elements of a.
Det returns the determinant of the matrix a.
Dot returns the sum of the element-wise product of a and b.
DotByte sets the dot character to b.
Equal returns whether the matrices a and b have the same size and are element-wise equal.
EqualApprox returns whether the matrices a and b have the same size and contain all equal elements with tolerance for element-wise equality specified by epsilon.
Excerpt sets the maximum number of rows and columns to print at the margins of the matrix to m.
Formatted returns a fmt.Formatter for the matrix m using the given options.
Inner computes the generalized inner product x^T A y between vectors x and y with matrix A.
LogDet returns the log of the determinant and the sign of the determinant for the matrix that has been factorized.
Max returns the largest element value of the matrix A.
Min returns the smallest element value of the matrix A.
NewDense creates a new Dense matrix with r rows and c columns.
NewSymDense creates a new Symmetric matrix with n rows and columns.
NewTriDense creates a new Triangular matrix with n rows and columns.
NewVector creates a new Vector of length n.
Norm returns the specified (induced) norm of the matrix a.
Prefix sets the formatted prefix to the string p.
Row copies the elements in the jth column of the matrix into the slice dst.
Squeeze sets the printing behaviour to minimise column width for each individual column.
Sum returns the sum of the elements of the matrix.
Trace returns the trace of the matrix.
# Structs
Cholesky is a type for creating and using the Cholesky factorization of a symmetric positive definite matrix.
Dense is a dense matrix representation.
Eigen is a type for creating and using the eigenvalue decomposition of a dense matrix.
EigenSym is a type for creating and manipulating the Eigen decomposition of symmetric matrices.
GSVD is a type for creating and using the Generalized Singular Value Decomposition (GSVD) of a matrix.
HOGSVD is a type for creating and using the Higher Order Generalized Singular Value Decomposition (HOGSVD) of a set of matrices.
LQ is a type for creating and using the LQ factorization of a matrix.
LU is a type for creating and using the LU factorization of a matrix.
QR is a type for creating and using the QR factorization of a matrix.
SVD is a type for creating and using the Singular Value Decomposition (SVD) of a matrix.
SymDense is a symmetric matrix that uses dense storage.
Transpose is a type for performing an implicit matrix transpose.
TransposeTri is a type for performing an implicit transpose of a Triangular matrix.
TriDense represents an upper or lower triangular matrix in dense storage format.
Vector represents a column vector.
# Interfaces
A BandWidther represents a banded matrix and can return the left and right half-bandwidths, k1 and k2.
A Cloner can make a copy of a into the receiver, overwriting the previous value of the receiver.
A ColViewer can return a Vector reflecting a column that is backed by the matrix data.
A Copier can make a copy of elements of a into the receiver.
A Grower can grow the size of the represented matrix by the given number of rows and columns.
Matrix is the basic matrix interface type.
Mutable is a matrix interface type that allows elements to be altered.
No description provided by the author
A RawColViewer can return a slice of float64 reflecting a column that is backed by the matrix data.
A RawMatrixer can return a blas64.General representation of the receiver.
A RawMatrixSetter can set the underlying blas64.General used by the receiver.
A RawRowViewer can return a slice of float64 reflecting a row that is backed by the matrix data.
A RawSymmetricer can return a view of itself as a BLAS Symmetric matrix.
No description provided by the author
A RawVectorer can return a blas64.Vector representation of the receiver.
A Reseter can reset the matrix so that it can be reused as the receiver of a dimensionally restricted operation.
A RowViewer can return a Vector reflecting a row that is backed by the matrix data.
Symmetric represents a symmetric matrix (where the element at {i, j} equals the element at {j, i}).
No description provided by the author
Untransposer is a type that can undo an implicit transpose.
UntransposeTrier is a type that can undo an implicit triangular transpose.
A Viewer returns a submatrix view of the Matrix parameter, starting at row i, column j and extending r rows and c columns.
# Type aliases
FormatOption is a functional option for matrix formatting.