Expand description
Matrix view creation module.
Functions§
- Creates a
MatRef
from slice views over the matrix data, and the matrix dimensions. The data is interpreted in a column-major format, so that the first chunk ofnrows
values from the slices goes in the first column of the matrix, the second chunk ofnrows
values goes in the second column, and so on. - Creates a
MatMut
from slice views over the matrix data, and the matrix dimensions. The data is interpreted in a column-major format, so that the first chunk ofnrows
values from the slices goes in the first column of the matrix, the second chunk ofnrows
values goes in the second column, and so on. - Creates a
MatRef
from slice views over the matrix data, and the matrix dimensions. The data is interpreted in a column-major format, where the beginnings of two consecutive columns are separated bycol_stride
elements. - Creates a
MatMut
from slice views over the matrix data, and the matrix dimensions. The data is interpreted in a column-major format, where the beginnings of two consecutive columns are separated bycol_stride
elements. - Creates a
MatRef
from pointers to the matrix data, dimensions, and strides. - Creates a
MatMut
from pointers to the matrix data, dimensions, and strides. - Creates a
MatRef
from slice views over the matrix data, and the matrix dimensions. The data is interpreted in a row-major format, so that the first chunk ofncols
values from the slices goes in the first column of the matrix, the second chunk ofncols
values goes in the second column, and so on. - Creates a
MatMut
from slice views over the matrix data, and the matrix dimensions. The data is interpreted in a row-major format, so that the first chunk ofncols
values from the slices goes in the first column of the matrix, the second chunk ofncols
values goes in the second column, and so on.