pub struct MatrixOperator<const P: usize, const Q: usize, const R: usize> { /* private fields */ }Expand description
A linear operator represented as a matrix.
The matrix is stored in row-major order.
Implementations§
Source§impl<const P: usize, const Q: usize, const R: usize> MatrixOperator<P, Q, R>
impl<const P: usize, const Q: usize, const R: usize> MatrixOperator<P, Q, R>
Trait Implementations§
Source§impl<const P: usize, const Q: usize, const R: usize> AdjointableOperator<Multivector<P, Q, R>> for MatrixOperator<P, Q, R>
impl<const P: usize, const Q: usize, const R: usize> AdjointableOperator<Multivector<P, Q, R>> for MatrixOperator<P, Q, R>
Source§type Adjoint = MatrixOperator<P, Q, R>
type Adjoint = MatrixOperator<P, Q, R>
The type of the adjoint operator.
Source§fn is_self_adjoint(&self) -> bool
fn is_self_adjoint(&self) -> bool
Check if this operator is self-adjoint (T = T*).
Source§impl<const P: usize, const Q: usize, const R: usize> BoundedOperator<Multivector<P, Q, R>> for MatrixOperator<P, Q, R>
impl<const P: usize, const Q: usize, const R: usize> BoundedOperator<Multivector<P, Q, R>> for MatrixOperator<P, Q, R>
Source§fn operator_norm(&self) -> f64
fn operator_norm(&self) -> f64
Compute or estimate the operator norm ||T||.
Source§fn is_bounded_by(&self, bound: f64) -> bool
fn is_bounded_by(&self, bound: f64) -> bool
Check if the operator is bounded by a given constant.
Source§impl<const P: usize, const Q: usize, const R: usize> Clone for MatrixOperator<P, Q, R>
impl<const P: usize, const Q: usize, const R: usize> Clone for MatrixOperator<P, Q, R>
Source§fn clone(&self) -> MatrixOperator<P, Q, R>
fn clone(&self) -> MatrixOperator<P, Q, R>
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl<const P: usize, const Q: usize, const R: usize> LinearOperator<Multivector<P, Q, R>> for MatrixOperator<P, Q, R>
impl<const P: usize, const Q: usize, const R: usize> LinearOperator<Multivector<P, Q, R>> for MatrixOperator<P, Q, R>
Source§fn apply(&self, x: &Multivector<P, Q, R>) -> Result<Multivector<P, Q, R>>
fn apply(&self, x: &Multivector<P, Q, R>) -> Result<Multivector<P, Q, R>>
Apply the operator to an element.
Source§fn domain_dimension(&self) -> Option<usize>
fn domain_dimension(&self) -> Option<usize>
Get the domain dimension (None if infinite).
Source§fn codomain_dimension(&self) -> Option<usize>
fn codomain_dimension(&self) -> Option<usize>
Get the codomain dimension (None if infinite).
Auto Trait Implementations§
impl<const P: usize, const Q: usize, const R: usize> Freeze for MatrixOperator<P, Q, R>
impl<const P: usize, const Q: usize, const R: usize> RefUnwindSafe for MatrixOperator<P, Q, R>
impl<const P: usize, const Q: usize, const R: usize> Send for MatrixOperator<P, Q, R>
impl<const P: usize, const Q: usize, const R: usize> Sync for MatrixOperator<P, Q, R>
impl<const P: usize, const Q: usize, const R: usize> Unpin for MatrixOperator<P, Q, R>
impl<const P: usize, const Q: usize, const R: usize> UnwindSafe for MatrixOperator<P, Q, R>
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