Struct sparkl2d_core::math::DecomposedTensor
source · Fields§
§deviatoric_part: Matrix<Real>
§spherical_part: Real
Implementations§
Trait Implementations§
source§impl Add<DecomposedTensor> for DecomposedTensor
impl Add<DecomposedTensor> for DecomposedTensor
§type Output = DecomposedTensor
type Output = DecomposedTensor
The resulting type after applying the
+
operator.source§fn add(self, rhs: DecomposedTensor) -> DecomposedTensor
fn add(self, rhs: DecomposedTensor) -> DecomposedTensor
Performs the
+
operation. Read moresource§impl AddAssign<DecomposedTensor> for DecomposedTensor
impl AddAssign<DecomposedTensor> for DecomposedTensor
source§fn add_assign(&mut self, rhs: DecomposedTensor)
fn add_assign(&mut self, rhs: DecomposedTensor)
Performs the
+=
operation. Read moresource§impl Clone for DecomposedTensor
impl Clone for DecomposedTensor
source§fn clone(&self) -> DecomposedTensor
fn clone(&self) -> DecomposedTensor
Returns a copy 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 Debug for DecomposedTensor
impl Debug for DecomposedTensor
source§impl Mul<Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>> for DecomposedTensor
impl Mul<Matrix<f32, Const<2>, Const<1>, ArrayStorage<f32, 2, 1>>> for DecomposedTensor
source§impl PartialEq<DecomposedTensor> for DecomposedTensor
impl PartialEq<DecomposedTensor> for DecomposedTensor
source§fn eq(&self, other: &DecomposedTensor) -> bool
fn eq(&self, other: &DecomposedTensor) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.impl Copy for DecomposedTensor
impl StructuralPartialEq for DecomposedTensor
Auto Trait Implementations§
impl RefUnwindSafe for DecomposedTensor
impl Send for DecomposedTensor
impl Sync for DecomposedTensor
impl Unpin for DecomposedTensor
impl UnwindSafe for DecomposedTensor
Blanket Implementations§
§impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
impl<SS, SP> SupersetOf<SS> for SPwhere
SS: SubsetOf<SP>,
§fn to_subset(&self) -> Option<SS>
fn to_subset(&self) -> Option<SS>
The inverse inclusion map: attempts to construct
self
from the equivalent element of its
superset. Read more§fn is_in_subset(&self) -> bool
fn is_in_subset(&self) -> bool
Checks if
self
is actually part of its subset T
(and can be converted to it).§fn to_subset_unchecked(&self) -> SS
fn to_subset_unchecked(&self) -> SS
Use with care! Same as
self.to_subset
but without any property checks. Always succeeds.§fn from_subset(element: &SS) -> SP
fn from_subset(element: &SS) -> SP
The inclusion map: converts
self
to the equivalent element of its superset.