Struct opensrdk_linear_algebra::matrix::di::DiagonalMatrix
source · pub struct DiagonalMatrix<T = f64>where
T: Number,{ /* private fields */ }
Implementations§
source§impl DiagonalMatrix<f64>
impl DiagonalMatrix<f64>
sourcepub fn powf(self, exp: f64) -> Self
pub fn powf(self, exp: f64) -> Self
Pow integer
for diagonal matrix
source§impl DiagonalMatrix<c64>
impl DiagonalMatrix<c64>
sourcepub fn powf(self, exp: f64) -> Self
pub fn powf(self, exp: f64) -> Self
Pow integer
for diagonal matrix
source§impl DiagonalMatrix<f64>
impl DiagonalMatrix<f64>
sourcepub fn powi(self, exp: i32) -> Self
pub fn powi(self, exp: i32) -> Self
Pow integer
for diagonal matrix
source§impl DiagonalMatrix<c64>
impl DiagonalMatrix<c64>
sourcepub fn powi(self, exp: i32) -> Self
pub fn powi(self, exp: i32) -> Self
Pow integer
for diagonal matrix
Trait Implementations§
source§impl<T> Add<&DiagonalMatrix<T>> for DiagonalMatrix<T>where
T: Number,
impl<T> Add<&DiagonalMatrix<T>> for DiagonalMatrix<T>where T: Number,
§type Output = DiagonalMatrix<T>
type Output = DiagonalMatrix<T>
The resulting type after applying the
+
operator.source§impl<T> Add<DiagonalMatrix<T>> for &DiagonalMatrix<T>where
T: Number,
impl<T> Add<DiagonalMatrix<T>> for &DiagonalMatrix<T>where T: Number,
§type Output = DiagonalMatrix<T>
type Output = DiagonalMatrix<T>
The resulting type after applying the
+
operator.source§impl<T> Add<DiagonalMatrix<T>> for DiagonalMatrix<T>where
T: Number,
impl<T> Add<DiagonalMatrix<T>> for DiagonalMatrix<T>where T: Number,
§type Output = DiagonalMatrix<T>
type Output = DiagonalMatrix<T>
The resulting type after applying the
+
operator.source§impl Add<DiagonalMatrix<f64>> for f64
impl Add<DiagonalMatrix<f64>> for f64
§type Output = DiagonalMatrix<f64>
type Output = DiagonalMatrix<f64>
The resulting type after applying the
+
operator.source§impl<T> Add<T> for DiagonalMatrix<T>where
T: Number,
impl<T> Add<T> for DiagonalMatrix<T>where T: Number,
source§impl<T> Clone for DiagonalMatrix<T>where
T: Number + Clone,
impl<T> Clone for DiagonalMatrix<T>where T: Number + Clone,
source§fn clone(&self) -> DiagonalMatrix<T>
fn clone(&self) -> DiagonalMatrix<T>
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<T> Default for DiagonalMatrix<T>where
T: Number + Default,
impl<T> Default for DiagonalMatrix<T>where T: Number + Default,
source§fn default() -> DiagonalMatrix<T>
fn default() -> DiagonalMatrix<T>
Returns the “default value” for a type. Read more
source§impl<'de, T> Deserialize<'de> for DiagonalMatrix<T>where
T: Number + Deserialize<'de>,
impl<'de, T> Deserialize<'de> for DiagonalMatrix<T>where T: Number + Deserialize<'de>,
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where __D: Deserializer<'de>,
Deserialize this value from the given Serde deserializer. Read more
source§impl Mul<&DiagonalMatrix<Complex<f64>>> for DiagonalMatrix<c64>
impl Mul<&DiagonalMatrix<Complex<f64>>> for DiagonalMatrix<c64>
source§impl Mul<&DiagonalMatrix<f64>> for DiagonalMatrix<f64>
impl Mul<&DiagonalMatrix<f64>> for DiagonalMatrix<f64>
source§impl Mul<DiagonalMatrix<Complex<f64>>> for &DiagonalMatrix<c64>
impl Mul<DiagonalMatrix<Complex<f64>>> for &DiagonalMatrix<c64>
source§impl Mul<DiagonalMatrix<Complex<f64>>> for DiagonalMatrix<c64>
impl Mul<DiagonalMatrix<Complex<f64>>> for DiagonalMatrix<c64>
source§impl Mul<DiagonalMatrix<f64>> for &DiagonalMatrix<f64>
impl Mul<DiagonalMatrix<f64>> for &DiagonalMatrix<f64>
source§impl Mul<DiagonalMatrix<f64>> for DiagonalMatrix<f64>
impl Mul<DiagonalMatrix<f64>> for DiagonalMatrix<f64>
source§impl<T> Neg for DiagonalMatrix<T>where
T: Number,
impl<T> Neg for DiagonalMatrix<T>where T: Number,
source§impl<T> PartialEq<DiagonalMatrix<T>> for DiagonalMatrix<T>where
T: Number + PartialEq,
impl<T> PartialEq<DiagonalMatrix<T>> for DiagonalMatrix<T>where T: Number + PartialEq,
source§fn eq(&self, other: &DiagonalMatrix<T>) -> bool
fn eq(&self, other: &DiagonalMatrix<T>) -> bool
This method tests for
self
and other
values to be equal, and is used
by ==
.source§impl<T> Sub<&DiagonalMatrix<T>> for DiagonalMatrix<T>where
T: Number,
impl<T> Sub<&DiagonalMatrix<T>> for DiagonalMatrix<T>where T: Number,
§type Output = DiagonalMatrix<T>
type Output = DiagonalMatrix<T>
The resulting type after applying the
-
operator.source§impl<T> Sub<DiagonalMatrix<T>> for &DiagonalMatrix<T>where
T: Number,
impl<T> Sub<DiagonalMatrix<T>> for &DiagonalMatrix<T>where T: Number,
§type Output = DiagonalMatrix<T>
type Output = DiagonalMatrix<T>
The resulting type after applying the
-
operator.source§impl<T> Sub<DiagonalMatrix<T>> for DiagonalMatrix<T>where
T: Number,
impl<T> Sub<DiagonalMatrix<T>> for DiagonalMatrix<T>where T: Number,
§type Output = DiagonalMatrix<T>
type Output = DiagonalMatrix<T>
The resulting type after applying the
-
operator.source§impl Sub<DiagonalMatrix<f64>> for f64
impl Sub<DiagonalMatrix<f64>> for f64
§type Output = DiagonalMatrix<f64>
type Output = DiagonalMatrix<f64>
The resulting type after applying the
-
operator.