pub trait Pow<Rhs = Self> {
type Output;
// Required method
fn pow(self, rhs: Rhs) -> Self::Output;
}
Expand description
Required Associated Types§
Required Methods§
Implementations on Foreign Types§
source§impl<'a, T, S> Pow<&RecordContainer<'a, T, MatrixView<(T, usize), S>, 2>> for &Twhere
T: Numeric + Real + Primitive,
for<'t> &'t T: NumericRef<T> + RealRef<T>,
S: MatrixRef<(T, Index)> + NoInteriorMutability,
impl<'a, T, S> Pow<&RecordContainer<'a, T, MatrixView<(T, usize), S>, 2>> for &Twhere
T: Numeric + Real + Primitive,
for<'t> &'t T: NumericRef<T> + RealRef<T>,
S: MatrixRef<(T, Index)> + NoInteriorMutability,
Operation for a constant and a record matrix of the same type with both referenced. The scalar is applied to all elements, this is a shorthand for unary().
type Output = RecordContainer<'a, T, MatrixView<(T, usize), Matrix<(T, usize)>>, 2>
fn pow(self, rhs: &RecordMatrix<'a, T, S>) -> Self::Output
source§impl<'a, T, S> Pow<RecordContainer<'a, T, MatrixView<(T, usize), S>, 2>> for &Twhere
T: Numeric + Real + Primitive,
for<'t> &'t T: NumericRef<T> + RealRef<T>,
S: MatrixRef<(T, Index)> + NoInteriorMutability,
impl<'a, T, S> Pow<RecordContainer<'a, T, MatrixView<(T, usize), S>, 2>> for &Twhere
T: Numeric + Real + Primitive,
for<'t> &'t T: NumericRef<T> + RealRef<T>,
S: MatrixRef<(T, Index)> + NoInteriorMutability,
Operation for a referenced constant and a record matrix of the same type. The scalar is applied to all elements, this is a shorthand for unary().
type Output = RecordContainer<'a, T, MatrixView<(T, usize), Matrix<(T, usize)>>, 2>
fn pow(self, rhs: RecordMatrix<'a, T, S>) -> Self::Output
source§impl<'a, T, S, const D: usize> Pow<&RecordContainer<'a, T, TensorView<(T, usize), S, D>, D>> for &T
impl<'a, T, S, const D: usize> Pow<&RecordContainer<'a, T, TensorView<(T, usize), S, D>, D>> for &T
Operation for a constant and a record tensor of the same type with both referenced. The scalar is applied to all elements, this is a shorthand for unary().
type Output = RecordContainer<'a, T, TensorView<(T, usize), Tensor<(T, usize), D>, D>, D>
fn pow(self, rhs: &RecordTensor<'a, T, S, D>) -> Self::Output
source§impl<'a, T, S, const D: usize> Pow<RecordContainer<'a, T, TensorView<(T, usize), S, D>, D>> for &T
impl<'a, T, S, const D: usize> Pow<RecordContainer<'a, T, TensorView<(T, usize), S, D>, D>> for &T
Operation for a referenced constant and a record tensor of the same type. The scalar is applied to all elements, this is a shorthand for unary().
type Output = RecordContainer<'a, T, TensorView<(T, usize), Tensor<(T, usize), D>, D>, D>
fn pow(self, rhs: RecordTensor<'a, T, S, D>) -> Self::Output
source§impl<'a, T: Numeric + Real + Primitive> Pow<&Record<'a, T>> for &T
impl<'a, T: Numeric + Real + Primitive> Pow<&Record<'a, T>> for &T
Power of a constant to a Record of the same type with both referenced.
source§impl<'a, T: Numeric + Real + Primitive> Pow<Record<'a, T>> for &T
impl<'a, T: Numeric + Real + Primitive> Pow<Record<'a, T>> for &T
Operation for a constant and a record of the same type with the left referenced.
source§impl<T: Numeric + Real + Primitive> Pow<&Trace<T>> for &T
impl<T: Numeric + Real + Primitive> Pow<&Trace<T>> for &T
Power of a constant to a trace of the same type with both referenced.
source§impl<T: Numeric + Real + Primitive> Pow<Trace<T>> for &T
impl<T: Numeric + Real + Primitive> Pow<Trace<T>> for &T
Operation for a trace and a constant of the same type with the left referenced.
Implementors§
source§impl<'a, 'l, 'r, T: Numeric + Real + Primitive> Pow<&'r Record<'a, T>> for &'l Record<'a, T>
impl<'a, 'l, 'r, T: Numeric + Real + Primitive> Pow<&'r Record<'a, T>> for &'l Record<'a, T>
Power of one Record to another, ie self^rhs for two records of the same type with both referenced and both using the same WengertList.
source§impl<'a, T, S> Pow<&RecordContainer<'a, T, MatrixView<(T, usize), S>, 2>> for Twhere
T: Numeric + Real + Primitive,
for<'t> &'t T: NumericRef<T> + RealRef<T>,
S: MatrixRef<(T, Index)> + NoInteriorMutability,
impl<'a, T, S> Pow<&RecordContainer<'a, T, MatrixView<(T, usize), S>, 2>> for Twhere
T: Numeric + Real + Primitive,
for<'t> &'t T: NumericRef<T> + RealRef<T>,
S: MatrixRef<(T, Index)> + NoInteriorMutability,
Operation for a constant and a referenced record matrix of the same type. The scalar is applied to all elements, this is a shorthand for unary().
type Output = RecordContainer<'a, T, MatrixView<(T, usize), Matrix<(T, usize)>>, 2>
source§impl<'a, T, S> Pow<&T> for &RecordMatrix<'a, T, S>where
T: Numeric + Real + Primitive,
for<'t> &'t T: NumericRef<T> + RealRef<T>,
S: MatrixRef<(T, Index)> + NoInteriorMutability,
impl<'a, T, S> Pow<&T> for &RecordMatrix<'a, T, S>where
T: Numeric + Real + Primitive,
for<'t> &'t T: NumericRef<T> + RealRef<T>,
S: MatrixRef<(T, Index)> + NoInteriorMutability,
Operation for a record matrix and a constant with both referenced. The scalar is applied to all elements, this is a shorthand for unary().
type Output = RecordContainer<'a, T, MatrixView<(T, usize), Matrix<(T, usize)>>, 2>
source§impl<'a, T, S> Pow<&T> for RecordMatrix<'a, T, S>where
T: Numeric + Real + Primitive,
for<'t> &'t T: NumericRef<T> + RealRef<T>,
S: MatrixRef<(T, Index)> + NoInteriorMutability,
impl<'a, T, S> Pow<&T> for RecordMatrix<'a, T, S>where
T: Numeric + Real + Primitive,
for<'t> &'t T: NumericRef<T> + RealRef<T>,
S: MatrixRef<(T, Index)> + NoInteriorMutability,
Operation for a record matrix and a referenced constant. The scalar is applied to all elements, this is a shorthand for unary().
type Output = RecordContainer<'a, T, MatrixView<(T, usize), Matrix<(T, usize)>>, 2>
source§impl<'a, T, S> Pow<RecordContainer<'a, T, MatrixView<(T, usize), S>, 2>> for Twhere
T: Numeric + Real + Primitive,
for<'t> &'t T: NumericRef<T> + RealRef<T>,
S: MatrixRef<(T, Index)> + NoInteriorMutability,
impl<'a, T, S> Pow<RecordContainer<'a, T, MatrixView<(T, usize), S>, 2>> for Twhere
T: Numeric + Real + Primitive,
for<'t> &'t T: NumericRef<T> + RealRef<T>,
S: MatrixRef<(T, Index)> + NoInteriorMutability,
Operation for a constant and a record matrix of the same type. The scalar is applied to all elements, this is a shorthand for unary().
type Output = RecordContainer<'a, T, MatrixView<(T, usize), Matrix<(T, usize)>>, 2>
source§impl<'a, T, S> Pow<T> for &RecordMatrix<'a, T, S>where
T: Numeric + Real + Primitive,
for<'t> &'t T: NumericRef<T> + RealRef<T>,
S: MatrixRef<(T, Index)> + NoInteriorMutability,
impl<'a, T, S> Pow<T> for &RecordMatrix<'a, T, S>where
T: Numeric + Real + Primitive,
for<'t> &'t T: NumericRef<T> + RealRef<T>,
S: MatrixRef<(T, Index)> + NoInteriorMutability,
Operation for a referenced record matrix and a constant of the same type. The scalar is applied to all elements, this is a shorthand for unary().
type Output = RecordContainer<'a, T, MatrixView<(T, usize), Matrix<(T, usize)>>, 2>
source§impl<'a, T, S> Pow<T> for RecordMatrix<'a, T, S>where
T: Numeric + Real + Primitive,
for<'t> &'t T: NumericRef<T> + RealRef<T>,
S: MatrixRef<(T, Index)> + NoInteriorMutability,
impl<'a, T, S> Pow<T> for RecordMatrix<'a, T, S>where
T: Numeric + Real + Primitive,
for<'t> &'t T: NumericRef<T> + RealRef<T>,
S: MatrixRef<(T, Index)> + NoInteriorMutability,
Operation for a record matrix and a constant of the same type. The scalar is applied to all elements, this is a shorthand for unary().
type Output = RecordContainer<'a, T, MatrixView<(T, usize), Matrix<(T, usize)>>, 2>
source§impl<'a, T, S, const D: usize> Pow<&RecordContainer<'a, T, TensorView<(T, usize), S, D>, D>> for T
impl<'a, T, S, const D: usize> Pow<&RecordContainer<'a, T, TensorView<(T, usize), S, D>, D>> for T
Operation for a constant and a referenced record tensor of the same type. The scalar is applied to all elements, this is a shorthand for unary().
type Output = RecordContainer<'a, T, TensorView<(T, usize), Tensor<(T, usize), D>, D>, D>
source§impl<'a, T, S, const D: usize> Pow<&T> for &RecordTensor<'a, T, S, D>
impl<'a, T, S, const D: usize> Pow<&T> for &RecordTensor<'a, T, S, D>
Operation for a record tensor and a constant with both referenced. The scalar is applied to all elements, this is a shorthand for unary().
type Output = RecordContainer<'a, T, TensorView<(T, usize), Tensor<(T, usize), D>, D>, D>
source§impl<'a, T, S, const D: usize> Pow<&T> for RecordTensor<'a, T, S, D>
impl<'a, T, S, const D: usize> Pow<&T> for RecordTensor<'a, T, S, D>
Operation for a record tensor and a referenced constant. The scalar is applied to all elements, this is a shorthand for unary().
type Output = RecordContainer<'a, T, TensorView<(T, usize), Tensor<(T, usize), D>, D>, D>
source§impl<'a, T, S, const D: usize> Pow<RecordContainer<'a, T, TensorView<(T, usize), S, D>, D>> for T
impl<'a, T, S, const D: usize> Pow<RecordContainer<'a, T, TensorView<(T, usize), S, D>, D>> for T
Operation for a constant and a record tensor of the same type. The scalar is applied to all elements, this is a shorthand for unary().
type Output = RecordContainer<'a, T, TensorView<(T, usize), Tensor<(T, usize), D>, D>, D>
source§impl<'a, T, S, const D: usize> Pow<T> for &RecordTensor<'a, T, S, D>
impl<'a, T, S, const D: usize> Pow<T> for &RecordTensor<'a, T, S, D>
Operation for a referenced record tensor and a constant of the same type. The scalar is applied to all elements, this is a shorthand for unary().
type Output = RecordContainer<'a, T, TensorView<(T, usize), Tensor<(T, usize), D>, D>, D>
source§impl<'a, T, S, const D: usize> Pow<T> for RecordTensor<'a, T, S, D>
impl<'a, T, S, const D: usize> Pow<T> for RecordTensor<'a, T, S, D>
Operation for a record tensor and a constant of the same type. The scalar is applied to all elements, this is a shorthand for unary().
type Output = RecordContainer<'a, T, TensorView<(T, usize), Tensor<(T, usize), D>, D>, D>
source§impl<'a, T: Numeric + Real + Primitive> Pow for Record<'a, T>
impl<'a, T: Numeric + Real + Primitive> Pow for Record<'a, T>
Operation for two records of the same type.
source§impl<'a, T: Numeric + Real + Primitive> Pow<&Record<'a, T>> for Record<'a, T>
impl<'a, T: Numeric + Real + Primitive> Pow<&Record<'a, T>> for Record<'a, T>
Operation for two records of the same type with the right referenced.
source§impl<'a, T: Numeric + Real + Primitive> Pow<&Record<'a, T>> for T
impl<'a, T: Numeric + Real + Primitive> Pow<&Record<'a, T>> for T
Operation for a constant and a record of the same type with the right referenced.
source§impl<'a, T: Numeric + Real + Primitive> Pow<&T> for &Record<'a, T>
impl<'a, T: Numeric + Real + Primitive> Pow<&T> for &Record<'a, T>
Power of one Record to a constant of the same type with both referenced.
source§impl<'a, T: Numeric + Real + Primitive> Pow<&T> for Record<'a, T>
impl<'a, T: Numeric + Real + Primitive> Pow<&T> for Record<'a, T>
Operation for a record and a constant of the same type with the right referenced.
source§impl<'a, T: Numeric + Real + Primitive> Pow<Record<'a, T>> for &Record<'a, T>
impl<'a, T: Numeric + Real + Primitive> Pow<Record<'a, T>> for &Record<'a, T>
Operation for two records of the same type with the left referenced.
source§impl<'a, T: Numeric + Real + Primitive> Pow<Record<'a, T>> for T
impl<'a, T: Numeric + Real + Primitive> Pow<Record<'a, T>> for T
Operation for a constant and a record of the same type.
source§impl<'a, T: Numeric + Real + Primitive> Pow<T> for &Record<'a, T>
impl<'a, T: Numeric + Real + Primitive> Pow<T> for &Record<'a, T>
Operation for a record and a constant of the same type with the left referenced.
source§impl<'a, T: Numeric + Real + Primitive> Pow<T> for Record<'a, T>
impl<'a, T: Numeric + Real + Primitive> Pow<T> for Record<'a, T>
Operation for a record and a constant of the same type.
source§impl<'l, 'r, T: Numeric + Real + Primitive> Pow<&'r Trace<T>> for &'l Trace<T>
impl<'l, 'r, T: Numeric + Real + Primitive> Pow<&'r Trace<T>> for &'l Trace<T>
Power of one Trace to another, ie self^rhs for two traces of the same type with both referenced.
source§impl<T: Numeric + Real + Primitive> Pow for Trace<T>
impl<T: Numeric + Real + Primitive> Pow for Trace<T>
Operation for two traces of the same type.
source§impl<T: Numeric + Real + Primitive> Pow<&Trace<T>> for Trace<T>
impl<T: Numeric + Real + Primitive> Pow<&Trace<T>> for Trace<T>
Operation for two traces of the same type with the right referenced.
source§impl<T: Numeric + Real + Primitive> Pow<&Trace<T>> for T
impl<T: Numeric + Real + Primitive> Pow<&Trace<T>> for T
Operation for a trace and a constant of the same type with the right referenced.
source§impl<T: Numeric + Real + Primitive> Pow<&T> for &Trace<T>
impl<T: Numeric + Real + Primitive> Pow<&T> for &Trace<T>
Power of a trace to a constant of the same type with both referenced.
source§impl<T: Numeric + Real + Primitive> Pow<&T> for Trace<T>
impl<T: Numeric + Real + Primitive> Pow<&T> for Trace<T>
Operation for a trace and a constant of the same type with the right referenced.
source§impl<T: Numeric + Real + Primitive> Pow<Trace<T>> for &Trace<T>
impl<T: Numeric + Real + Primitive> Pow<Trace<T>> for &Trace<T>
Operation for two traces of the same type with the left referenced.
source§impl<T: Numeric + Real + Primitive> Pow<Trace<T>> for T
impl<T: Numeric + Real + Primitive> Pow<Trace<T>> for T
Operation for a trace and a constant of the same type.