pub struct Linear {}Expand description
Linear algebra implementation
Implementations§
Source§impl Linear
impl Linear
pub fn new() -> Self
Sourcepub fn wrap_real<T: Copy>(
&self,
pointer: ConstRealPointer<T>,
) -> Expression<ReadableReal<T>>
pub fn wrap_real<T: Copy>( &self, pointer: ConstRealPointer<T>, ) -> Expression<ReadableReal<T>>
Wrap a real pointer as an expression
Sourcepub fn wrap_complex<T: Copy>(
&self,
pointer: ConstComplexPointer<T>,
) -> Expression<ReadableComplex<T>>
pub fn wrap_complex<T: Copy>( &self, pointer: ConstComplexPointer<T>, ) -> Expression<ReadableComplex<T>>
Wrap a complex pointer as an expression
Sourcepub fn wrap_split<T: Copy>(
&self,
pointer: ConstSplitPointer<T>,
) -> Expression<ReadableSplit<T>>
pub fn wrap_split<T: Copy>( &self, pointer: ConstSplitPointer<T>, ) -> Expression<ReadableSplit<T>>
Wrap a split pointer as an expression
Sourcepub fn wrap_real_mut<T: Copy>(
&self,
pointer: RealPointer<T>,
size: usize,
) -> WritableExpression<ReadableReal<T>>
pub fn wrap_real_mut<T: Copy>( &self, pointer: RealPointer<T>, size: usize, ) -> WritableExpression<ReadableReal<T>>
Wrap a mutable real pointer as a writable expression
Sourcepub fn wrap_complex_mut<T: Copy>(
&self,
pointer: ComplexPointer<T>,
size: usize,
) -> WritableExpression<ReadableComplex<T>>
pub fn wrap_complex_mut<T: Copy>( &self, pointer: ComplexPointer<T>, size: usize, ) -> WritableExpression<ReadableComplex<T>>
Wrap a mutable complex pointer as a writable expression
Sourcepub fn wrap_split_mut<T: Copy>(
&self,
pointer: SplitPointer<T>,
size: usize,
) -> WritableExpression<ReadableSplit<T>>
pub fn wrap_split_mut<T: Copy>( &self, pointer: SplitPointer<T>, size: usize, ) -> WritableExpression<ReadableSplit<T>>
Wrap a mutable split pointer as a writable expression
Sourcepub fn fill_real<T, E>(
&self,
pointer: RealPointer<T>,
expr: &Expression<E>,
size: usize,
)where
E: ExpressionBase<Output = T>,
T: Copy,
pub fn fill_real<T, E>(
&self,
pointer: RealPointer<T>,
expr: &Expression<E>,
size: usize,
)where
E: ExpressionBase<Output = T>,
T: Copy,
Fill a real array with values from an expression
Sourcepub fn fill_complex<T, E>(
&self,
pointer: ComplexPointer<T>,
expr: &Expression<E>,
size: usize,
)
pub fn fill_complex<T, E>( &self, pointer: ComplexPointer<T>, expr: &Expression<E>, size: usize, )
Fill a complex array with values from an expression
Sourcepub fn fill_split<T, E>(
&self,
pointer: SplitPointer<T>,
expr: &Expression<E>,
size: usize,
)
pub fn fill_split<T, E>( &self, pointer: SplitPointer<T>, expr: &Expression<E>, size: usize, )
Fill a split array with values from an expression
Auto Trait Implementations§
impl Freeze for Linear
impl RefUnwindSafe for Linear
impl Send for Linear
impl Sync for Linear
impl Unpin for Linear
impl UnwindSafe for Linear
Blanket Implementations§
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