monolish
0.17.3-dev.16
MONOlithic LInear equation Solvers for Highly-parallel architecture
|
Create a new CRS matrix with greatest elements of CRS matrix or scalar (C[0:nnz] = max(A[0:nnz], alpha)) More...
Functions | |
void | monolish::vml::max (const matrix::CRS< double > &A, const double alpha, matrix::CRS< double > &C) |
Create a new CRS matrix with greatest elements of CRS matrix or scalar (C[0:nnz] = max(A[0:nnz], alpha)) More... | |
void | monolish::vml::max (const matrix::CRS< float > &A, const float alpha, matrix::CRS< float > &C) |
Create a new CRS matrix with greatest elements of CRS matrix or scalar (C[0:nnz] = max(A[0:nnz], alpha))
void monolish::vml::max | ( | const matrix::CRS< double > & | A, |
const double | alpha, | ||
matrix::CRS< double > & | C | ||
) |
Create a new CRS matrix with greatest elements of CRS matrix or scalar (C[0:nnz] = max(A[0:nnz], alpha))
A | monolish CRS matrix (size M x N) |
alpha | scalar value |
C | monolish CRS matrix (size M x N) |
void monolish::vml::max | ( | const matrix::CRS< float > & | A, |
const float | alpha, | ||
matrix::CRS< float > & | C | ||
) |