monolish  0.17.1
MONOlithic LInear equation Solvers for Highly-parallel architecture
monolish_mattens_blas.hpp
Go to the documentation of this file.
1 // this code is generated by gen_mattens_blas.sh
2 #pragma once
3 #include "../common/monolish_common.hpp"
4 
5 namespace monolish {
11 namespace blas {
12 
60 void mattens(const double &a, const matrix::Dense<double> &A,
61  const tensor::tensor_Dense<double> &x, const double &b,
63 void mattens(const float &a, const matrix::Dense<float> &A,
64  const tensor::tensor_Dense<float> &x, const float &b,
109 void mattens(const double &a, const matrix::CRS<double> &A,
110  const tensor::tensor_Dense<double> &x, const double &b,
112 void mattens(const float &a, const matrix::CRS<float> &A,
113  const tensor::tensor_Dense<float> &x, const float &b,
118 } // namespace blas
119 } // namespace monolish
Compressed Row Storage (CRS) format Matrix.
Dense format Matrix.
void mattens(const matrix::Dense< double > &A, const tensor::tensor_Dense< double > &x, tensor::tensor_Dense< double > &y)
matrix and tensor_Dense tensor multiplication: ex. y_{ikl} = A_{ij} x_{jkl}
monolish namespaces