Enum linxal::types::error::GenerateError
[−]
[src]
pub enum GenerateError { NotSquare, NotEnoughValues, UnequalBands, InvalidPacking, InvalidRank, IllegalParameter(i32), }
Errors when attempting to generate a random matrix.
Variants
NotSquare
The matrix doesn't have square dimensions, but a square dimension is required for a certain operation.
NotEnoughValues
Incorrect number of eigenvalues or singular values
UnequalBands
The matrix is square, but the number of bands is not the same on both sides.
InvalidPacking
The matrix is not symmetric, but a non-Full
packing was used.
InvalidRank
The rank is larger than the size of the matrix can support.
IllegalParameter(i32)
Invalid Parameter
Trait Implementations
impl PartialEq for GenerateError
[src]
fn eq(&self, __arg_0: &GenerateError) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &GenerateError) -> bool
This method tests for !=
.
impl Eq for GenerateError
[src]
impl Debug for GenerateError
[src]
impl Clone for GenerateError
[src]
fn clone(&self) -> GenerateError
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0
Performs copy-assignment from source
. Read more