#[repr(u32)]pub enum cusolverEigType_t {
CUSOLVER_EIG_TYPE_1 = 1,
CUSOLVER_EIG_TYPE_2 = 2,
CUSOLVER_EIG_TYPE_3 = 3,
}Expand description
The cusolverEigType_t type indicates which type of eigenvalue the solver is.
Notice that LAPACK implementations often use Fortran integer 1 (A*x = lambda*B*x), 2 (A*B*x = lambda*x), 3 (B*A*x = lambda*x) to indicate which type of eigenvalue the solver is.
Variants§
CUSOLVER_EIG_TYPE_1 = 1
A*x = lambda*B*x.
CUSOLVER_EIG_TYPE_2 = 2
A*B*x = lambda*x.
CUSOLVER_EIG_TYPE_3 = 3
B*A*x = lambda*x.
Trait Implementations§
Source§impl Clone for cusolverEigType_t
impl Clone for cusolverEigType_t
Source§fn clone(&self) -> cusolverEigType_t
fn clone(&self) -> cusolverEigType_t
Returns a duplicate of the value. Read more
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for cusolverEigType_t
impl Debug for cusolverEigType_t
Source§impl From<cusolverEigType_t> for u32
impl From<cusolverEigType_t> for u32
Source§fn from(enum_value: cusolverEigType_t) -> Self
fn from(enum_value: cusolverEigType_t) -> Self
Converts to this type from the input type.
Source§impl Hash for cusolverEigType_t
impl Hash for cusolverEigType_t
Source§impl Ord for cusolverEigType_t
impl Ord for cusolverEigType_t
Source§fn cmp(&self, other: &cusolverEigType_t) -> Ordering
fn cmp(&self, other: &cusolverEigType_t) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
Source§impl PartialEq for cusolverEigType_t
impl PartialEq for cusolverEigType_t
Source§fn eq(&self, other: &cusolverEigType_t) -> bool
fn eq(&self, other: &cusolverEigType_t) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for cusolverEigType_t
impl PartialOrd for cusolverEigType_t
Source§impl TryFrom<u32> for cusolverEigType_t
impl TryFrom<u32> for cusolverEigType_t
Source§type Error = TryFromPrimitiveError<cusolverEigType_t>
type Error = TryFromPrimitiveError<cusolverEigType_t>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for cusolverEigType_t
impl TryFromPrimitive for cusolverEigType_t
const NAME: &'static str = "cusolverEigType_t"
type Primitive = u32
type Error = TryFromPrimitiveError<cusolverEigType_t>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for cusolverEigType_t
impl Eq for cusolverEigType_t
impl StructuralPartialEq for cusolverEigType_t
Auto Trait Implementations§
impl Freeze for cusolverEigType_t
impl RefUnwindSafe for cusolverEigType_t
impl Send for cusolverEigType_t
impl Sync for cusolverEigType_t
impl Unpin for cusolverEigType_t
impl UnsafeUnpin for cusolverEigType_t
impl UnwindSafe for cusolverEigType_t
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