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

Finds the smallest element in CRS matrix (min(C[0:nnz])) More...

Functions

double monolish::vml::min (const matrix::CRS< double > &C)
 Finds the smallest element in CRS matrix (min(C[0:nnz])) More...
 
float monolish::vml::min (const matrix::CRS< float > &C)
 

Detailed Description

Finds the smallest element in CRS matrix (min(C[0:nnz]))

Function Documentation

◆ min() [1/2]

double monolish::vml::min ( const matrix::CRS< double > &  C)

Finds the smallest element in CRS matrix (min(C[0:nnz]))

Parameters
Cmonolish CRS matrix (size M x N)
Returns
smallest value
Note
  • # of computation: nnz
  • Multi-threading: true
  • GPU acceleration: true
Warning
A, B, and C must be same non-zero structure

◆ min() [2/2]

float monolish::vml::min ( const matrix::CRS< float > &  C)