#[repr(u32)]pub enum cusolverEigComp_t {
CUSOLVER_EIG_COMP_N = 10,
CUSOLVER_EIG_COMP_I = 11,
CUSOLVER_EIG_COMP_V = 12,
}Expand description
The cusolverEigComp_t type indicates the computational mode for eigen routines that compute eigenvalues and optionally eigenvectors, analogous to the compz argument in LAPACK.
The values of cusolverEigComp_t correspond directly to the LAPACK compz argument. In LAPACK, compz is specified as a single character: 'N' means no eigenvectors are computed (eigenvalues only); 'I' means the eigenvector matrix is initialized to the identity and then updated by the routine; 'V' means the routine uses the matrix provided on entry and overwrites it with the product of that matrix and the orthogonal (or unitary) transformations accumulated during the computation. The cuSolver enumerants cusolverEigComp_t::CUSOLVER_EIG_COMP_N, cusolverEigComp_t::CUSOLVER_EIG_COMP_I, and cusolverEigComp_t::CUSOLVER_EIG_COMP_V map to LAPACK 'N', 'I', and 'V' respectively.
Variants§
CUSOLVER_EIG_COMP_N = 10
Only eigenvalues are computed.
CUSOLVER_EIG_COMP_I = 11
The unitary matrix is initialized to the identity matrix.
CUSOLVER_EIG_COMP_V = 12
The product of the matrix given on entry with the orthogonal transformations accumulated during the computational routine is returned.
Trait Implementations§
Source§impl Clone for cusolverEigComp_t
impl Clone for cusolverEigComp_t
Source§fn clone(&self) -> cusolverEigComp_t
fn clone(&self) -> cusolverEigComp_t
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreimpl Copy for cusolverEigComp_t
Source§impl Debug for cusolverEigComp_t
impl Debug for cusolverEigComp_t
impl Eq for cusolverEigComp_t
Source§impl Hash for cusolverEigComp_t
impl Hash for cusolverEigComp_t
Source§impl Ord for cusolverEigComp_t
impl Ord for cusolverEigComp_t
Source§fn cmp(&self, other: &cusolverEigComp_t) -> Ordering
fn cmp(&self, other: &cusolverEigComp_t) -> Ordering
1.21.0 (const: unstable) · Source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Source§impl PartialEq for cusolverEigComp_t
impl PartialEq for cusolverEigComp_t
Source§fn eq(&self, other: &cusolverEigComp_t) -> bool
fn eq(&self, other: &cusolverEigComp_t) -> bool
self and other values to be equal, and is used by ==.