pub struct ZeroOperator<V, W = V> { /* private fields */ }Expand description
The zero operator 0: x ↦ 0.
The zero operator maps everything to zero. It has operator norm 0.
Implementations§
Source§impl<V, W> ZeroOperator<V, W>
impl<V, W> ZeroOperator<V, W>
Trait Implementations§
Source§impl<const P: usize, const Q: usize, const R: usize> BoundedOperator<Multivector<P, Q, R>> for ZeroOperator<Multivector<P, Q, R>>
impl<const P: usize, const Q: usize, const R: usize> BoundedOperator<Multivector<P, Q, R>> for ZeroOperator<Multivector<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<V: Clone, W: Clone> Clone for ZeroOperator<V, W>
impl<V: Clone, W: Clone> Clone for ZeroOperator<V, W>
Source§fn clone(&self) -> ZeroOperator<V, W>
fn clone(&self) -> ZeroOperator<V, W>
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<V, W> Default for ZeroOperator<V, W>
impl<V, W> Default for ZeroOperator<V, W>
Source§impl<const P: usize, const Q: usize, const R: usize> LinearOperator<Multivector<P, Q, R>> for ZeroOperator<Multivector<P, Q, R>>
impl<const P: usize, const Q: usize, const R: usize> LinearOperator<Multivector<P, Q, R>> for ZeroOperator<Multivector<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).
impl<V: Copy, W: Copy> Copy for ZeroOperator<V, W>
Auto Trait Implementations§
impl<V, W> Freeze for ZeroOperator<V, W>
impl<V, W> RefUnwindSafe for ZeroOperator<V, W>where
V: RefUnwindSafe,
W: RefUnwindSafe,
impl<V, W> Send for ZeroOperator<V, W>
impl<V, W> Sync for ZeroOperator<V, W>
impl<V, W> Unpin for ZeroOperator<V, W>
impl<V, W> UnwindSafe for ZeroOperator<V, W>where
V: UnwindSafe,
W: UnwindSafe,
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