pub struct AlignedBuffer<T> { /* private fields */ }Expand description
Aligned growable f64 buffer for design-matrix materialization.
Implementations§
Source§impl<T: Copy + Default> AlignedBuffer<T>
impl<T: Copy + Default> AlignedBuffer<T>
Source§impl AlignedBuffer<f64>
impl AlignedBuffer<f64>
Sourcepub fn prepare_mut(&mut self, len: usize) -> &mut [f64]
pub fn prepare_mut(&mut self, len: usize) -> &mut [f64]
Ensure capacity then return mutable slice of length len.
Trait Implementations§
Source§impl<T: Clone> Clone for AlignedBuffer<T>
impl<T: Clone> Clone for AlignedBuffer<T>
Source§fn clone(&self) -> AlignedBuffer<T>
fn clone(&self) -> AlignedBuffer<T>
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<T: Debug> Debug for AlignedBuffer<T>
impl<T: Debug> Debug for AlignedBuffer<T>
Source§impl<T: Default> Default for AlignedBuffer<T>
impl<T: Default> Default for AlignedBuffer<T>
Source§fn default() -> AlignedBuffer<T>
fn default() -> AlignedBuffer<T>
Returns the “default value” for a type. Read more
Auto Trait Implementations§
impl<T> Freeze for AlignedBuffer<T>
impl<T> RefUnwindSafe for AlignedBuffer<T>where
T: RefUnwindSafe,
impl<T> Send for AlignedBuffer<T>where
T: Send,
impl<T> Sync for AlignedBuffer<T>where
T: Sync,
impl<T> Unpin for AlignedBuffer<T>where
T: Unpin,
impl<T> UnsafeUnpin for AlignedBuffer<T>
impl<T> UnwindSafe for AlignedBuffer<T>where
T: UnwindSafe,
Blanket Implementations§
impl<T> Allocation for T
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more