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 "../../../internal/monolish_internal.hpp"
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)
bool get_device_mem_stat() const
true: sended, false: not send
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 set_matvec(const std::function< vector< Float >(const vector< Float > &)> &MATVEC)
set multiplication function of matrix and vector
void matmul(const matrix::Dense< double > &A, const matrix::Dense< double > &B, matrix::Dense< double > &C)
Dense matrix multiplication: C = AB.
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)