monolish  0.17.1
MONOlithic LInear equation Solvers for Highly-parallel architecture
monolish_tensmat_blas.hpp
Go to the documentation of this file.
1 // this code is generated by gen_tensmat_blas.sh
2 #pragma once
3 #include "../common/monolish_common.hpp"
4 
5 namespace monolish {
11 namespace blas {
12 
58 void tensmat(const double &a, const tensor::tensor_Dense<double> &A,
59  const matrix::Dense<double> &x, const double &b,
61 void tensmat(const float &a, const tensor::tensor_Dense<float> &A,
62  const matrix::Dense<float> &x, const float &b,
67 } // namespace blas
68 } // namespace monolish
Dense format Matrix.
void tensmat(const tensor::tensor_Dense< double > &A, const matrix::Dense< double > &x, tensor::tensor_Dense< double > &y)
tensor_Dense tensor and matrix multiplication: ex. y_{ijl} = A_{ijk} x_{kl}
monolish namespaces