pub struct TensorList<T, const N: usize>(/* private fields */)
where
T: Tensor;Trait Implementations§
Source§impl<T, const N: usize> Add<&TensorList<T, N>> for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> Add<&TensorList<T, N>> for TensorList<T, N>where
T: Tensor,
Source§impl<T, const N: usize> AddAssign<&TensorList<T, N>> for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> AddAssign<&TensorList<T, N>> for TensorList<T, N>where
T: Tensor,
Source§fn add_assign(&mut self, tensor_list: &Self)
fn add_assign(&mut self, tensor_list: &Self)
Performs the
+= operation. Read moreSource§impl<T, const N: usize> AddAssign for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> AddAssign for TensorList<T, N>where
T: Tensor,
Source§fn add_assign(&mut self, tensor_list: Self)
fn add_assign(&mut self, tensor_list: Self)
Performs the
+= operation. Read moreSource§impl<T, const N: usize> Clone for TensorList<T, N>
impl<T, const N: usize> Clone for TensorList<T, N>
Source§fn clone(&self) -> TensorList<T, N>
fn clone(&self) -> TensorList<T, N>
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<T, const N: usize> Debug for TensorList<T, N>
impl<T, const N: usize> Debug for TensorList<T, N>
Source§impl<T, const N: usize> Div<&f64> for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> Div<&f64> for TensorList<T, N>where
T: Tensor,
Source§type Output = TensorList<T, N>
type Output = TensorList<T, N>
The resulting type after applying the
/ operator.Source§impl<T, const N: usize> Div<f64> for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> Div<f64> for TensorList<T, N>where
T: Tensor,
Source§type Output = TensorList<T, N>
type Output = TensorList<T, N>
The resulting type after applying the
/ operator.Source§impl<T, const N: usize> DivAssign<&f64> for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> DivAssign<&f64> for TensorList<T, N>where
T: Tensor,
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<T, const N: usize> DivAssign<f64> for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> DivAssign<f64> for TensorList<T, N>where
T: Tensor,
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<T, const N: usize> From<TensorList<T, N>> for [T; N]where
T: Tensor,
impl<T, const N: usize> From<TensorList<T, N>> for [T; N]where
T: Tensor,
Source§fn from(tensor_list: TensorList<T, N>) -> Self
fn from(tensor_list: TensorList<T, N>) -> Self
Converts to this type from the input type.
Source§impl From<TensorList<TensorRank1<3, 0>, N>> for Hexahedron
impl From<TensorList<TensorRank1<3, 0>, N>> for Hexahedron
Source§fn from(
reference_nodal_coordinates: ElementNodalReferenceCoordinates<N>,
) -> Self
fn from( reference_nodal_coordinates: ElementNodalReferenceCoordinates<N>, ) -> Self
Converts to this type from the input type.
Source§impl From<TensorList<TensorRank1<3, 0>, N>> for Wedge
impl From<TensorList<TensorRank1<3, 0>, N>> for Wedge
Source§fn from(
reference_nodal_coordinates: ElementNodalReferenceCoordinates<N>,
) -> Self
fn from( reference_nodal_coordinates: ElementNodalReferenceCoordinates<N>, ) -> Self
Converts to this type from the input type.
Source§impl From<TensorList<TensorRank1<3, 0>, N>> for Tetrahedron
impl From<TensorList<TensorRank1<3, 0>, N>> for Tetrahedron
Source§fn from(
reference_nodal_coordinates: ElementNodalReferenceCoordinates<N>,
) -> Self
fn from( reference_nodal_coordinates: ElementNodalReferenceCoordinates<N>, ) -> Self
Converts to this type from the input type.
Source§impl<const G: usize, const N: usize> From<TensorList<TensorRank1<3, 0>, N>> for LinearElement<G, N>where
Self: LinearFiniteElement<G, N>,
impl<const G: usize, const N: usize> From<TensorList<TensorRank1<3, 0>, N>> for LinearElement<G, N>where
Self: LinearFiniteElement<G, N>,
Source§fn from(
reference_nodal_coordinates: ElementNodalReferenceCoordinates<N>,
) -> Self
fn from( reference_nodal_coordinates: ElementNodalReferenceCoordinates<N>, ) -> Self
Converts to this type from the input type.
Source§impl<const G: usize, const N: usize> From<TensorList<TensorRank1<3, 0>, N>> for QuadraticElement<G, N>where
Self: QuadraticFiniteElement<G, N>,
impl<const G: usize, const N: usize> From<TensorList<TensorRank1<3, 0>, N>> for QuadraticElement<G, N>where
Self: QuadraticFiniteElement<G, N>,
Source§fn from(
reference_nodal_coordinates: ElementNodalReferenceCoordinates<N>,
) -> Self
fn from( reference_nodal_coordinates: ElementNodalReferenceCoordinates<N>, ) -> Self
Converts to this type from the input type.
Source§impl<const D: usize, const N: usize> From<TensorList<TensorRank1<D, 0>, N>> for TensorRank1List<D, 1, N>
impl<const D: usize, const N: usize> From<TensorList<TensorRank1<D, 0>, N>> for TensorRank1List<D, 1, N>
Source§fn from(tensor_rank_1_list: TensorRank1List<D, 0, N>) -> Self
fn from(tensor_rank_1_list: TensorRank1List<D, 0, N>) -> Self
Converts to this type from the input type.
Source§impl<const D: usize, const N: usize> From<TensorList<TensorRank1<D, 9>, N>> for TensorRank1List<D, 0, N>
impl<const D: usize, const N: usize> From<TensorList<TensorRank1<D, 9>, N>> for TensorRank1List<D, 0, N>
Source§fn from(tensor_rank_1_list: TensorRank1List<D, 9, N>) -> Self
fn from(tensor_rank_1_list: TensorRank1List<D, 9, N>) -> Self
Converts to this type from the input type.
Source§impl<const D: usize, const I: usize, const J: usize> From<TensorList<TensorRank1<D, J>, D>> for TensorRank2<D, I, J>
impl<const D: usize, const I: usize, const J: usize> From<TensorList<TensorRank1<D, J>, D>> for TensorRank2<D, I, J>
Source§fn from(tensor_rank_1_list: TensorRank1List<D, J, D>) -> Self
fn from(tensor_rank_1_list: TensorRank1List<D, J, D>) -> Self
Converts to this type from the input type.
Source§impl<T, const N: usize> FromIterator<T> for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> FromIterator<T> for TensorList<T, N>where
T: Tensor,
Source§fn from_iter<Ii: IntoIterator<Item = T>>(into_iterator: Ii) -> Self
fn from_iter<Ii: IntoIterator<Item = T>>(into_iterator: Ii) -> Self
Creates a value from an iterator. Read more
Source§impl<'a, T, const N: usize> IntoIterator for &'a TensorList<T, N>where
T: Tensor,
impl<'a, T, const N: usize> IntoIterator for &'a TensorList<T, N>where
T: Tensor,
Source§impl<T, const N: usize> IntoIterator for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> IntoIterator for TensorList<T, N>where
T: Tensor,
Source§impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<&TensorList<TensorRank1<D, J>, W>> for &TensorRank1List<D, I, W>
impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<&TensorList<TensorRank1<D, J>, W>> for &TensorRank1List<D, I, W>
Source§type Output = TensorRank2<D, I, J>
type Output = TensorRank2<D, I, J>
The resulting type after applying the
* operator.Source§impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<&TensorList<TensorRank1<D, J>, W>> for &TensorRank2<D, I, J>
impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<&TensorList<TensorRank1<D, J>, W>> for &TensorRank2<D, I, J>
Source§type Output = TensorList<TensorRank1<D, I>, W>
type Output = TensorList<TensorRank1<D, I>, W>
The resulting type after applying the
* operator.Source§impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<&TensorList<TensorRank1<D, J>, W>> for TensorRank1List<D, I, W>
impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<&TensorList<TensorRank1<D, J>, W>> for TensorRank1List<D, I, W>
Source§type Output = TensorRank2<D, I, J>
type Output = TensorRank2<D, I, J>
The resulting type after applying the
* operator.Source§impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<&TensorList<TensorRank1<D, J>, W>> for TensorRank2<D, I, J>
impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<&TensorList<TensorRank1<D, J>, W>> for TensorRank2<D, I, J>
Source§type Output = TensorList<TensorRank1<D, I>, W>
type Output = TensorList<TensorRank1<D, I>, W>
The resulting type after applying the
* operator.Source§impl<const N: usize> Mul<&TensorList<f64, N>> for TensorRank0List<N>
impl<const N: usize> Mul<&TensorList<f64, N>> for TensorRank0List<N>
Source§impl<T, const N: usize> Mul<&f64> for &TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> Mul<&f64> for &TensorList<T, N>where
T: Tensor,
Source§type Output = TensorList<T, N>
type Output = TensorList<T, N>
The resulting type after applying the
* operator.Source§impl<T, const N: usize> Mul<&f64> for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> Mul<&f64> for TensorList<T, N>where
T: Tensor,
Source§type Output = TensorList<T, N>
type Output = TensorList<T, N>
The resulting type after applying the
* operator.Source§impl<const D: usize, const I: usize, const J: usize, const K: usize, const W: usize, const X: usize> Mul<TensorList<TensorList<TensorRank2<D, J, K>, W>, X>> for &TensorRank2<D, I, J>
impl<const D: usize, const I: usize, const J: usize, const K: usize, const W: usize, const X: usize> Mul<TensorList<TensorList<TensorRank2<D, J, K>, W>, X>> for &TensorRank2<D, I, J>
Source§type Output = TensorList<TensorList<TensorRank2<D, I, K>, W>, X>
type Output = TensorList<TensorList<TensorRank2<D, I, K>, W>, X>
The resulting type after applying the
* operator.Source§impl<const D: usize, const I: usize, const J: usize, const K: usize, const W: usize, const X: usize> Mul<TensorList<TensorList<TensorRank2<D, J, K>, W>, X>> for TensorRank2<D, I, J>
impl<const D: usize, const I: usize, const J: usize, const K: usize, const W: usize, const X: usize> Mul<TensorList<TensorList<TensorRank2<D, J, K>, W>, X>> for TensorRank2<D, I, J>
Source§type Output = TensorList<TensorList<TensorRank2<D, I, K>, W>, X>
type Output = TensorList<TensorList<TensorRank2<D, I, K>, W>, X>
The resulting type after applying the
* operator.Source§impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<TensorList<TensorRank1<D, J>, W>> for &TensorRank1List<D, I, W>
impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<TensorList<TensorRank1<D, J>, W>> for &TensorRank1List<D, I, W>
Source§type Output = TensorRank2<D, I, J>
type Output = TensorRank2<D, I, J>
The resulting type after applying the
* operator.Source§impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<TensorList<TensorRank1<D, J>, W>> for &TensorRank2<D, I, J>
impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<TensorList<TensorRank1<D, J>, W>> for &TensorRank2<D, I, J>
Source§type Output = TensorList<TensorRank1<D, I>, W>
type Output = TensorList<TensorRank1<D, I>, W>
The resulting type after applying the
* operator.Source§impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<TensorList<TensorRank1<D, J>, W>> for TensorRank1List<D, I, W>
impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<TensorList<TensorRank1<D, J>, W>> for TensorRank1List<D, I, W>
Source§type Output = TensorRank2<D, I, J>
type Output = TensorRank2<D, I, J>
The resulting type after applying the
* operator.Source§impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<TensorList<TensorRank1<D, J>, W>> for TensorRank2<D, I, J>
impl<const D: usize, const I: usize, const J: usize, const W: usize> Mul<TensorList<TensorRank1<D, J>, W>> for TensorRank2<D, I, J>
Source§type Output = TensorList<TensorRank1<D, I>, W>
type Output = TensorList<TensorRank1<D, I>, W>
The resulting type after applying the
* operator.Source§impl<const N: usize> Mul<TensorList<f64, N>> for &TensorRank0List<N>
impl<const N: usize> Mul<TensorList<f64, N>> for &TensorRank0List<N>
Source§impl<T, const N: usize> Mul<f64> for &TensorList<T, N>
impl<T, const N: usize> Mul<f64> for &TensorList<T, N>
Source§type Output = TensorList<T, N>
type Output = TensorList<T, N>
The resulting type after applying the
* operator.Source§impl<T, const N: usize> Mul<f64> for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> Mul<f64> for TensorList<T, N>where
T: Tensor,
Source§type Output = TensorList<T, N>
type Output = TensorList<T, N>
The resulting type after applying the
* operator.Source§impl<T, const N: usize> MulAssign<&f64> for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> MulAssign<&f64> for TensorList<T, N>where
T: Tensor,
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<T, const N: usize> MulAssign<f64> for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> MulAssign<f64> for TensorList<T, N>where
T: Tensor,
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<T, const N: usize> Sub<&TensorList<T, N>> for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> Sub<&TensorList<T, N>> for TensorList<T, N>where
T: Tensor,
Source§impl<T, const N: usize> SubAssign<&TensorList<T, N>> for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> SubAssign<&TensorList<T, N>> for TensorList<T, N>where
T: Tensor,
Source§fn sub_assign(&mut self, tensor_list: &Self)
fn sub_assign(&mut self, tensor_list: &Self)
Performs the
-= operation. Read moreSource§impl<T, const N: usize> SubAssign for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> SubAssign for TensorList<T, N>where
T: Tensor,
Source§fn sub_assign(&mut self, tensor_list: Self)
fn sub_assign(&mut self, tensor_list: Self)
Performs the
-= operation. Read moreSource§impl<T, const N: usize> Tensor for TensorList<T, N>where
T: Tensor,
impl<T, const N: usize> Tensor for TensorList<T, N>where
T: 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(
&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(&self) -> TensorRank0
fn norm(&self) -> TensorRank0
Returns the tensor norm.
Source§fn norm_inf(&self) -> TensorRank0
fn norm_inf(&self) -> TensorRank0
Returns the infinity norm.
Source§fn norm_squared(&self) -> TensorRank0
fn norm_squared(&self) -> TensorRank0
Returns the tensor norm squared.
Source§fn normalized(self) -> Self
fn normalized(self) -> Self
Returns the tensor normalized.
Source§impl<T, const N: usize> TensorArray for TensorList<T, N>where
T: Tensor + TensorArray,
impl<T, const N: usize> TensorArray for TensorList<T, N>where
T: Tensor + TensorArray,
Auto Trait Implementations§
impl<T, const N: usize> Freeze for TensorList<T, N>where
T: Freeze,
impl<T, const N: usize> RefUnwindSafe for TensorList<T, N>where
T: RefUnwindSafe,
impl<T, const N: usize> Send for TensorList<T, N>where
T: Send,
impl<T, const N: usize> Sync for TensorList<T, N>where
T: Sync,
impl<T, const N: usize> Unpin for TensorList<T, N>where
T: Unpin,
impl<T, const N: usize> UnwindSafe for TensorList<T, N>where
T: 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