ABACUS develop
Atomic-orbital Based Ab-initio Computation at UStc
Loading...
Searching...
No Matches
ModuleBase::Matrix_Wrapper Class Reference

#include <matrix_wrapper.h>

Collaboration diagram for ModuleBase::Matrix_Wrapper:

Public Member Functions

 Matrix_Wrapper ()
 Matrix_Wrapper (const matrix &m)
void create (const int nr_in, const int nc_in, const bool flag_zero)
matrix to_matrix ()
 ~Matrix_Wrapper ()
 Matrix_Wrapper (const Matrix_Wrapper &m)=delete
 Matrix_Wrapper (Matrix_Wrapper &m)=delete
 Matrix_Wrapper (Matrix_Wrapper &&m)
Matrix_Wrapper & operator= (const Matrix_Wrapper &m)
Matrix_Wrapper & operator= (Matrix_Wrapper &&m)

Public Attributes

int nr
int nc
double * c = nullptr
bool flag_delete_c

Constructor & Destructor Documentation

◆ Matrix_Wrapper() [1/5]

ModuleBase::Matrix_Wrapper::Matrix_Wrapper ( )
inline
Here is the caller graph for this function:

◆ Matrix_Wrapper() [2/5]

ModuleBase::Matrix_Wrapper::Matrix_Wrapper ( const matrix & m)
inline

◆ ~Matrix_Wrapper()

ModuleBase::Matrix_Wrapper::~Matrix_Wrapper ( )
inline

◆ Matrix_Wrapper() [3/5]

ModuleBase::Matrix_Wrapper::Matrix_Wrapper ( const Matrix_Wrapper & m)
delete
Here is the call graph for this function:

◆ Matrix_Wrapper() [4/5]

ModuleBase::Matrix_Wrapper::Matrix_Wrapper ( Matrix_Wrapper & m)
delete
Here is the call graph for this function:

◆ Matrix_Wrapper() [5/5]

ModuleBase::Matrix_Wrapper::Matrix_Wrapper ( Matrix_Wrapper && m)
inline
Here is the call graph for this function:

Member Function Documentation

◆ create()

void ModuleBase::Matrix_Wrapper::create ( const int nr_in,
const int nc_in,
const bool flag_zero )
inline
Here is the caller graph for this function:

◆ operator=() [1/2]

Matrix_Wrapper & ModuleBase::Matrix_Wrapper::operator= ( const Matrix_Wrapper & m)
inline
Here is the call graph for this function:

◆ operator=() [2/2]

Matrix_Wrapper & ModuleBase::Matrix_Wrapper::operator= ( Matrix_Wrapper && m)
inline
Here is the call graph for this function:

◆ to_matrix()

matrix ModuleBase::Matrix_Wrapper::to_matrix ( )
inline

Member Data Documentation

◆ c

double* ModuleBase::Matrix_Wrapper::c = nullptr

◆ flag_delete_c

bool ModuleBase::Matrix_Wrapper::flag_delete_c

◆ nc

int ModuleBase::Matrix_Wrapper::nc

◆ nr

int ModuleBase::Matrix_Wrapper::nr

The documentation for this class was generated from the following file: