DFT-EFE
 
Loading...
Searching...
No Matches
dftefe::linearAlgebra::LAPACKSupport Namespace Reference

Enumerations

enum  State {
  matrix , inverse_matrix , lu , cholesky ,
  eigenvalues , svd , inverse_svd , unusable = 0x8000
}
 
enum  Property {
  general = 0 , hermitian = 1 , upper_triangular = 2 , lower_triangular = 4 ,
  diagonal = 6 , hessenberg = 8
}
 

Functions

const char * state_name (State s)
 
const char * property_name (const Property s)
 

Variables

static const char A = 'A'
 
static const char N = 'N'
 
static const char O = 'O'
 
static const char T = 'T'
 
static const char C = 'C'
 
static const char U = 'U'
 
static const char L = 'L'
 
static const char V = 'V'
 
static const types::LapackInt zero = 0
 
static const types::LapackInt one = 1
 

Enumeration Type Documentation

◆ Property

A matrix can have certain features allowing for optimization, but hard to test. These are listed here.

Enumerator
general 

No special properties.

hermitian 

Matrix is symmetric.

upper_triangular 

Matrix is upper triangular.

lower_triangular 

Matrix is lower triangular.

diagonal 

Matrix is diagonal.

hessenberg 

Matrix is in upper Hessenberg form.

◆ State

Most of the LAPACK functions one can apply to a matrix (e.g., by calling the member functions of this class) change its content in some ways. For example, they may invert the matrix, or may replace it by a matrix whose columns represent the eigenvectors of the original content of the matrix. The elements of this enumeration are therefore used to track what is currently being stored by this object.

Enumerator
matrix 

Contents is actually a matrix.

inverse_matrix 

Contents is the inverse of a matrix.

lu 

Contents is an LU decomposition.

cholesky 

Contents is a Cholesky decomposition.

eigenvalues 

Eigenvalue vector is filled.

svd 

Matrix contains singular value decomposition,.

inverse_svd 

Matrix is the inverse of a singular value decomposition.

unusable 

Contents is something useless.

Function Documentation

◆ property_name()

const char * dftefe::linearAlgebra::LAPACKSupport::property_name ( const Property  s)
inline

Function printing the name of a Property.

◆ state_name()

const char * dftefe::linearAlgebra::LAPACKSupport::state_name ( State  s)
inline

Function printing the name of a State.

Variable Documentation

◆ A

const char dftefe::linearAlgebra::LAPACKSupport::A = 'A'
static

Character constant.

◆ C

const char dftefe::linearAlgebra::LAPACKSupport::C = 'C'
static

Character constant for conjugate transpose.

◆ L

const char dftefe::linearAlgebra::LAPACKSupport::L = 'L'
static

Character constant.

◆ N

const char dftefe::linearAlgebra::LAPACKSupport::N = 'N'
static

Character constant.

◆ O

const char dftefe::linearAlgebra::LAPACKSupport::O = 'O'
static

Character constant.

◆ one

const types::LapackInt dftefe::linearAlgebra::LAPACKSupport::one = 1
static

Integer constant.

◆ T

const char dftefe::linearAlgebra::LAPACKSupport::T = 'T'
static

Character constant.

◆ U

const char dftefe::linearAlgebra::LAPACKSupport::U = 'U'
static

Character constant.

◆ V

const char dftefe::linearAlgebra::LAPACKSupport::V = 'V'
static

Character constant.

◆ zero

const types::LapackInt dftefe::linearAlgebra::LAPACKSupport::zero = 0
static

Integer constant.