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

A BandMatSpike class that holds matrices. More...

#include <BandMatSpike.hpp>

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

Public Member Functions

 BandMatSpike (uword, uword, uword)
 
unique_ptr< MetaMat< T > > make_copy () override
 
void unify (uword) override
 
void nullify (uword) override
 
const Toperator() (uword, uword) const override
 Access element (read-only), returns zero if out-of-bound. More...
 
Tat (uword, uword) override
 Access element with bound check. More...
 
Mat< Toperator* (const Mat< T > &) const override
 
int direct_solve (Mat< T > &, Mat< T > &&) override
 
int direct_solve (Mat< T > &, const Mat< T > &) override
 
int sign_det () const override
 
- Public Member Functions inherited from DenseMat< T >
 DenseMat (uword, uword, uword)
 
 DenseMat (const DenseMat &)
 
 DenseMat (DenseMat &&) noexcept
 
DenseMatoperator= (const DenseMat &)
 
DenseMatoperator= (DenseMat &&) noexcept
 
 ~DenseMat () override
 
bool is_empty () const override
 
void zeros () override
 
T max () const override
 
Col< Tdiag () const override
 
const Tmemptr () const override
 
Tmemptr () override
 
void operator+= (const shared_ptr< MetaMat< T > > &) override
 
void operator-= (const shared_ptr< MetaMat< T > > &) override
 
void operator+= (const triplet_form< T, uword > &) override
 
void operator-= (const triplet_form< T, uword > &) override
 
void operator*= (T) override
 
int sign_det () const override
 
- Public Member Functions inherited from MetaMat< T >
 MetaMat (uword, uword, uword)
 
 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 > &)
 
SolverSetting< T > & get_solver_setting ()
 
void set_factored (bool)
 
virtual bool is_empty () const =0
 
virtual void zeros ()=0
 
virtual unique_ptr< MetaMatmake_copy ()=0
 
virtual void unify (uword)=0
 
virtual void nullify (uword)=0
 
virtual T max () const =0
 
virtual Col< Tdiag () const =0
 
virtual const Toperator() (uword, uword) const =0
 Access element (read-only), returns zero if out-of-bound. More...
 
virtual Tunsafe_at (uword, uword)
 Access element without bound check. More...
 
virtual Tat (uword, uword)=0
 Access element with bound check. More...
 
virtual const Tmemptr () const =0
 
virtual Tmemptr ()=0
 
virtual void operator+= (const shared_ptr< MetaMat > &)=0
 
virtual void operator-= (const shared_ptr< MetaMat > &)=0
 
virtual void operator+= (const triplet_form< T, uword > &)=0
 
virtual void operator-= (const triplet_form< T, uword > &)=0
 
virtual Mat< Toperator* (const Mat< T > &) const =0
 
virtual void operator*= (T)=0
 
template<ArmaContainer< T > C>
Mat< Tsolve (const C &B)
 
template<ArmaContainer< T > C>
Mat< Tsolve (C &&B)
 
template<ArmaContainer< T > C>
int solve (Mat< T > &X, const C &B)
 
template<ArmaContainer< T > C>
int solve (Mat< T > &X, C &&B)
 
template<ArmaContainer< T > C>
Mat< Tdirect_solve (const C &B)
 
template<ArmaContainer< T > C>
Mat< Tdirect_solve (C &&B)
 
virtual int direct_solve (Mat< T > &, const Mat< T > &)=0
 
virtual int direct_solve (Mat< T > &, const SpMat< T > &)
 
virtual int direct_solve (Mat< T > &, Mat< T > &&)
 
virtual int direct_solve (Mat< T > &, SpMat< T > &&)
 
virtual int sign_det () const =0
 
void save (const char *)
 
virtual void csc_condense ()
 
virtual void csr_condense ()
 
Mat< Titerative_solve (const Mat< T > &)
 
Mat< Titerative_solve (const SpMat< T > &)
 
virtual int iterative_solve (Mat< T > &, const Mat< T > &)
 
int iterative_solve (Mat< T > &, const SpMat< T > &)
 
Col< Tevaluate (const Col< T > &) 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 DenseMat< T >
podarray< float > to_float ()
 
- Protected Attributes inherited from DenseMat< T >
podarray< int > pivot
 
podarray< float > s_memory
 
const T *const memory = nullptr
 
- Protected Attributes inherited from MetaMat< T >
bool factored = false
 
SolverSetting< Tsetting {}
 

Detailed Description

template<sp_d T>
class BandMatSpike< T >

A BandMatSpike class that holds matrices.

Author
tlc
Date
08/01/2020
Version
0.1.0

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