adelie.matrix.dense#
- adelie.matrix.dense(mat: ndarray, *, method: str = 'naive', copy: bool = False, n_threads: int = 1)[source]#
Creates a viewer of a dense matrix.
- Parameters:
- matndarray
The dense matrix to view.
- methodstr, optional
Method type. It must be one of the following:
"naive"
: naive matrix."cov"
: covariance matrix."constraint"
: constraint matrix.
Default is
"naive"
.- copybool, optional
If
True
, a copy ofmat
is stored internally. Otherwise, a reference is stored instead. Default isFalse
.- n_threadsint, optional
Number of threads. Default is
1
.
- Returns:
- wrap
Wrapper matrix object.
See also
adelie.adelie_core.matrix.MatrixConstraintDense32C
adelie.adelie_core.matrix.MatrixConstraintDense32F
adelie.adelie_core.matrix.MatrixConstraintDense64C
adelie.adelie_core.matrix.MatrixConstraintDense64F
adelie.adelie_core.matrix.MatrixCovDense32C
adelie.adelie_core.matrix.MatrixCovDense32F
adelie.adelie_core.matrix.MatrixCovDense64C
adelie.adelie_core.matrix.MatrixCovDense64F
adelie.adelie_core.matrix.MatrixNaiveDense32C
adelie.adelie_core.matrix.MatrixNaiveDense32F
adelie.adelie_core.matrix.MatrixNaiveDense64C
adelie.adelie_core.matrix.MatrixNaiveDense64F