pub struct ScalingOperator<V> { /* private fields */ }Expand description
Scaling operator αI: x ↦ αx.
Scales all elements by a fixed scalar.
Implementations§
Trait Implementations§
Source§impl<const P: usize, const Q: usize, const R: usize> BoundedOperator<Multivector<P, Q, R>> for ScalingOperator<Multivector<P, Q, R>>
impl<const P: usize, const Q: usize, const R: usize> BoundedOperator<Multivector<P, Q, R>> for ScalingOperator<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> Clone for ScalingOperator<V>
impl<V: Clone> Clone for ScalingOperator<V>
Source§fn clone(&self) -> ScalingOperator<V>
fn clone(&self) -> ScalingOperator<V>
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: Debug> Debug for ScalingOperator<V>
impl<V: Debug> Debug for ScalingOperator<V>
Source§impl<const P: usize, const Q: usize, const R: usize> LinearOperator<Multivector<P, Q, R>> for ScalingOperator<Multivector<P, Q, R>>
impl<const P: usize, const Q: usize, const R: usize> LinearOperator<Multivector<P, Q, R>> for ScalingOperator<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> Copy for ScalingOperator<V>
Auto Trait Implementations§
impl<V> Freeze for ScalingOperator<V>
impl<V> RefUnwindSafe for ScalingOperator<V>where
V: RefUnwindSafe,
impl<V> Send for ScalingOperator<V>where
V: Send,
impl<V> Sync for ScalingOperator<V>where
V: Sync,
impl<V> Unpin for ScalingOperator<V>where
V: Unpin,
impl<V> UnwindSafe for ScalingOperator<V>where
V: 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