#[repr(u32)]pub enum cusolverEigMode_t {
CUSOLVER_EIG_MODE_NOVECTOR = 0,
CUSOLVER_EIG_MODE_VECTOR = 1,
}Expand description
The cusolverEigMode_t type indicates whether or not eigenvectors are computed.
Notice that LAPACK implementations often use Fortran character 'N' (only eigenvalues are computed), 'V' (both eigenvalues and eigenvectors are computed) to indicate whether or not eigenvectors are computed.
Variants§
CUSOLVER_EIG_MODE_NOVECTOR = 0
Only eigenvalues are computed.
CUSOLVER_EIG_MODE_VECTOR = 1
Both eigenvalues and eigenvectors are computed.
Trait Implementations§
Source§impl Clone for cusolverEigMode_t
impl Clone for cusolverEigMode_t
Source§fn clone(&self) -> cusolverEigMode_t
fn clone(&self) -> cusolverEigMode_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 cusolverEigMode_t
impl Debug for cusolverEigMode_t
Source§impl From<cusolverEigMode_t> for u32
impl From<cusolverEigMode_t> for u32
Source§fn from(enum_value: cusolverEigMode_t) -> Self
fn from(enum_value: cusolverEigMode_t) -> Self
Converts to this type from the input type.
Source§impl Hash for cusolverEigMode_t
impl Hash for cusolverEigMode_t
Source§impl Ord for cusolverEigMode_t
impl Ord for cusolverEigMode_t
Source§fn cmp(&self, other: &cusolverEigMode_t) -> Ordering
fn cmp(&self, other: &cusolverEigMode_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 cusolverEigMode_t
impl PartialEq for cusolverEigMode_t
Source§fn eq(&self, other: &cusolverEigMode_t) -> bool
fn eq(&self, other: &cusolverEigMode_t) -> bool
Tests for
self and other values to be equal, and is used by ==.Source§impl PartialOrd for cusolverEigMode_t
impl PartialOrd for cusolverEigMode_t
Source§impl TryFrom<u32> for cusolverEigMode_t
impl TryFrom<u32> for cusolverEigMode_t
Source§type Error = TryFromPrimitiveError<cusolverEigMode_t>
type Error = TryFromPrimitiveError<cusolverEigMode_t>
The type returned in the event of a conversion error.
Source§impl TryFromPrimitive for cusolverEigMode_t
impl TryFromPrimitive for cusolverEigMode_t
const NAME: &'static str = "cusolverEigMode_t"
type Primitive = u32
type Error = TryFromPrimitiveError<cusolverEigMode_t>
fn try_from_primitive( number: Self::Primitive, ) -> Result<Self, TryFromPrimitiveError<Self>>
impl Copy for cusolverEigMode_t
impl Eq for cusolverEigMode_t
impl StructuralPartialEq for cusolverEigMode_t
Auto Trait Implementations§
impl Freeze for cusolverEigMode_t
impl RefUnwindSafe for cusolverEigMode_t
impl Send for cusolverEigMode_t
impl Sync for cusolverEigMode_t
impl Unpin for cusolverEigMode_t
impl UnsafeUnpin for cusolverEigMode_t
impl UnwindSafe for cusolverEigMode_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