Struct nalgebra::base::dimension::Dynamic [−][src]
pub struct Dynamic { /* fields omitted */ }
Dim of dynamically-sized algebraic entities.
Implementations
Trait Implementations
impl<T: Scalar, C: Dim> Allocator<T, Dynamic, C> for DefaultAllocator
[src]
impl<T: Scalar, C: Dim> Allocator<T, Dynamic, C> for DefaultAllocator
[src]type Buffer = VecStorage<T, Dynamic, C>
The type of buffer this allocator can instanciate.
unsafe fn allocate_uninitialized(
nrows: Dynamic,
ncols: C
) -> MaybeUninit<Self::Buffer>
[src]
nrows: Dynamic,
ncols: C
) -> MaybeUninit<Self::Buffer>
fn allocate_from_iterator<I: IntoIterator<Item = T>>(
nrows: Dynamic,
ncols: C,
iter: I
) -> Self::Buffer
[src]
nrows: Dynamic,
ncols: C,
iter: I
) -> Self::Buffer
impl<T: Scalar, R: DimName> Allocator<T, R, Dynamic> for DefaultAllocator
[src]
impl<T: Scalar, R: DimName> Allocator<T, R, Dynamic> for DefaultAllocator
[src]type Buffer = VecStorage<T, R, Dynamic>
The type of buffer this allocator can instanciate.
unsafe fn allocate_uninitialized(
nrows: R,
ncols: Dynamic
) -> MaybeUninit<Self::Buffer>
[src]
nrows: R,
ncols: Dynamic
) -> MaybeUninit<Self::Buffer>
fn allocate_from_iterator<I: IntoIterator<Item = T>>(
nrows: R,
ncols: Dynamic,
iter: I
) -> Self::Buffer
[src]
nrows: R,
ncols: Dynamic,
iter: I
) -> Self::Buffer
impl<T: Scalar, C: Dim> ContiguousStorage<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
DefaultAllocator: Allocator<T, Dynamic, C, Buffer = Self>,
[src]
impl<T: Scalar, C: Dim> ContiguousStorage<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
DefaultAllocator: Allocator<T, Dynamic, C, Buffer = Self>,
[src]impl<T: Scalar, R: DimName> ContiguousStorage<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
DefaultAllocator: Allocator<T, R, Dynamic, Buffer = Self>,
[src]
impl<T: Scalar, R: DimName> ContiguousStorage<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
DefaultAllocator: Allocator<T, R, Dynamic, Buffer = Self>,
[src]impl<T: Scalar, C: Dim> ContiguousStorageMut<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
DefaultAllocator: Allocator<T, Dynamic, C, Buffer = Self>,
[src]
impl<T: Scalar, C: Dim> ContiguousStorageMut<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
DefaultAllocator: Allocator<T, Dynamic, C, Buffer = Self>,
[src]impl<T: Scalar, R: DimName> ContiguousStorageMut<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
DefaultAllocator: Allocator<T, R, Dynamic, Buffer = Self>,
[src]
impl<T: Scalar, R: DimName> ContiguousStorageMut<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
DefaultAllocator: Allocator<T, R, Dynamic, Buffer = Self>,
[src]impl<D: DimName> DimEq<D, Dynamic> for ShapeConstraint
[src]
impl<D: DimName> DimEq<D, Dynamic> for ShapeConstraint
[src]type Representative = D
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]
impl<D: DimName> DimEq<Dynamic, D> for ShapeConstraint
[src]type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level
constant. Read more
impl IsNotStaticOne for Dynamic
[src]
impl IsNotStaticOne for Dynamic
[src]impl<T: Scalar, CTo, const RFROM: usize, const CFROM: usize> Reallocator<T, Const<RFROM>, Const<CFROM>, Dynamic, CTo> for DefaultAllocator where
CTo: Dim,
[src]
impl<T: Scalar, CTo, const RFROM: usize, const CFROM: usize> Reallocator<T, Const<RFROM>, Const<CFROM>, Dynamic, CTo> for DefaultAllocator where
CTo: Dim,
[src]unsafe fn reallocate_copy(
rto: Dynamic,
cto: CTo,
buf: ArrayStorage<T, RFROM, CFROM>
) -> VecStorage<T, Dynamic, CTo>
[src]
rto: Dynamic,
cto: CTo,
buf: ArrayStorage<T, RFROM, CFROM>
) -> VecStorage<T, Dynamic, CTo>
impl<T: Scalar, RTo, const RFROM: usize, const CFROM: usize> Reallocator<T, Const<RFROM>, Const<CFROM>, RTo, Dynamic> for DefaultAllocator where
RTo: DimName,
[src]
impl<T: Scalar, RTo, const RFROM: usize, const CFROM: usize> Reallocator<T, Const<RFROM>, Const<CFROM>, RTo, Dynamic> for DefaultAllocator where
RTo: DimName,
[src]unsafe fn reallocate_copy(
rto: RTo,
cto: Dynamic,
buf: ArrayStorage<T, RFROM, CFROM>
) -> VecStorage<T, RTo, Dynamic>
[src]
rto: RTo,
cto: Dynamic,
buf: ArrayStorage<T, RFROM, CFROM>
) -> VecStorage<T, RTo, Dynamic>
impl<T: Scalar, CFrom: Dim, CTo: Dim> Reallocator<T, Dynamic, CFrom, Dynamic, CTo> for DefaultAllocator
[src]
impl<T: Scalar, CFrom: Dim, CTo: Dim> Reallocator<T, Dynamic, CFrom, Dynamic, CTo> for DefaultAllocator
[src]unsafe fn reallocate_copy(
rto: Dynamic,
cto: CTo,
buf: VecStorage<T, Dynamic, CFrom>
) -> VecStorage<T, Dynamic, CTo>
[src]
rto: Dynamic,
cto: CTo,
buf: VecStorage<T, Dynamic, CFrom>
) -> VecStorage<T, Dynamic, CTo>
impl<T: Scalar, CFrom: Dim, RTo: DimName> Reallocator<T, Dynamic, CFrom, RTo, Dynamic> for DefaultAllocator
[src]
impl<T: Scalar, CFrom: Dim, RTo: DimName> Reallocator<T, Dynamic, CFrom, RTo, Dynamic> for DefaultAllocator
[src]unsafe fn reallocate_copy(
rto: RTo,
cto: Dynamic,
buf: VecStorage<T, Dynamic, CFrom>
) -> VecStorage<T, RTo, Dynamic>
[src]
rto: RTo,
cto: Dynamic,
buf: VecStorage<T, Dynamic, CFrom>
) -> VecStorage<T, RTo, Dynamic>
impl<T: Scalar, RFrom: DimName, CTo: Dim> Reallocator<T, RFrom, Dynamic, Dynamic, CTo> for DefaultAllocator
[src]
impl<T: Scalar, RFrom: DimName, CTo: Dim> Reallocator<T, RFrom, Dynamic, Dynamic, CTo> for DefaultAllocator
[src]unsafe fn reallocate_copy(
rto: Dynamic,
cto: CTo,
buf: VecStorage<T, RFrom, Dynamic>
) -> VecStorage<T, Dynamic, CTo>
[src]
rto: Dynamic,
cto: CTo,
buf: VecStorage<T, RFrom, Dynamic>
) -> VecStorage<T, Dynamic, CTo>
impl<T: Scalar, RFrom: DimName, RTo: DimName> Reallocator<T, RFrom, Dynamic, RTo, Dynamic> for DefaultAllocator
[src]
impl<T: Scalar, RFrom: DimName, RTo: DimName> Reallocator<T, RFrom, Dynamic, RTo, Dynamic> for DefaultAllocator
[src]unsafe fn reallocate_copy(
rto: RTo,
cto: Dynamic,
buf: VecStorage<T, RFrom, Dynamic>
) -> VecStorage<T, RTo, Dynamic>
[src]
rto: RTo,
cto: Dynamic,
buf: VecStorage<T, RFrom, Dynamic>
) -> VecStorage<T, RTo, Dynamic>
impl<T, C1, C2> ReshapableStorage<T, Dynamic, C1, Dynamic, C2> for VecStorage<T, Dynamic, C1> where
T: Scalar,
C1: Dim,
C2: Dim,
[src]
impl<T, C1, C2> ReshapableStorage<T, Dynamic, C1, Dynamic, C2> for VecStorage<T, Dynamic, C1> where
T: Scalar,
C1: Dim,
C2: Dim,
[src]type Output = VecStorage<T, Dynamic, C2>
The reshaped storage type.
fn reshape_generic(self, nrows: Dynamic, ncols: C2) -> Self::Output
[src]
impl<T, C1, R2> ReshapableStorage<T, Dynamic, C1, R2, Dynamic> for VecStorage<T, Dynamic, C1> where
T: Scalar,
C1: Dim,
R2: DimName,
[src]
impl<T, C1, R2> ReshapableStorage<T, Dynamic, C1, R2, Dynamic> for VecStorage<T, Dynamic, C1> where
T: Scalar,
C1: Dim,
R2: DimName,
[src]type Output = VecStorage<T, R2, Dynamic>
The reshaped storage type.
fn reshape_generic(self, nrows: R2, ncols: Dynamic) -> Self::Output
[src]
impl<T, R1, C2> ReshapableStorage<T, R1, Dynamic, Dynamic, C2> for VecStorage<T, R1, Dynamic> where
T: Scalar,
R1: DimName,
C2: Dim,
[src]
impl<T, R1, C2> ReshapableStorage<T, R1, Dynamic, Dynamic, C2> for VecStorage<T, R1, Dynamic> where
T: Scalar,
R1: DimName,
C2: Dim,
[src]type Output = VecStorage<T, Dynamic, C2>
The reshaped storage type.
fn reshape_generic(self, nrows: Dynamic, ncols: C2) -> Self::Output
[src]
impl<T, R1, R2> ReshapableStorage<T, R1, Dynamic, R2, Dynamic> for VecStorage<T, R1, Dynamic> where
T: Scalar,
R1: DimName,
R2: DimName,
[src]
impl<T, R1, R2> ReshapableStorage<T, R1, Dynamic, R2, Dynamic> for VecStorage<T, R1, Dynamic> where
T: Scalar,
R1: DimName,
R2: DimName,
[src]type Output = VecStorage<T, R2, Dynamic>
The reshaped storage type.
fn reshape_generic(self, nrows: R2, ncols: Dynamic) -> Self::Output
[src]
impl<D: DimName> SameDimension<D, Dynamic> for ShapeConstraint
[src]
impl<D: DimName> SameDimension<D, Dynamic> for ShapeConstraint
[src]type Representative = D
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]
impl<D: DimName> SameDimension<Dynamic, D> for ShapeConstraint
[src]type Representative = D
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]
impl<D: DimName> SameNumberOfColumns<D, Dynamic> for ShapeConstraint
[src]type Representative = D
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]
impl<D: DimName> SameNumberOfColumns<Dynamic, D> for ShapeConstraint
[src]type Representative = D
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]
impl<D: DimName> SameNumberOfRows<D, Dynamic> for ShapeConstraint
[src]type Representative = D
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]
impl<D: DimName> SameNumberOfRows<Dynamic, D> for ShapeConstraint
[src]type Representative = D
This is either equal to D1
or D2
, always choosing the one (if any) which is a type-level
constant. Read more
impl<T: Scalar, C: Dim> Storage<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
DefaultAllocator: Allocator<T, Dynamic, C, Buffer = Self>,
[src]
impl<T: Scalar, C: Dim> Storage<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
DefaultAllocator: Allocator<T, Dynamic, C, Buffer = Self>,
[src]type RStride = U1
The static stride of this storage’s rows.
type CStride = Dynamic
The static stride of this storage’s columns.
fn ptr(&self) -> *const T
[src]
fn shape(&self) -> (Dynamic, C)
[src]
fn strides(&self) -> (Self::RStride, Self::CStride)
[src]
fn is_contiguous(&self) -> bool
[src]
fn into_owned(self) -> Owned<T, Dynamic, C> where
DefaultAllocator: Allocator<T, Dynamic, C>,
[src]
DefaultAllocator: Allocator<T, Dynamic, C>,
fn clone_owned(&self) -> Owned<T, Dynamic, C> where
DefaultAllocator: Allocator<T, Dynamic, C>,
[src]
DefaultAllocator: Allocator<T, Dynamic, C>,
fn as_slice(&self) -> &[T]
[src]
fn linear_index(&self, irow: usize, icol: usize) -> usize
[src]
unsafe fn get_address_unchecked_linear(&self, i: usize) -> *const T
[src]
unsafe fn get_address_unchecked(&self, irow: usize, icol: usize) -> *const T
[src]
unsafe fn get_unchecked_linear(&self, i: usize) -> &T
[src]
unsafe fn get_unchecked(&self, irow: usize, icol: usize) -> &T
[src]
impl<T: Scalar, R: DimName> Storage<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
DefaultAllocator: Allocator<T, R, Dynamic, Buffer = Self>,
[src]
impl<T: Scalar, R: DimName> Storage<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
DefaultAllocator: Allocator<T, R, Dynamic, Buffer = Self>,
[src]type RStride = U1
The static stride of this storage’s rows.
type CStride = R
The static stride of this storage’s columns.
fn ptr(&self) -> *const T
[src]
fn shape(&self) -> (R, Dynamic)
[src]
fn strides(&self) -> (Self::RStride, Self::CStride)
[src]
fn is_contiguous(&self) -> bool
[src]
fn into_owned(self) -> Owned<T, R, Dynamic> where
DefaultAllocator: Allocator<T, R, Dynamic>,
[src]
DefaultAllocator: Allocator<T, R, Dynamic>,
fn clone_owned(&self) -> Owned<T, R, Dynamic> where
DefaultAllocator: Allocator<T, R, Dynamic>,
[src]
DefaultAllocator: Allocator<T, R, Dynamic>,
fn as_slice(&self) -> &[T]
[src]
fn linear_index(&self, irow: usize, icol: usize) -> usize
[src]
unsafe fn get_address_unchecked_linear(&self, i: usize) -> *const T
[src]
unsafe fn get_address_unchecked(&self, irow: usize, icol: usize) -> *const T
[src]
unsafe fn get_unchecked_linear(&self, i: usize) -> &T
[src]
unsafe fn get_unchecked(&self, irow: usize, icol: usize) -> &T
[src]
impl<T: Scalar, C: Dim> StorageMut<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
DefaultAllocator: Allocator<T, Dynamic, C, Buffer = Self>,
[src]
impl<T: Scalar, C: Dim> StorageMut<T, Dynamic, C> for VecStorage<T, Dynamic, C> where
DefaultAllocator: Allocator<T, Dynamic, C, Buffer = Self>,
[src]fn ptr_mut(&mut self) -> *mut T
[src]
fn as_mut_slice(&mut self) -> &mut [T]
[src]
unsafe fn get_address_unchecked_linear_mut(&mut self, i: usize) -> *mut T
[src]
unsafe fn get_address_unchecked_mut(
&mut self,
irow: usize,
icol: usize
) -> *mut T
[src]
&mut self,
irow: usize,
icol: usize
) -> *mut T
unsafe fn get_unchecked_linear_mut(&mut self, i: usize) -> &mut T
[src]
unsafe fn get_unchecked_mut(&mut self, irow: usize, icol: usize) -> &mut T
[src]
unsafe fn swap_unchecked_linear(&mut self, i1: usize, i2: usize)
[src]
unsafe fn swap_unchecked(
&mut self,
row_col1: (usize, usize),
row_col2: (usize, usize)
)
[src]
&mut self,
row_col1: (usize, usize),
row_col2: (usize, usize)
)
impl<T: Scalar, R: DimName> StorageMut<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
DefaultAllocator: Allocator<T, R, Dynamic, Buffer = Self>,
[src]
impl<T: Scalar, R: DimName> StorageMut<T, R, Dynamic> for VecStorage<T, R, Dynamic> where
DefaultAllocator: Allocator<T, R, Dynamic, Buffer = Self>,
[src]fn ptr_mut(&mut self) -> *mut T
[src]
fn as_mut_slice(&mut self) -> &mut [T]
[src]
unsafe fn get_address_unchecked_linear_mut(&mut self, i: usize) -> *mut T
[src]
unsafe fn get_address_unchecked_mut(
&mut self,
irow: usize,
icol: usize
) -> *mut T
[src]
&mut self,
irow: usize,
icol: usize
) -> *mut T
unsafe fn get_unchecked_linear_mut(&mut self, i: usize) -> &mut T
[src]
unsafe fn get_unchecked_mut(&mut self, irow: usize, icol: usize) -> &mut T
[src]
unsafe fn swap_unchecked_linear(&mut self, i1: usize, i2: usize)
[src]
unsafe fn swap_unchecked(
&mut self,
row_col1: (usize, usize),
row_col2: (usize, usize)
)
[src]
&mut self,
row_col1: (usize, usize),
row_col2: (usize, usize)
)
impl StructuralEq for Dynamic
[src]
impl StructuralEq for Dynamic
[src]impl StructuralPartialEq for Dynamic
[src]
impl StructuralPartialEq for Dynamic
[src]Auto Trait Implementations
impl RefUnwindSafe for Dynamic
impl RefUnwindSafe for Dynamic
impl UnwindSafe for Dynamic
impl UnwindSafe for Dynamic
Blanket Implementations
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]
impl<SS, SP> SupersetOf<SS> for SP where
SS: SubsetOf<SP>,
[src]pub fn to_subset(&self) -> Option<SS>
[src]
pub fn is_in_subset(&self) -> bool
[src]
pub fn to_subset_unchecked(&self) -> SS
[src]
pub fn from_subset(element: &SS) -> SP
[src]
impl<V, T> VZip<V> for T where
V: MultiLane<T>,
impl<V, T> VZip<V> for T where
V: MultiLane<T>,