Type Definition nalgebra::base::MatrixView

source ·
pub type MatrixView<'a, T, R, C, RStride = U1, CStride = R> = Matrix<T, R, C, ViewStorage<'a, T, R, C, RStride, CStride>>;
Expand description

A matrix view.

Implementations§

Creates, without bounds checking, a matrix view from an array and with dimensions and strides specified by generic types instances.

Safety

This method is unsafe because the input data array is not checked to contain enough elements. The generic types R, C, RStride, CStride can either be type-level integers or integers wrapped with Dyn().

Creates a matrix view from an array and with dimensions and strides specified by generic types instances.

Panics if the input data array dose not contain enough elements. The generic types R, C, RStride, CStride can either be type-level integers or integers wrapped with Dyn().

Creates, without bound-checking, a matrix view from an array and with dimensions specified by generic types instances.

Safety

This method is unsafe because the input data array is not checked to contain enough elements. The generic types R and C can either be type-level integers or integers wrapped with Dyn().

Creates a matrix view from an array and with dimensions and strides specified by generic types instances.

Panics if the input data array dose not contain enough elements. The generic types R and C can either be type-level integers or integers wrapped with Dyn().

Creates a new matrix view from the given data array.

Panics if data does not contain enough elements.

Creates, without bound checking, a new matrix view from the given data array.

Creates a new matrix view with the specified strides from the given data array.

Panics if data does not contain enough elements.

Creates, without bound checking, a new matrix view with the specified strides from the given data array.

Creates a new matrix view from the given data array.

Panics if data does not contain enough elements.

Creates, without bound checking, a new matrix view from the given data array.

Creates a new matrix view with the specified strides from the given data array.

Panics if data does not contain enough elements.

Creates, without bound checking, a new matrix view with the specified strides from the given data array.

Creates a new matrix view from the given data array.

Panics if data does not contain enough elements.

Creates, without bound checking, a new matrix view from the given data array.

Creates a new matrix view with the specified strides from the given data array.

Panics if data does not contain enough elements.

Creates, without bound checking, a new matrix view with the specified strides from the given data array.

Creates a new matrix view from the given data array.

Panics if data does not contain enough elements.

Creates, without bound checking, a new matrix view from the given data array.

Creates a new matrix view with the specified strides from the given data array.

Panics if data does not contain enough elements.

Creates, without bound checking, a new matrix view with the specified strides from the given data array.

Trait Implementations§

Converts to this type from the input type.
Converts to this type from the input type.
Converts to this type from the input type.