pub struct TensorRank3<const D: usize, I, J, K, U = Dimensionless>(/* private fields */);Expand description
A d-dimensional tensor of rank 3.
D is the dimension, I, J, K are the configurations.
Trait Implementations§
Source§impl<const D: usize, I, J, K, U> Add<&TensorRank3<D, I, J, K, U>> for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Add<&TensorRank3<D, I, J, K, U>> for TensorRank3<D, I, J, K, U>
Source§impl<const D: usize, I, J, K, U> Add<TensorRank3<D, I, J, K, U>> for &TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Add<TensorRank3<D, I, J, K, U>> for &TensorRank3<D, I, J, K, U>
Source§type Output = TensorRank3<D, I, J, K, U>
type Output = TensorRank3<D, I, J, K, U>
The resulting type after applying the
+ operator.Source§impl<const D: usize, I, J, K, U> Add for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Add for TensorRank3<D, I, J, K, U>
Source§impl<const D: usize, I, J, K, U> AddAssign<&TensorRank3<D, I, J, K, U>> for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> AddAssign<&TensorRank3<D, I, J, K, U>> for TensorRank3<D, I, J, K, U>
Source§fn add_assign(&mut self, tensor_rank_3: &Self)
fn add_assign(&mut self, tensor_rank_3: &Self)
Performs the
+= operation. Read moreSource§impl<const D: usize, I, J, K, U> AddAssign for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> AddAssign for TensorRank3<D, I, J, K, U>
Source§fn add_assign(&mut self, tensor_rank_3: Self)
fn add_assign(&mut self, tensor_rank_3: Self)
Performs the
+= operation. Read moreSource§impl<const D: usize, I, J, K> AssertEq for TensorRank3<D, I, J, K>
impl<const D: usize, I, J, K> AssertEq for TensorRank3<D, I, J, K>
fn eq(a: Self, b: TensorRank3<D, I, J, K>) -> Result<(), AssertionError>
fn eq_within_tols( tols: &Assert, a: Self, b: TensorRank3<D, I, J, K>, ) -> Result<(), AssertionError>
Source§impl<const D: usize, I, J, K> AssertFd for TensorRank3<D, I, J, K>
impl<const D: usize, I, J, K> AssertFd for TensorRank3<D, I, J, K>
fn eq_within_fd_tol( tols: &Assert, a: Self, b: TensorRank3<D, I, J, K>, ) -> Result<(), AssertionError>
Source§impl<const D: usize, I, J, K, U> Clone for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Clone for TensorRank3<D, I, J, K, U>
Source§impl<const D: usize, I, J, K, U> Debug for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Debug for TensorRank3<D, I, J, K, U>
Source§impl<const D: usize, I, J, K, U> Default for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Default for TensorRank3<D, I, J, K, U>
Source§impl<const D: usize, I, J, K, U> Display for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Display for TensorRank3<D, I, J, K, U>
Source§impl<const D: usize, I, J, K, U> Div<&f64> for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Div<&f64> for TensorRank3<D, I, J, K, U>
Source§type Output = TensorRank3<D, I, J, K, U>
type Output = TensorRank3<D, I, J, K, U>
The resulting type after applying the
/ operator.Source§impl<const D: usize, I, J, K, U> Div<f64> for &TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Div<f64> for &TensorRank3<D, I, J, K, U>
Source§type Output = TensorRank3<D, I, J, K, U>
type Output = TensorRank3<D, I, J, K, U>
The resulting type after applying the
/ operator.Source§impl<const D: usize, I, J, K, U> Div<f64> for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Div<f64> for TensorRank3<D, I, J, K, U>
Source§type Output = TensorRank3<D, I, J, K, U>
type Output = TensorRank3<D, I, J, K, U>
The resulting type after applying the
/ operator.Source§impl<const D: usize, I, J, K, U> DivAssign<&f64> for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> DivAssign<&f64> for TensorRank3<D, I, J, K, U>
Source§fn div_assign(&mut self, tensor_rank_0: &TensorRank0)
fn div_assign(&mut self, tensor_rank_0: &TensorRank0)
Performs the
/= operation. Read moreSource§impl<const D: usize, I, J, K, U> DivAssign<f64> for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> DivAssign<f64> for TensorRank3<D, I, J, K, U>
Source§fn div_assign(&mut self, tensor_rank_0: TensorRank0)
fn div_assign(&mut self, tensor_rank_0: TensorRank0)
Performs the
/= operation. Read moreSource§impl<const D: usize, I, J, K, U> FiniteDifference for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> FiniteDifference for TensorRank3<D, I, J, K, U>
Source§impl<const D: usize, I, J, K, U> FromIterator<TensorRank2<D, J, K, U>> for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> FromIterator<TensorRank2<D, J, K, U>> for TensorRank3<D, I, J, K, U>
Source§fn from_iter<Ii: IntoIterator<Item = TensorRank2<D, J, K, U>>>(
into_iterator: Ii,
) -> Self
fn from_iter<Ii: IntoIterator<Item = TensorRank2<D, J, K, U>>>( into_iterator: Ii, ) -> Self
Creates a value from an iterator. Read more
Source§impl<const D: usize, I, J, K, L, U> FromIterator<TensorRank3<D, J, K, L, U>> for TensorRank4<D, I, J, K, L, U>
impl<const D: usize, I, J, K, L, U> FromIterator<TensorRank3<D, J, K, L, U>> for TensorRank4<D, I, J, K, L, U>
Source§fn from_iter<Ii: IntoIterator<Item = TensorRank3<D, J, K, L, U>>>(
into_iterator: Ii,
) -> Self
fn from_iter<Ii: IntoIterator<Item = TensorRank3<D, J, K, L, U>>>( into_iterator: Ii, ) -> Self
Creates a value from an iterator. Read more
Source§impl<const D: usize, I, J, K, U> IntoIterator for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> IntoIterator for TensorRank3<D, I, J, K, U>
Source§type Item = TensorRank2<D, J, K, U>
type Item = TensorRank2<D, J, K, U>
The type of the elements being iterated over.
Source§type IntoIter = IntoIter<<TensorRank3<D, I, J, K, U> as IntoIterator>::Item, D>
type IntoIter = IntoIter<<TensorRank3<D, I, J, K, U> as IntoIterator>::Item, D>
Which kind of iterator are we turning this into?
Source§impl<const D: usize, I, J, K, U> Mul<&f64> for &TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Mul<&f64> for &TensorRank3<D, I, J, K, U>
Source§type Output = TensorRank3<D, I, J, K, U>
type Output = TensorRank3<D, I, J, K, U>
The resulting type after applying the
* operator.Source§impl<const D: usize, I, J, K, U> Mul<&f64> for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Mul<&f64> for TensorRank3<D, I, J, K, U>
Source§type Output = TensorRank3<D, I, J, K, U>
type Output = TensorRank3<D, I, J, K, U>
The resulting type after applying the
* operator.Source§impl<const D: usize, I, J, K, U> Mul<f64> for &TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Mul<f64> for &TensorRank3<D, I, J, K, U>
Source§type Output = TensorRank3<D, I, J, K, U>
type Output = TensorRank3<D, I, J, K, U>
The resulting type after applying the
* operator.Source§impl<const D: usize, I, J, K, U> Mul<f64> for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Mul<f64> for TensorRank3<D, I, J, K, U>
Source§type Output = TensorRank3<D, I, J, K, U>
type Output = TensorRank3<D, I, J, K, U>
The resulting type after applying the
* operator.Source§impl<const D: usize, I, J, K, U> MulAssign<&f64> for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> MulAssign<&f64> for TensorRank3<D, I, J, K, U>
Source§fn mul_assign(&mut self, tensor_rank_0: &TensorRank0)
fn mul_assign(&mut self, tensor_rank_0: &TensorRank0)
Performs the
*= operation. Read moreSource§impl<const D: usize, I, J, K, U> MulAssign<f64> for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> MulAssign<f64> for TensorRank3<D, I, J, K, U>
Source§fn mul_assign(&mut self, tensor_rank_0: TensorRank0)
fn mul_assign(&mut self, tensor_rank_0: TensorRank0)
Performs the
*= operation. Read moreSource§impl<const D: usize, I, J, K, U> PartialEq for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> PartialEq for TensorRank3<D, I, J, K, U>
Source§impl<const D: usize, I, J, K, U> Sub<&TensorRank3<D, I, J, K, U>> for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Sub<&TensorRank3<D, I, J, K, U>> for TensorRank3<D, I, J, K, U>
Source§impl<const D: usize, I, J, K, U> Sub for &TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Sub for &TensorRank3<D, I, J, K, U>
Source§impl<const D: usize, I, J, K, U> Sub for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Sub for TensorRank3<D, I, J, K, U>
Source§impl<const D: usize, I, J, K, U> SubAssign<&TensorRank3<D, I, J, K, U>> for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> SubAssign<&TensorRank3<D, I, J, K, U>> for TensorRank3<D, I, J, K, U>
Source§fn sub_assign(&mut self, tensor_rank_3: &Self)
fn sub_assign(&mut self, tensor_rank_3: &Self)
Performs the
-= operation. Read moreSource§impl<const D: usize, I, J, K, U> SubAssign for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> SubAssign for TensorRank3<D, I, J, K, U>
Source§fn sub_assign(&mut self, tensor_rank_3: Self)
fn sub_assign(&mut self, tensor_rank_3: Self)
Performs the
-= operation. Read moreSource§impl<'a, const D: usize, I, J, K, U> Sum<&'a TensorRank3<D, I, J, K, U>> for TensorRank3<D, I, J, K, U>
impl<'a, const D: usize, I, J, K, U> Sum<&'a TensorRank3<D, I, J, K, U>> for TensorRank3<D, I, J, K, U>
Source§impl<const D: usize, I, J, K, U> Sum for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Sum for TensorRank3<D, I, J, K, U>
Source§impl<const D: usize, I, J, K, U> Tensor for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Tensor for TensorRank3<D, I, J, K, U>
Source§type Item = TensorRank2<D, J, K, U>
type Item = TensorRank2<D, J, K, U>
The type of item encountered when iterating over the tensor.
Source§fn iter_mut(&mut self) -> impl Iterator<Item = &mut Self::Item>
fn iter_mut(&mut self) -> impl Iterator<Item = &mut Self::Item>
Returns an iterator that allows modifying each value. Read more
Source§fn error_count_zero(&self, tol_abs: Scalar, tol_rel: Scalar) -> Option<usize>
fn error_count_zero(&self, tol_abs: Scalar, tol_rel: Scalar) -> Option<usize>
Returns number of nonzero entries given absolute and relative tolerances.
Source§fn error_count(
&self,
other: &Self,
tol_abs: Scalar,
tol_rel: Scalar,
) -> Option<usize>
fn error_count( &self, other: &Self, tol_abs: Scalar, tol_rel: Scalar, ) -> Option<usize>
Returns number of different entries given absolute and relative tolerances.
Source§fn full_contraction(&self, tensor: &Self) -> TensorRank0
fn full_contraction(&self, tensor: &Self) -> TensorRank0
Returns the full contraction with another tensor.
Source§fn norm_p_sum(&self, p: TensorRank0) -> TensorRank0
fn norm_p_sum(&self, p: TensorRank0) -> TensorRank0
Returns the sum of p-th powers of absolute values (used internally by
norm_p).Source§impl<const D: usize, I, J, K, U> TensorArray for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> TensorArray for TensorRank3<D, I, J, K, U>
Source§type Item = TensorRank2<D, J, K, U>
type Item = TensorRank2<D, J, K, U>
The type of item encountered when iterating over the tensor.
Auto Trait Implementations§
impl<const D: usize, I, J, K, U> Freeze for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> RefUnwindSafe for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Send for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Sync for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> Unpin for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> UnsafeUnpin for TensorRank3<D, I, J, K, U>
impl<const D: usize, I, J, K, U> UnwindSafe for TensorRank3<D, I, J, K, U>
Blanket Implementations§
Source§impl<'a, T> AssertEq<&'a T> for T
impl<'a, T> AssertEq<&'a T> for T
fn eq(a: T, b: &'a T) -> Result<(), AssertionError>
fn eq_within_tols(tols: &Assert, a: T, b: &'a T) -> Result<(), AssertionError>
Source§impl<'a, T> AssertFd<&'a T> for T
impl<'a, T> AssertFd<&'a T> for T
fn eq_within_fd_tol(tols: &Assert, a: T, b: &'a T) -> Result<(), AssertionError>
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