monolish  0.17.3-dev.16
MONOlithic LInear equation Solvers for Highly-parallel architecture
Functions
monolish::vml::div

element by element division scalar alpha and CRS matrix A. More...

Functions

void monolish::vml::div (const matrix::CRS< double > &A, const double alpha, matrix::CRS< double > &C)
 element by element division scalar alpha and CRS matrix A. More...
 
void monolish::vml::div (const matrix::CRS< float > &A, const float alpha, matrix::CRS< float > &C)
 

Detailed Description

element by element division scalar alpha and CRS matrix A.

Function Documentation

◆ div() [1/2]

void monolish::vml::div ( const matrix::CRS< double > &  A,
const double  alpha,
matrix::CRS< double > &  C 
)

element by element division scalar alpha and CRS matrix A.

Parameters
Amonolish CRS Matrix (size M x N)
alphascalar value
Cmonolish CRS Matrix (size M x N)
Note
  • # of computation: nnz
  • Multi-threading: true
  • GPU acceleration: true
    • # of data transfer: 0
Warning
A, B, and C must be same non-zero structure

◆ div() [2/2]

void monolish::vml::div ( const matrix::CRS< float > &  A,
const float  alpha,
matrix::CRS< float > &  C 
)