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

Partial-pivoted factorization of a small column-major complex matrix. More...

#include <linear_algebra.h>

Collaboration diagram for hsolver::LinearSmallLU:

Public Member Functions

bool factor (const std::vector< std::complex< double > > &matrix, int n)
bool solve (std::vector< std::complex< double > > *rhs, int columns) const

Private Attributes

int size_ = 0
std::vector< std::complex< double > > lu_
std::vector< int > pivots_

Detailed Description

Partial-pivoted factorization of a small column-major complex matrix.

Member Function Documentation

◆ factor()

bool hsolver::LinearSmallLU::factor ( const std::vector< std::complex< double > > & matrix,
int n )

◆ solve()

bool hsolver::LinearSmallLU::solve ( std::vector< std::complex< double > > * rhs,
int columns ) const

Member Data Documentation

◆ lu_

std::vector<std::complex<double> > hsolver::LinearSmallLU::lu_
private

◆ pivots_

std::vector<int> hsolver::LinearSmallLU::pivots_
private

◆ size_

int hsolver::LinearSmallLU::size_ = 0
private

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