monolish  0.17.3-dev.16
MONOlithic LInear equation Solvers for Highly-parallel architecture
monolish_linearoperator_vml.hpp
Go to the documentation of this file.
1 // this code is generated by gen_linearoperator_vml.sh
2 #pragma once
3 
4 #include "../common/monolish_common.hpp"
5 
6 namespace monolish {
11 namespace vml {
12 
83 void add(const matrix::LinearOperator<double> &A, const double &alpha,
85 void add(const matrix::LinearOperator<float> &A, const float &alpha,
104 void sub(const matrix::LinearOperator<double> &A, const double &alpha,
106 void sub(const matrix::LinearOperator<float> &A, const float &alpha,
127 void mul(const matrix::LinearOperator<double> &A, const double &alpha,
129 void mul(const matrix::LinearOperator<float> &A, const float &alpha,
148 void div(const matrix::LinearOperator<double> &A, const double &alpha,
150 void div(const matrix::LinearOperator<float> &A, const float &alpha,
154 } // namespace vml
155 } // namespace monolish
Linear Operator imitating Matrix.
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 div(const matrix::CRS< double > &A, const matrix::CRS< double > &B, matrix::CRS< double > &C)
element by element division CRS matrix A and CRS matrix B.
void mul(const matrix::CRS< double > &A, const matrix::CRS< double > &B, matrix::CRS< double > &C)
element by element multiplication CRS matrix A and CRS matrix B.
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.
monolish namespaces