pub struct ToeplitzMatrix<T = f64>where
T: Number,{ /* private fields */ }
Implementations§
Source§impl<T> ToeplitzMatrix<T>where
T: Number,
impl<T> ToeplitzMatrix<T>where
T: Number,
pub fn new(dim: usize) -> Self
Sourcepub fn from(col_elems: Vec<T>, row_elems: Vec<T>) -> Result<Self, MatrixError>
pub fn from(col_elems: Vec<T>, row_elems: Vec<T>) -> Result<Self, MatrixError>
col_elems
: First column elements. The length must bedimension
.row_elems
: First roe elements without first element. The length must bedimension - 1
.
pub fn embedded_circulant(&self) -> CirculantMatrix<T>
Trait Implementations§
Source§impl<T> Clone for ToeplitzMatrix<T>
impl<T> Clone for ToeplitzMatrix<T>
Source§fn clone(&self) -> ToeplitzMatrix<T>
fn clone(&self) -> ToeplitzMatrix<T>
Returns a duplicate of the value. Read more
1.0.0 · Source§const fn clone_from(&mut self, source: &Self)
const fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreSource§impl<T> Debug for ToeplitzMatrix<T>
impl<T> Debug for ToeplitzMatrix<T>
Source§impl<T> Default for ToeplitzMatrix<T>
impl<T> Default for ToeplitzMatrix<T>
Source§fn default() -> ToeplitzMatrix<T>
fn default() -> ToeplitzMatrix<T>
Returns the “default value” for a type. Read more
Source§impl<'de, T> Deserialize<'de> for ToeplitzMatrix<T>where
T: Number + Deserialize<'de>,
impl<'de, T> Deserialize<'de> for ToeplitzMatrix<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<T> Hash for ToeplitzMatrix<T>
impl<T> Hash for ToeplitzMatrix<T>
Source§impl<T> PartialEq for ToeplitzMatrix<T>
impl<T> PartialEq for ToeplitzMatrix<T>
Source§impl<T> Serialize for ToeplitzMatrix<T>
impl<T> Serialize for ToeplitzMatrix<T>
impl<T> StructuralPartialEq for ToeplitzMatrix<T>where
T: Number,
Auto Trait Implementations§
impl<T> Freeze for ToeplitzMatrix<T>
impl<T> RefUnwindSafe for ToeplitzMatrix<T>where
T: RefUnwindSafe,
impl<T> Send for ToeplitzMatrix<T>
impl<T> Sync for ToeplitzMatrix<T>
impl<T> Unpin for ToeplitzMatrix<T>where
T: Unpin,
impl<T> UnwindSafe for ToeplitzMatrix<T>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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more