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 of mat is stored internally. Otherwise, a reference is stored instead. Default is False.

n_threadsint, optional

Number of threads. Default is 1.

Returns:
wrap

Wrapper matrix object.