| 
    monolish
    0.14.0
    
   MONOlithic LIner equation Solvers for Highly-parallel architecture 
   | 
 
 
 
 
Go to the documentation of this file.    1 #include "../../../include/monolish_blas.hpp" 
    2 #include "../../../include/monolish_vml.hpp" 
    3 #include "../../internal/monolish_internal.hpp" 
 
bool is_same_size(const T &x, const U &y)
compare size of vector or 1Dview (same as is_same_structure())
 
void set_rmatvec(const std::function< vector< Float >(const vector< Float > &)> &RMATVEC)
set multiplication function of (Hermitian) transposed matrix and vector
 
Linear Operator imitating Matrix.
 
void rmatvec(const matrix::LinearOperator< double > &A, const vector< double > &x, vector< double > &y)
matrix (LinearOperator) and vector multiplication: y = Ax
 
logger class (singleton, for developper class)
 
void axpy(const double alpha, const vector< double > &x, vector< double > &y)
axpy: y = ax + y
 
bool get_device_mem_stat() const
true: sended, false: not send
 
void sub(const matrix::CRS< double > &A, const matrix::CRS< double > &B, matrix::CRS< double > &C)
element by element subtract CRS matrix A and CRS matrix B.
 
size_t get_col() const
get # of col
 
auto device_free(T &x)
free data of GPU
 
bool is_same_device_mem_stat(const T &arg1, const U &arg2)
compare same device memory status
 
bool get_matvec_init_flag() const
get flag that shows matvec is defined or not
 
size_t get_row() const
get # of row
 
void matvec(const matrix::Dense< double > &A, const vector< double > &x, vector< double > &y)
Dense matrix and vector multiplication: y = Ax.
 
void add(const matrix::CRS< double > &A, const matrix::CRS< double > &B, matrix::CRS< double > &C)
element by element addition CRS matrix A and CRS matrix B.
 
void set_matvec(const std::function< vector< Float >(const vector< Float > &)> &MATVEC)
set multiplication function of matrix and vector
 
auto send(T &x)
send data to GPU
 
static Logger & get_instance()
 
bool get_rmatvec_init_flag() const
get flag that shows rmatvec is defined or not
 
void func_in(const std::string func_name)