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

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

Functions

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

Detailed Description

Finds the greatest element in CRS matrix (max(C[0:nnz]))

Function Documentation

◆ max() [1/2]

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

Finds the greatest element in CRS matrix (max(C[0:nnz]))

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

◆ max() [2/2]

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