monolish
0.17.3-dev.16
MONOlithic LInear equation Solvers for Highly-parallel architecture
|
Asymmetric linear operation to CRS matrix elements (C[0:nnz] = alpha max(A[0:nnz], 0) + beta min(A[0:nnz], 0)) More...
Functions | |
void | monolish::vml::alo (const matrix::CRS< double > &A, const double alpha, const double beta, matrix::CRS< double > &C) |
Asymmetric linear operation to CRS matrix elements (C[0:nnz] = alpha max(A[0:nnz], 0) + beta min(A[0:nnz], 0)) More... | |
void | monolish::vml::alo (const matrix::CRS< float > &A, const float alpha, const float beta, matrix::CRS< float > &C) |
Asymmetric linear operation to CRS matrix elements (C[0:nnz] = alpha max(A[0:nnz], 0) + beta min(A[0:nnz], 0))
void monolish::vml::alo | ( | const matrix::CRS< double > & | A, |
const double | alpha, | ||
const double | beta, | ||
matrix::CRS< double > & | C | ||
) |
Asymmetric linear operation to CRS matrix elements (C[0:nnz] = alpha max(A[0:nnz], 0) + beta min(A[0:nnz], 0))
A | monolish CRS matrix (size M x N) |
alpha | linear coefficient in positive range |
beta | linear coefficient in negative range |
C | monolish CRS matrix (size M x N) |
void monolish::vml::alo | ( | const matrix::CRS< float > & | A, |
const float | alpha, | ||
const float | beta, | ||
matrix::CRS< float > & | C | ||
) |