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

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

Functions

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

Detailed Description

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

Finds the greatest element in tensor_Dense tensor (max(C[0:nnz]))

Function Documentation

◆ max() [1/4]

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

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

Parameters
Cmonolish Dense matrix (size M x N)
Returns
greatest value
Note
  • # of computation: M*N
  • Multi-threading: true
  • GPU acceleration: true

◆ max() [2/4]

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

◆ max() [3/4]

double monolish::vml::max ( const tensor::tensor_Dense< double > &  C)

Finds the greatest element in tensor_Dense tensor (max(C[0:nnz]))

Parameters
Cmonolish tensor_Dense tensor
Returns
greatest value
Note
  • # of computation: size
  • Multi-threading: true
  • GPU acceleration: true

◆ max() [4/4]

float monolish::vml::max ( const tensor::tensor_Dense< float > &  C)