suanPan
Loading...
Searching...
No Matches
SparseMatMUMPS< T > Class Template Referencefinal

A SparseMatMUMPS class that holds matrices. More...

#include <SparseMatMUMPS.hpp>

Inheritance diagram for SparseMatMUMPS< T >:
Collaboration diagram for SparseMatMUMPS< T >:

Public Member Functions

 SparseMatMUMPS (const uword in_row, const uword in_col, const uword in_elem=0)
 
unique_ptr< MetaMat< T > > make_copy () override
 
- Public Member Functions inherited from SparseMatBaseMUMPS< T >
 SparseMatBaseMUMPS (const uword in_row, const uword in_col, const uword in_elem, const int in_sym)
 
 SparseMatBaseMUMPS (const SparseMatBaseMUMPS &other)
 
 SparseMatBaseMUMPS (SparseMatBaseMUMPS &&) noexcept=delete
 
SparseMatBaseMUMPSoperator= (const SparseMatBaseMUMPS &)=delete
 
SparseMatBaseMUMPSoperator= (SparseMatBaseMUMPS &&) noexcept=delete
 
 ~SparseMatBaseMUMPS () override
 
void zeros () override
 
int sign_det () const override
 
- Public Member Functions inherited from SparseMat< T >
 SparseMat (const uword in_row, const uword in_col, const uword in_elem=0)
 
bool is_empty () const override
 
void nullify (const uword idx) override
 
T max () const override
 
Col< Tdiag () const override
 
T operator() (const uword in_row, const uword in_col) const override
 Access element (read-only), returns zero if out-of-bound.
 
Tat (const uword in_row, const uword in_col) override
 Access element with bound check.
 
const Tmemptr () const override
 
Tmemptr () override
 
void scale_accu (const T scalar, const shared_ptr< MetaMat< T > > &in_mat) override
 
void scale_accu (const T scalar, const triplet_form< T, uword > &in_mat) override
 
Mat< Toperator* (const Mat< T > &in_mat) const override
 
void operator*= (const T scalar) override
 
void csc_condense () override
 
void csr_condense () override
 
- Public Member Functions inherited from MetaMat< T >
 MetaMat (const uword in_rows, const uword in_cols, const uword in_elem)
 
 MetaMat (const MetaMat &)=default
 
 MetaMat (MetaMat &&) noexcept=delete
 
MetaMatoperator= (const MetaMat &)=delete
 
MetaMatoperator= (MetaMat &&) noexcept=delete
 
virtual ~MetaMat ()=default
 
void set_solver_setting (const SolverSetting< T > &SS)
 
SolverSetting< T > & get_solver_setting ()
 
void set_factored (const bool F)
 
void unify (const uword K)
 
virtual Tunsafe_at (const uword I, const uword J)
 Access element without bound check.
 
void operator+= (const shared_ptr< MetaMat > &M)
 
void operator-= (const shared_ptr< MetaMat > &M)
 
void operator+= (const op_scale< T > &M)
 
void operator-= (const op_scale< T > &M)
 
void operator+= (const triplet_form< T, uword > &M)
 
void operator-= (const triplet_form< T, uword > &M)
 
template<ArmaContainer< T > C>
int solve (Mat< T > &X, C &&B)
 
template<ArmaContainer< T > C>
Mat< Tsolve (C &&B)
 
void save (const char *name)
 
Col< Tevaluate (const Col< T > &X) const
 

Additional Inherited Members

- Public Attributes inherited from MetaMat< T >
triplet_form< T, uword > triplet_mat
 
const uword n_rows
 
const uword n_cols
 
const uword n_elem
 
- Protected Member Functions inherited from SparseMatBaseMUMPS< T >
int direct_solve (Mat< T > &X, Mat< T > &&B) override
 
int direct_solve (Mat< T > &X, const Mat< T > &B) override
 
- Protected Member Functions inherited from MetaMat< T >
int direct_solve (Mat< T > &X, const SpMat< T > &B)
 
int direct_solve (Mat< T > &X, SpMat< T > &&B)
 
int iterative_solve (Mat< T > &, const Mat< T > &)
 
int iterative_solve (Mat< T > &X, const SpMat< T > &B)
 
template<std::invocable< fmat & > F>
int mixed_trs (mat &X, mat &&B, F trs)
 
- Protected Attributes inherited from SparseMatBaseMUMPS< T >
triplet_form< T, uword > h_mat
 
- Protected Attributes inherited from MetaMat< T >
bool factored = false
 
SolverSetting< Tsetting {}
 

Detailed Description

template<sp_d T>
class SparseMatMUMPS< T >

A SparseMatMUMPS class that holds matrices.

  • MUMPS uses int.
Author
tlc
Date
14/08/2020
Version
0.1.0

Constructor & Destructor Documentation

◆ SparseMatMUMPS()

template<sp_d T>
SparseMatMUMPS< T >::SparseMatMUMPS ( const uword in_row,
const uword in_col,
const uword in_elem = 0 )
inline

Member Function Documentation

◆ make_copy()

template<sp_d T>
unique_ptr< MetaMat< T > > SparseMatMUMPS< T >::make_copy ( )
inlineoverridevirtual

Implements MetaMat< T >.


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