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

Finds the greatest element in vector (max(y[0:N])) More...

Functions

double monolish::vml::max (const vector< double > &y)
 Finds the greatest element in vector (max(y[0:N])) More...
 
float monolish::vml::max (const vector< float > &y)
 
double monolish::vml::max (const view1D< matrix::Dense< double >, double > &y)
 
float monolish::vml::max (const view1D< matrix::Dense< float >, float > &y)
 
double monolish::vml::max (const view1D< tensor::tensor_Dense< double >, double > &y)
 
float monolish::vml::max (const view1D< tensor::tensor_Dense< float >, float > &y)
 
double monolish::vml::max (const view1D< vector< double >, double > &y)
 
float monolish::vml::max (const view1D< vector< float >, float > &y)
 

Detailed Description

Finds the greatest element in vector (max(y[0:N]))

Function Documentation

◆ max() [1/8]

double monolish::vml::max ( const vector< double > &  y)

Finds the greatest element in vector (max(y[0:N]))

Parameters
ymonolish vector (size N)
Returns
greatest value
Note
  • # of computation: N
  • Multi-threading: true
  • GPU acceleration: true

◆ max() [2/8]

float monolish::vml::max ( const vector< float > &  y)

◆ max() [3/8]

double monolish::vml::max ( const view1D< matrix::Dense< double >, double > &  y)

◆ max() [4/8]

float monolish::vml::max ( const view1D< matrix::Dense< float >, float > &  y)

◆ max() [5/8]

double monolish::vml::max ( const view1D< tensor::tensor_Dense< double >, double > &  y)

◆ max() [6/8]

float monolish::vml::max ( const view1D< tensor::tensor_Dense< float >, float > &  y)

◆ max() [7/8]

double monolish::vml::max ( const view1D< vector< double >, double > &  y)

◆ max() [8/8]

float monolish::vml::max ( const view1D< vector< float >, float > &  y)