monolish  0.16.0
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 
35 void add(const matrix::LinearOperator<double> &A,
36  const matrix::LinearOperator<double> &B,
37  matrix::LinearOperator<double> &C);
38 void add(const matrix::LinearOperator<float> &A,
39  const matrix::LinearOperator<float> &B,
40  matrix::LinearOperator<float> &C);
60 void sub(const matrix::LinearOperator<double> &A,
61  const matrix::LinearOperator<double> &B,
62  matrix::LinearOperator<double> &C);
63 void sub(const matrix::LinearOperator<float> &A,
64  const matrix::LinearOperator<float> &B,
65  matrix::LinearOperator<float> &C);
83 void add(const matrix::LinearOperator<double> &A, const double &alpha,
84  matrix::LinearOperator<double> &C);
85 void add(const matrix::LinearOperator<float> &A, const float &alpha,
86  matrix::LinearOperator<float> &C);
104 void sub(const matrix::LinearOperator<double> &A, const double &alpha,
105  matrix::LinearOperator<double> &C);
106 void sub(const matrix::LinearOperator<float> &A, const float &alpha,
107  matrix::LinearOperator<float> &C);
127 void mul(const matrix::LinearOperator<double> &A, const double &alpha,
128  matrix::LinearOperator<double> &C);
129 void mul(const matrix::LinearOperator<float> &A, const float &alpha,
130  matrix::LinearOperator<float> &C);
148 void div(const matrix::LinearOperator<double> &A, const double &alpha,
149  matrix::LinearOperator<double> &C);
150 void div(const matrix::LinearOperator<float> &A, const float &alpha,
151  matrix::LinearOperator<float> &C);
154 } // namespace vml
155 } // namespace monolish
monolish::vml::sub
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::vml::div
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.
monolish::vml::add
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.
monolish
monolish namespaces
Definition: monolish_matrix_blas.hpp:5
monolish::vml::mul
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.