monolish
0.17.3-dev.23
MONOlithic LInear equation Solvers for Highly-parallel architecture
|
#include "../common/monolish_common.hpp"
Go to the source code of this file.
Namespaces | |
monolish | |
monolish namespaces | |
monolish::vml | |
Vector and Matrix element-wise math library. | |
Functions | |
void | monolish::vml::add (const tensor::tensor_CRS< double > &A, const double alpha, tensor::tensor_CRS< double > &C) |
element by element addition scalar alpha and tensor_CRS matrix A. More... | |
void | monolish::vml::add (const tensor::tensor_CRS< double > &A, const tensor::tensor_CRS< double > &B, tensor::tensor_CRS< double > &C) |
element by element addition tensor_CRS matrix A and tensor_CRS matrix B. More... | |
void | monolish::vml::add (const tensor::tensor_CRS< float > &A, const float alpha, tensor::tensor_CRS< float > &C) |
void | monolish::vml::add (const tensor::tensor_CRS< float > &A, const tensor::tensor_CRS< float > &B, tensor::tensor_CRS< float > &C) |
void | monolish::vml::alo (const tensor::tensor_CRS< double > &A, const double alpha, const double beta, tensor::tensor_CRS< double > &C) |
Asymmetric linear operation to tensor_CRS matrix elements (C[0:nnz] = alpha max(A[0:nnz], 0) + beta min(A[0:nnz], 0)) More... | |
void | monolish::vml::alo (const tensor::tensor_CRS< float > &A, const float alpha, const float beta, tensor::tensor_CRS< float > &C) |
void | monolish::vml::asin (const tensor::tensor_CRS< double > &A, tensor::tensor_CRS< double > &C) |
asin to tensor_CRS matrix elements (C[0:nnz] = asin(A[0:nnz])) More... | |
void | monolish::vml::asin (const tensor::tensor_CRS< float > &A, tensor::tensor_CRS< float > &C) |
void | monolish::vml::asinh (const tensor::tensor_CRS< double > &A, tensor::tensor_CRS< double > &C) |
asinh to tensor_CRS matrix elements (C[0:nnz] = asinh(A[0:nnz])) More... | |
void | monolish::vml::asinh (const tensor::tensor_CRS< float > &A, tensor::tensor_CRS< float > &C) |
void | monolish::vml::atan (const tensor::tensor_CRS< double > &A, tensor::tensor_CRS< double > &C) |
atan to tensor_CRS matrix elements (C[0:nnz] = atan(A[0:nnz])) More... | |
void | monolish::vml::atan (const tensor::tensor_CRS< float > &A, tensor::tensor_CRS< float > &C) |
void | monolish::vml::atanh (const tensor::tensor_CRS< double > &A, tensor::tensor_CRS< double > &C) |
atanh to tensor_CRS matrix elements (C[0:nnz] = atanh(A[0:nnz])) More... | |
void | monolish::vml::atanh (const tensor::tensor_CRS< float > &A, tensor::tensor_CRS< float > &C) |
void | monolish::vml::ceil (const tensor::tensor_CRS< double > &A, tensor::tensor_CRS< double > &C) |
ceil to tensor_CRS matrix elements (C[0:nnz] = ceil(A[0:nnz])) More... | |
void | monolish::vml::ceil (const tensor::tensor_CRS< float > &A, tensor::tensor_CRS< float > &C) |
void | monolish::vml::div (const tensor::tensor_CRS< double > &A, const double alpha, tensor::tensor_CRS< double > &C) |
element by element division scalar alpha and tensor_CRS matrix A. More... | |
void | monolish::vml::div (const tensor::tensor_CRS< double > &A, const tensor::tensor_CRS< double > &B, tensor::tensor_CRS< double > &C) |
element by element division tensor_CRS matrix A and tensor_CRS matrix B. More... | |
void | monolish::vml::div (const tensor::tensor_CRS< float > &A, const float alpha, tensor::tensor_CRS< float > &C) |
void | monolish::vml::div (const tensor::tensor_CRS< float > &A, const tensor::tensor_CRS< float > &B, tensor::tensor_CRS< float > &C) |
void | monolish::vml::floor (const tensor::tensor_CRS< double > &A, tensor::tensor_CRS< double > &C) |
floor to tensor_CRS matrix elements (C[0:nnz] = floor(A[0:nnz])) More... | |
void | monolish::vml::floor (const tensor::tensor_CRS< float > &A, tensor::tensor_CRS< float > &C) |
void | monolish::vml::max (const tensor::tensor_CRS< double > &A, const double alpha, tensor::tensor_CRS< double > &C) |
Create a new tensor_CRS matrix with greatest elements of tensor_CRS matrix or scalar (C[0:nnz] = max(A[0:nnz], alpha)) More... | |
void | monolish::vml::max (const tensor::tensor_CRS< double > &A, const tensor::tensor_CRS< double > &B, tensor::tensor_CRS< double > &C) |
Create a new tensor_CRS matrix with greatest elements of two matrices (C[0:nnz] = max(A[0:nnz], B[0:nnz])) More... | |
double | monolish::vml::max (const tensor::tensor_CRS< double > &C) |
Finds the greatest element in tensor_CRS matrix (max(C[0:nnz])) More... | |
void | monolish::vml::max (const tensor::tensor_CRS< float > &A, const float alpha, tensor::tensor_CRS< float > &C) |
void | monolish::vml::max (const tensor::tensor_CRS< float > &A, const tensor::tensor_CRS< float > &B, tensor::tensor_CRS< float > &C) |
float | monolish::vml::max (const tensor::tensor_CRS< float > &C) |
void | monolish::vml::min (const tensor::tensor_CRS< double > &A, const double alpha, tensor::tensor_CRS< double > &C) |
Create a new tensor_CRS matrix with smallest elements of tensor_CRS matrix or scalar (C[0:nnz] = min(A[0:nnz], alpha)) More... | |
void | monolish::vml::min (const tensor::tensor_CRS< double > &A, const tensor::tensor_CRS< double > &B, tensor::tensor_CRS< double > &C) |
Create a new tensor_CRS matrix with smallest elements of two matrices (C[0:nnz] = min(A[0:nnz], B[0:nnz])) More... | |
double | monolish::vml::min (const tensor::tensor_CRS< double > &C) |
Finds the smallest element in tensor_CRS matrix (min(C[0:nnz])) More... | |
void | monolish::vml::min (const tensor::tensor_CRS< float > &A, const float alpha, tensor::tensor_CRS< float > &C) |
void | monolish::vml::min (const tensor::tensor_CRS< float > &A, const tensor::tensor_CRS< float > &B, tensor::tensor_CRS< float > &C) |
float | monolish::vml::min (const tensor::tensor_CRS< float > &C) |
void | monolish::vml::mul (const tensor::tensor_CRS< double > &A, const double alpha, tensor::tensor_CRS< double > &C) |
element by element multiplication scalar alpha and tensor_CRS matrix A. More... | |
void | monolish::vml::mul (const tensor::tensor_CRS< double > &A, const tensor::tensor_CRS< double > &B, tensor::tensor_CRS< double > &C) |
element by element multiplication tensor_CRS matrix A and tensor_CRS matrix B. More... | |
void | monolish::vml::mul (const tensor::tensor_CRS< float > &A, const float alpha, tensor::tensor_CRS< float > &C) |
void | monolish::vml::mul (const tensor::tensor_CRS< float > &A, const tensor::tensor_CRS< float > &B, tensor::tensor_CRS< float > &C) |
void | monolish::vml::pow (const tensor::tensor_CRS< double > &A, const double alpha, tensor::tensor_CRS< double > &C) |
power to tensor_CRS matrix elements by scalar value (C[0:N] = pow(A[0:N], alpha)) More... | |
void | monolish::vml::pow (const tensor::tensor_CRS< double > &A, const tensor::tensor_CRS< double > &B, tensor::tensor_CRS< double > &C) |
power to tensor_CRS matrix elements (C[0:N] = pow(A[0:N], B[0:N])) More... | |
void | monolish::vml::pow (const tensor::tensor_CRS< float > &A, const float alpha, tensor::tensor_CRS< float > &C) |
void | monolish::vml::pow (const tensor::tensor_CRS< float > &A, const tensor::tensor_CRS< float > &B, tensor::tensor_CRS< float > &C) |
void | monolish::vml::reciprocal (const tensor::tensor_CRS< double > &A, tensor::tensor_CRS< double > &C) |
reciprocal to tensor_CRS matrix elements (C[0:nnz] = 1 / A[0:nnz]) More... | |
void | monolish::vml::reciprocal (const tensor::tensor_CRS< float > &A, tensor::tensor_CRS< float > &C) |
void | monolish::vml::sign (const tensor::tensor_CRS< double > &A, tensor::tensor_CRS< double > &C) |
sign to tensor_CRS matrix elements (C[0:nnz] = sign(A[0:nnz])) More... | |
void | monolish::vml::sign (const tensor::tensor_CRS< float > &A, tensor::tensor_CRS< float > &C) |
void | monolish::vml::sin (const tensor::tensor_CRS< double > &A, tensor::tensor_CRS< double > &C) |
sin to tensor_CRS matrix elements (C[0:nnz] = sin(A[0:nnz])) More... | |
void | monolish::vml::sin (const tensor::tensor_CRS< float > &A, tensor::tensor_CRS< float > &C) |
void | monolish::vml::sinh (const tensor::tensor_CRS< double > &A, tensor::tensor_CRS< double > &C) |
sinh to tensor_CRS matrix elements (C[0:nnz] = sinh(A[0:nnz])) More... | |
void | monolish::vml::sinh (const tensor::tensor_CRS< float > &A, tensor::tensor_CRS< float > &C) |
void | monolish::vml::sqrt (const tensor::tensor_CRS< double > &A, tensor::tensor_CRS< double > &C) |
sqrt to tensor_CRS matrix elements (C[0:nnz] = sqrt(A[0:nnz])) More... | |
void | monolish::vml::sqrt (const tensor::tensor_CRS< float > &A, tensor::tensor_CRS< float > &C) |
void | monolish::vml::sub (const tensor::tensor_CRS< double > &A, const double alpha, tensor::tensor_CRS< double > &C) |
element by element subtract scalar alpha and tensor_CRS matrix A. More... | |
void | monolish::vml::sub (const tensor::tensor_CRS< double > &A, const tensor::tensor_CRS< double > &B, tensor::tensor_CRS< double > &C) |
element by element subtract tensor_CRS matrix A and tensor_CRS matrix B. More... | |
void | monolish::vml::sub (const tensor::tensor_CRS< float > &A, const float alpha, tensor::tensor_CRS< float > &C) |
void | monolish::vml::sub (const tensor::tensor_CRS< float > &A, const tensor::tensor_CRS< float > &B, tensor::tensor_CRS< float > &C) |
void | monolish::vml::tan (const tensor::tensor_CRS< double > &A, tensor::tensor_CRS< double > &C) |
tan to tensor_CRS matrix elements (C[0:nnz] = tan(A[0:nnz])) More... | |
void | monolish::vml::tan (const tensor::tensor_CRS< float > &A, tensor::tensor_CRS< float > &C) |
void | monolish::vml::tanh (const tensor::tensor_CRS< double > &A, tensor::tensor_CRS< double > &C) |
tanh to tensor_CRS matrix elements (C[0:nnz] = tanh(A[0:nnz])) More... | |
void | monolish::vml::tanh (const tensor::tensor_CRS< float > &A, tensor::tensor_CRS< float > &C) |