monolish  0.17.3-dev.16
MONOlithic LInear equation Solvers for Highly-parallel architecture
Functions
monolish::blas::mscal (CRS)

CRS matrix scal: A = alpha * A. More...

Functions

void monolish::blas::mscal (const double alpha, matrix::CRS< double > &A)
 CRS matrix scal: A = alpha * A. More...
 
void monolish::blas::mscal (const float alpha, matrix::CRS< float > &A)
 

Detailed Description

CRS matrix scal: A = alpha * A.

Function Documentation

◆ mscal() [1/2]

void monolish::blas::mscal ( const double  alpha,
matrix::CRS< double > &  A 
)

CRS matrix scal: A = alpha * A.

Parameters
alphascalar value
ACRS matrix (size M x N)
Note
  • # of computation: MN
  • Multi-threading: true
  • GPU acceleration: true
    • # of data transfer: 0

◆ mscal() [2/2]

void monolish::blas::mscal ( const float  alpha,
matrix::CRS< float > &  A 
)