Expand description
Matrix view creation module.
Functions§
- from_
column_ major_ slice - Creates a
MatReffrom slice views over the matrix data, and the matrix dimensions. The data is interpreted in a column-major format, so that the first chunk ofnrowsvalues from the slices goes in the first column of the matrix, the second chunk ofnrowsvalues goes in the second column, and so on. - from_
column_ major_ slice_ mut - Creates a
MatMutfrom slice views over the matrix data, and the matrix dimensions. The data is interpreted in a column-major format, so that the first chunk ofnrowsvalues from the slices goes in the first column of the matrix, the second chunk ofnrowsvalues goes in the second column, and so on. - from_
column_ major_ slice_ with_ stride - Creates a
MatReffrom 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_strideelements. - from_
column_ major_ slice_ with_ stride_ mut - Creates a
MatMutfrom 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_strideelements. - from_
raw_ ⚠parts - Creates a
MatReffrom pointers to the matrix data, dimensions, and strides. - from_
raw_ ⚠parts_ mut - Creates a
MatMutfrom pointers to the matrix data, dimensions, and strides. - from_
row_ major_ slice - Creates a
MatReffrom slice views over the matrix data, and the matrix dimensions. The data is interpreted in a row-major format, so that the first chunk ofncolsvalues from the slices goes in the first column of the matrix, the second chunk ofncolsvalues goes in the second column, and so on. - from_
row_ major_ slice_ mut - Creates a
MatMutfrom slice views over the matrix data, and the matrix dimensions. The data is interpreted in a row-major format, so that the first chunk ofncolsvalues from the slices goes in the first column of the matrix, the second chunk ofncolsvalues goes in the second column, and so on.