monolish  0.14.0
MONOlithic LIner equation Solvers for Highly-parallel architecture
Namespaces | Functions
monolish_matrix_blas.hpp File Reference
#include "../common/monolish_common.hpp"

Go to the source code of this file.

Namespaces

 monolish
 
 monolish::blas
 Basic Linear Algebra Subprograms for Dense Matrix, Sparse Matrix, Vector and Scalar.
 

Functions

void monolish::blas::copy (const matrix::CRS< double > &A, matrix::CRS< double > &C)
 CRS matrix copy (y=a) More...
 
void monolish::blas::copy (const matrix::CRS< float > &A, matrix::CRS< float > &C)
 
void monolish::blas::copy (const matrix::Dense< double > &A, matrix::Dense< double > &C)
 Dense matrix copy (C=A) More...
 
void monolish::blas::copy (const matrix::Dense< float > &A, matrix::Dense< float > &C)
 
void monolish::blas::copy (const matrix::LinearOperator< double > &A, matrix::LinearOperator< double > &C)
 LinearOperator copy (C=A) More...
 
void monolish::blas::copy (const matrix::LinearOperator< float > &A, matrix::LinearOperator< float > &C)
 
void monolish::blas::matadd (const matrix::CRS< double > &A, const matrix::CRS< double > &B, matrix::CRS< double > &C)
 CRS matrix addition: C = A + B (A and B must be same non-zero structure) More...
 
void monolish::blas::matadd (const matrix::CRS< float > &A, const matrix::CRS< float > &B, matrix::CRS< float > &C)
 
void monolish::blas::matadd (const matrix::Dense< double > &A, const matrix::Dense< double > &B, matrix::Dense< double > &C)
 Dense matrix addition: C = A + B. More...
 
void monolish::blas::matadd (const matrix::Dense< float > &A, const matrix::Dense< float > &B, matrix::Dense< float > &C)
 
void monolish::blas::matadd (const matrix::LinearOperator< double > &A, const matrix::LinearOperator< double > &B, matrix::LinearOperator< double > &C)
 LinearOperator addition: C = A + B. More...
 
void monolish::blas::matadd (const matrix::LinearOperator< float > &A, const matrix::LinearOperator< float > &B, matrix::LinearOperator< float > &C)
 
void monolish::blas::matmul (const matrix::CRS< double > &A, const matrix::Dense< double > &B, matrix::Dense< double > &C)
 CRS and Dense matrix multiplication: C = AB. More...
 
void monolish::blas::matmul (const matrix::CRS< float > &A, const matrix::Dense< float > &B, matrix::Dense< float > &C)
 
void monolish::blas::matmul (const matrix::Dense< double > &A, const matrix::Dense< double > &B, matrix::Dense< double > &C)
 Dense matrix multiplication: C = AB. More...
 
void monolish::blas::matmul (const matrix::Dense< float > &A, const matrix::Dense< float > &B, matrix::Dense< float > &C)
 
void monolish::blas::matmul (const matrix::LinearOperator< double > &A, const matrix::LinearOperator< double > &B, matrix::LinearOperator< double > &C)
 LinearOperator multiplication: C = AB. More...
 
void monolish::blas::matmul (const matrix::LinearOperator< float > &A, const matrix::LinearOperator< float > &B, matrix::LinearOperator< float > &C)
 
void monolish::blas::matsub (const matrix::CRS< double > &A, const matrix::CRS< double > &B, matrix::CRS< double > &C)
 CRS matrix subtract: C = A - B (A and B must be same non-zero structure) More...
 
void monolish::blas::matsub (const matrix::CRS< float > &A, const matrix::CRS< float > &B, matrix::CRS< float > &C)
 
void monolish::blas::matsub (const matrix::Dense< double > &A, const matrix::Dense< double > &B, matrix::Dense< double > &C)
 Dense matrix subtract: C = A - B. More...
 
void monolish::blas::matsub (const matrix::Dense< float > &A, const matrix::Dense< float > &B, matrix::Dense< float > &C)
 
void monolish::blas::matsub (const matrix::LinearOperator< double > &A, const matrix::LinearOperator< double > &B, matrix::LinearOperator< double > &C)
 LinearOperator subtract: C = A - B. More...
 
void monolish::blas::matsub (const matrix::LinearOperator< float > &A, const matrix::LinearOperator< float > &B, matrix::LinearOperator< float > &C)
 
void monolish::blas::mscal (const double alpha, matrix::CRS< double > &A)
 CRS matrix scal: A = alpha * A. More...
 
void monolish::blas::mscal (const double alpha, matrix::Dense< double > &A)
 Densematrix scal: A = alpha * A. More...
 
void monolish::blas::mscal (const float alpha, matrix::CRS< float > &A)
 
void monolish::blas::mscal (const float alpha, matrix::Dense< float > &A)