#include <complexmatrix.h>
|
using | type = std::complex< double > |
|
|
int | nr =0 |
|
int | nc =0 |
|
int | size =0 |
|
std::complex< double > * | c =nullptr |
|
◆ type
◆ ComplexMatrix() [1/5]
ModuleBase::ComplexMatrix::ComplexMatrix |
( |
| ) |
|
|
inline |
◆ ComplexMatrix() [2/5]
ModuleBase::ComplexMatrix::ComplexMatrix |
( |
const int |
nrows, |
|
|
const int |
ncols, |
|
|
const bool |
flag_zero = true |
|
) |
| |
◆ ComplexMatrix() [3/5]
ModuleBase::ComplexMatrix::ComplexMatrix |
( |
const ComplexMatrix & |
m1 | ) |
|
◆ ComplexMatrix() [4/5]
◆ ComplexMatrix() [5/5]
ModuleBase::ComplexMatrix::ComplexMatrix |
( |
const matrix & |
m | ) |
|
|
explicit |
◆ ~ComplexMatrix()
ModuleBase::ComplexMatrix::~ComplexMatrix |
( |
| ) |
|
◆ checkreal()
bool ModuleBase::ComplexMatrix::checkreal |
( |
void |
| ) |
|
◆ create()
void ModuleBase::ComplexMatrix::create |
( |
const int |
nrow, |
|
|
const int |
ncol, |
|
|
const bool |
flag_zero = true |
|
) |
| |
◆ operator()() [1/2]
std::complex< double > & ModuleBase::ComplexMatrix::operator() |
( |
const int |
ir, |
|
|
const int |
ic |
|
) |
| |
|
inline |
◆ operator()() [2/2]
const std::complex< double > & ModuleBase::ComplexMatrix::operator() |
( |
const int |
ir, |
|
|
const int |
ic |
|
) |
| const |
|
inline |
◆ operator*=()
ComplexMatrix & ModuleBase::ComplexMatrix::operator*= |
( |
const std::complex< double > & |
s | ) |
|
◆ operator+=()
◆ operator-=()
◆ operator=() [1/2]
◆ operator=() [2/2]
◆ print()
std::ostream & ModuleBase::ComplexMatrix::print |
( |
std::ostream & |
os, |
|
|
const double |
threshold_abs = 0.0 , |
|
|
const double |
threshold_imag = 0.0 |
|
) |
| const |
◆ real()
matrix ModuleBase::ComplexMatrix::real |
( |
| ) |
const |
◆ set_as_identity_matrix()
void ModuleBase::ComplexMatrix::set_as_identity_matrix |
( |
void |
| ) |
|
◆ zero_out()
void ModuleBase::ComplexMatrix::zero_out |
( |
void |
| ) |
|
std::complex<double>* ModuleBase::ComplexMatrix::c =nullptr |
◆ nc
int ModuleBase::ComplexMatrix::nc =0 |
◆ nr
int ModuleBase::ComplexMatrix::nr =0 |
◆ size
int ModuleBase::ComplexMatrix::size =0 |
The documentation for this class was generated from the following files:
- /home/runner/work/abacus-develop/abacus-develop/source/source_base/complexmatrix.h
- /home/runner/work/abacus-develop/abacus-develop/source/source_base/complexmatrix.cpp