Struct nalgebra::core::dimension::Dynamic[][src]

pub struct Dynamic { /* fields omitted */ }

Dim of dynamically-sized algebraic entities.

Methods

impl Dynamic
[src]

A dynamic size equal to value.

Trait Implementations

impl Clone for Dynamic
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Copy for Dynamic
[src]

impl Eq for Dynamic
[src]

impl PartialEq for Dynamic
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Debug for Dynamic
[src]

Formats the value using the given formatter. Read more

impl IsDynamic for Dynamic
[src]

impl IsNotStaticOne for Dynamic
[src]

impl Dim for Dynamic
[src]

Gets the compile-time value of Self. Returns None if it is not known, i.e., if Self = Dynamic. Read more

Builds an instance of Self from a run-time value. Panics if Self is a type-level integer and dim != Self::try_to_usize().unwrap(). Read more

Gets the run-time value of self. For type-level integers, this is the same as Self::try_to_usize().unwrap(). Read more

impl Add<usize> for Dynamic
[src]

The resulting type after applying the + operator.

Performs the + operation.

impl Sub<usize> for Dynamic
[src]

The resulting type after applying the - operator.

Performs the - operation.

impl<D: Dim> DimAdd<D> for Dynamic
[src]

impl<D: DimName> DimAdd<Dynamic> for D
[src]

impl<D: Dim> DimMul<D> for Dynamic
[src]

impl<D: DimName> DimMul<Dynamic> for D
[src]

impl<D: Dim> DimSub<D> for Dynamic
[src]

impl<D: DimName> DimSub<Dynamic> for D
[src]

impl<D: Dim> DimDiv<D> for Dynamic
[src]

impl<D: DimName> DimDiv<Dynamic> for D
[src]

impl<D: Dim> DimMin<D> for Dynamic
[src]

impl<D: DimName> DimMin<Dynamic> for D
[src]

impl<D: Dim> DimMax<D> for Dynamic
[src]

impl<D: DimName> DimMax<Dynamic> for D
[src]

impl<D: DimName> DimEq<D, Dynamic> for ShapeConstraint
[src]

This is either equal to D1 or D2, always choosing the one (if any) which is a type-level constant. Read more

impl<D: DimName> DimEq<Dynamic, D> for ShapeConstraint
[src]

This is either equal to D1 or D2, always choosing the one (if any) which is a type-level constant. Read more

impl<D: DimName> SameNumberOfRows<D, Dynamic> for ShapeConstraint
[src]

This is either equal to D1 or D2, always choosing the one (if any) which is a type-level constant. Read more

impl<D: DimName> SameNumberOfRows<Dynamic, D> for ShapeConstraint
[src]

This is either equal to D1 or D2, always choosing the one (if any) which is a type-level constant. Read more

impl<D: DimName> SameNumberOfColumns<D, Dynamic> for ShapeConstraint
[src]

This is either equal to D1 or D2, always choosing the one (if any) which is a type-level constant. Read more

impl<D: DimName> SameNumberOfColumns<Dynamic, D> for ShapeConstraint
[src]

This is either equal to D1 or D2, always choosing the one (if any) which is a type-level constant. Read more

impl<D: DimName> SameDimension<D, Dynamic> for ShapeConstraint
[src]

This is either equal to D1 or D2, always choosing the one (if any) which is a type-level constant. Read more

impl<D: DimName> SameDimension<Dynamic, D> for ShapeConstraint
[src]

This is either equal to D1 or D2, always choosing the one (if any) which is a type-level constant. Read more

impl<N: Scalar, C: Dim> Allocator<N, Dynamic, C> for DefaultAllocator
[src]

The type of buffer this allocator can instanciate.

Allocates a buffer with the given number of rows and columns without initializing its content.

Allocates a buffer initialized with the content of the given iterator.

impl<N: Scalar, R: DimName> Allocator<N, R, Dynamic> for DefaultAllocator
[src]

The type of buffer this allocator can instanciate.

Allocates a buffer with the given number of rows and columns without initializing its content.

Allocates a buffer initialized with the content of the given iterator.

impl<N: Scalar, RFrom, CFrom, CTo> Reallocator<N, RFrom, CFrom, Dynamic, CTo> for DefaultAllocator where
    RFrom: DimName,
    CFrom: DimName,
    CTo: Dim,
    RFrom::Value: Mul<CFrom::Value>,
    Prod<RFrom::Value, CFrom::Value>: ArrayLength<N>, 
[src]

Reallocates a buffer of shape (RTo, CTo), possibly reusing a previously allocated buffer buf. Data stored by buf are linearly copied to the output: Read more

impl<N: Scalar, RFrom, CFrom, RTo> Reallocator<N, RFrom, CFrom, RTo, Dynamic> for DefaultAllocator where
    RFrom: DimName,
    CFrom: DimName,
    RTo: DimName,
    RFrom::Value: Mul<CFrom::Value>,
    Prod<RFrom::Value, CFrom::Value>: ArrayLength<N>, 
[src]

Reallocates a buffer of shape (RTo, CTo), possibly reusing a previously allocated buffer buf. Data stored by buf are linearly copied to the output: Read more

impl<N: Scalar, CFrom: Dim, CTo: Dim> Reallocator<N, Dynamic, CFrom, Dynamic, CTo> for DefaultAllocator
[src]

Reallocates a buffer of shape (RTo, CTo), possibly reusing a previously allocated buffer buf. Data stored by buf are linearly copied to the output: Read more

impl<N: Scalar, CFrom: Dim, RTo: DimName> Reallocator<N, Dynamic, CFrom, RTo, Dynamic> for DefaultAllocator
[src]

Reallocates a buffer of shape (RTo, CTo), possibly reusing a previously allocated buffer buf. Data stored by buf are linearly copied to the output: Read more

impl<N: Scalar, RFrom: DimName, CTo: Dim> Reallocator<N, RFrom, Dynamic, Dynamic, CTo> for DefaultAllocator
[src]

Reallocates a buffer of shape (RTo, CTo), possibly reusing a previously allocated buffer buf. Data stored by buf are linearly copied to the output: Read more

impl<N: Scalar, RFrom: DimName, RTo: DimName> Reallocator<N, RFrom, Dynamic, RTo, Dynamic> for DefaultAllocator
[src]

Reallocates a buffer of shape (RTo, CTo), possibly reusing a previously allocated buffer buf. Data stored by buf are linearly copied to the output: Read more

impl<N: Scalar, C: Dim> Storage<N, Dynamic, C> for MatrixVec<N, Dynamic, C> where
    DefaultAllocator: Allocator<N, Dynamic, C, Buffer = Self>, 
[src]

The static stride of this storage's rows.

The static stride of this storage's columns.

The matrix data pointer.

The dimension of the matrix at run-time. Arr length of zero indicates the additive identity element of any dimension. Must be equal to Self::dimension() if it is not None. Read more

The spacing between concecutive row elements and consecutive column elements. Read more

Indicates whether this data buffer stores its elements contiguously.

Builds a matrix data storage that does not contain any reference.

Clones this data storage to one that does not contain any reference.

Important traits for &'a [u8]

Retrieves the data buffer as a contiguous slice. Read more

Compute the index corresponding to the irow-th row and icol-th column of this matrix. The index must be such that the following holds: Read more

Gets the address of the i-th matrix component without performing bound-checking.

Gets the address of the i-th matrix component without performing bound-checking.

Important traits for &'a mut R

Retrieves a reference to the i-th element without bound-checking.

Important traits for &'a mut R

Retrieves a reference to the i-th element without bound-checking.

impl<N: Scalar, R: DimName> Storage<N, R, Dynamic> for MatrixVec<N, R, Dynamic> where
    DefaultAllocator: Allocator<N, R, Dynamic, Buffer = Self>, 
[src]

The static stride of this storage's rows.

The static stride of this storage's columns.

The matrix data pointer.

The dimension of the matrix at run-time. Arr length of zero indicates the additive identity element of any dimension. Must be equal to Self::dimension() if it is not None. Read more

The spacing between concecutive row elements and consecutive column elements. Read more

Indicates whether this data buffer stores its elements contiguously.

Builds a matrix data storage that does not contain any reference.

Clones this data storage to one that does not contain any reference.

Important traits for &'a [u8]

Retrieves the data buffer as a contiguous slice. Read more

Compute the index corresponding to the irow-th row and icol-th column of this matrix. The index must be such that the following holds: Read more

Gets the address of the i-th matrix component without performing bound-checking.

Gets the address of the i-th matrix component without performing bound-checking.

Important traits for &'a mut R

Retrieves a reference to the i-th element without bound-checking.

Important traits for &'a mut R

Retrieves a reference to the i-th element without bound-checking.

impl<N: Scalar, C: Dim> StorageMut<N, Dynamic, C> for MatrixVec<N, Dynamic, C> where
    DefaultAllocator: Allocator<N, Dynamic, C, Buffer = Self>, 
[src]

The matrix mutable data pointer.

Important traits for &'a [u8]

Retrieves the mutable data buffer as a contiguous slice. Read more

Gets the mutable address of the i-th matrix component without performing bound-checking.

Gets the mutable address of the i-th matrix component without performing bound-checking.

Important traits for &'a mut R

Retrieves a mutable reference to the i-th element without bound-checking.

Important traits for &'a mut R

Retrieves a mutable reference to the element at (irow, icol) without bound-checking.

Swaps two elements using their linear index without bound-checking.

Swaps two elements without bound-checking.

impl<N: Scalar, C: Dim> ContiguousStorage<N, Dynamic, C> for MatrixVec<N, Dynamic, C> where
    DefaultAllocator: Allocator<N, Dynamic, C, Buffer = Self>, 
[src]

impl<N: Scalar, C: Dim> ContiguousStorageMut<N, Dynamic, C> for MatrixVec<N, Dynamic, C> where
    DefaultAllocator: Allocator<N, Dynamic, C, Buffer = Self>, 
[src]

impl<N: Scalar, R: DimName> StorageMut<N, R, Dynamic> for MatrixVec<N, R, Dynamic> where
    DefaultAllocator: Allocator<N, R, Dynamic, Buffer = Self>, 
[src]

The matrix mutable data pointer.

Important traits for &'a [u8]

Retrieves the mutable data buffer as a contiguous slice. Read more

Gets the mutable address of the i-th matrix component without performing bound-checking.

Gets the mutable address of the i-th matrix component without performing bound-checking.

Important traits for &'a mut R

Retrieves a mutable reference to the i-th element without bound-checking.

Important traits for &'a mut R

Retrieves a mutable reference to the element at (irow, icol) without bound-checking.

Swaps two elements using their linear index without bound-checking.

Swaps two elements without bound-checking.

impl<N: Scalar, R: DimName> ContiguousStorage<N, R, Dynamic> for MatrixVec<N, R, Dynamic> where
    DefaultAllocator: Allocator<N, R, Dynamic, Buffer = Self>, 
[src]

impl<N: Scalar, R: DimName> ContiguousStorageMut<N, R, Dynamic> for MatrixVec<N, R, Dynamic> where
    DefaultAllocator: Allocator<N, R, Dynamic, Buffer = Self>, 
[src]

Auto Trait Implementations

impl Send for Dynamic

impl Sync for Dynamic