monolish  0.17.1
MONOlithic LInear equation Solvers for Highly-parallel architecture
Functions
monolish::vml::min

Create a new CRS matrix with smallest elements of two matrices (C[0:nnz] = min(A[0:nnz], B[0:nnz])) More...

Functions

void monolish::vml::min (const matrix::CRS< double > &A, const matrix::CRS< double > &B, matrix::CRS< double > &C)
 Create a new CRS matrix with smallest elements of two matrices (C[0:nnz] = min(A[0:nnz], B[0:nnz])) More...
 
void monolish::vml::min (const matrix::CRS< float > &A, const matrix::CRS< float > &B, matrix::CRS< float > &C)
 

Detailed Description

Create a new CRS matrix with smallest elements of two matrices (C[0:nnz] = min(A[0:nnz], B[0:nnz]))

Function Documentation

◆ min() [1/2]

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

Create a new CRS matrix with smallest elements of two matrices (C[0:nnz] = min(A[0:nnz], B[0:nnz]))

Parameters
Amonolish CRS matrix (size M x N)
Bmonolish CRS matrix (size M x N)
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
Here is the caller graph for this function:

◆ min() [2/2]

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