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

Create a new vector with greatest elements of vector or scalar (y[0:N] = max(a[0:N], alpha)) More...

Functions

void monolish::vml::max (const vector< double > &a, const double alpha, vector< double > &y)
 Create a new vector with greatest elements of vector or scalar (y[0:N] = max(a[0:N], alpha)) More...
 
void monolish::vml::max (const vector< double > &a, const double alpha, view1D< matrix::Dense< double >, double > &y)
 
void monolish::vml::max (const vector< double > &a, const double alpha, view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::vml::max (const vector< double > &a, const double alpha, view1D< vector< double >, double > &y)
 
void monolish::vml::max (const vector< float > &a, const float alpha, vector< float > &y)
 
void monolish::vml::max (const vector< float > &a, const float alpha, view1D< matrix::Dense< float >, float > &y)
 
void monolish::vml::max (const vector< float > &a, const float alpha, view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::vml::max (const vector< float > &a, const float alpha, view1D< vector< float >, float > &y)
 
void monolish::vml::max (const view1D< matrix::Dense< double >, double > &a, const double alpha, vector< double > &y)
 
void monolish::vml::max (const view1D< matrix::Dense< double >, double > &a, const double alpha, view1D< matrix::Dense< double >, double > &y)
 
void monolish::vml::max (const view1D< matrix::Dense< double >, double > &a, const double alpha, view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::vml::max (const view1D< matrix::Dense< double >, double > &a, const double alpha, view1D< vector< double >, double > &y)
 
void monolish::vml::max (const view1D< matrix::Dense< float >, float > &a, const float alpha, vector< float > &y)
 
void monolish::vml::max (const view1D< matrix::Dense< float >, float > &a, const float alpha, view1D< matrix::Dense< float >, float > &y)
 
void monolish::vml::max (const view1D< matrix::Dense< float >, float > &a, const float alpha, view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::vml::max (const view1D< matrix::Dense< float >, float > &a, const float alpha, view1D< vector< float >, float > &y)
 
void monolish::vml::max (const view1D< tensor::tensor_Dense< double >, double > &a, const double alpha, vector< double > &y)
 
void monolish::vml::max (const view1D< tensor::tensor_Dense< double >, double > &a, const double alpha, view1D< matrix::Dense< double >, double > &y)
 
void monolish::vml::max (const view1D< tensor::tensor_Dense< double >, double > &a, const double alpha, view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::vml::max (const view1D< tensor::tensor_Dense< double >, double > &a, const double alpha, view1D< vector< double >, double > &y)
 
void monolish::vml::max (const view1D< tensor::tensor_Dense< float >, float > &a, const float alpha, vector< float > &y)
 
void monolish::vml::max (const view1D< tensor::tensor_Dense< float >, float > &a, const float alpha, view1D< matrix::Dense< float >, float > &y)
 
void monolish::vml::max (const view1D< tensor::tensor_Dense< float >, float > &a, const float alpha, view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::vml::max (const view1D< tensor::tensor_Dense< float >, float > &a, const float alpha, view1D< vector< float >, float > &y)
 
void monolish::vml::max (const view1D< vector< double >, double > &a, const double alpha, vector< double > &y)
 
void monolish::vml::max (const view1D< vector< double >, double > &a, const double alpha, view1D< matrix::Dense< double >, double > &y)
 
void monolish::vml::max (const view1D< vector< double >, double > &a, const double alpha, view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::vml::max (const view1D< vector< double >, double > &a, const double alpha, view1D< vector< double >, double > &y)
 
void monolish::vml::max (const view1D< vector< float >, float > &a, const float alpha, vector< float > &y)
 
void monolish::vml::max (const view1D< vector< float >, float > &a, const float alpha, view1D< matrix::Dense< float >, float > &y)
 
void monolish::vml::max (const view1D< vector< float >, float > &a, const float alpha, view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::vml::max (const view1D< vector< float >, float > &a, const float alpha, view1D< vector< float >, float > &y)
 

Detailed Description

Create a new vector with greatest elements of vector or scalar (y[0:N] = max(a[0:N], alpha))

Function Documentation

◆ max() [1/32]

void monolish::vml::max ( const vector< double > &  a,
const double  alpha,
vector< double > &  y 
)

Create a new vector with greatest elements of vector or scalar (y[0:N] = max(a[0:N], alpha))

Parameters
amonolish vector (size N)
alphascalar value
ymonolish vector (size N)
Note
  • # of computation: N
  • Multi-threading: true
  • GPU acceleration: true
    • # of data transfer: 0

◆ max() [2/32]

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

◆ max() [3/32]

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

◆ max() [4/32]

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

◆ max() [5/32]

void monolish::vml::max ( const vector< float > &  a,
const float  alpha,
vector< float > &  y 
)

◆ max() [6/32]

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

◆ max() [7/32]

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

◆ max() [8/32]

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

◆ max() [9/32]

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

◆ max() [10/32]

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

◆ max() [11/32]

void monolish::vml::max ( const view1D< matrix::Dense< double >, double > &  a,
const double  alpha,
view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ max() [12/32]

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

◆ max() [13/32]

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

◆ max() [14/32]

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

◆ max() [15/32]

void monolish::vml::max ( const view1D< matrix::Dense< float >, float > &  a,
const float  alpha,
view1D< tensor::tensor_Dense< float >, float > &  y 
)

◆ max() [16/32]

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

◆ max() [17/32]

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

◆ max() [18/32]

void monolish::vml::max ( const view1D< tensor::tensor_Dense< double >, double > &  a,
const double  alpha,
view1D< matrix::Dense< double >, double > &  y 
)

◆ max() [19/32]

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

◆ max() [20/32]

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

◆ max() [21/32]

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

◆ max() [22/32]

void monolish::vml::max ( const view1D< tensor::tensor_Dense< float >, float > &  a,
const float  alpha,
view1D< matrix::Dense< float >, float > &  y 
)

◆ max() [23/32]

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

◆ max() [24/32]

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

◆ max() [25/32]

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

◆ max() [26/32]

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

◆ max() [27/32]

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

◆ max() [28/32]

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

◆ max() [29/32]

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

◆ max() [30/32]

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

◆ max() [31/32]

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

◆ max() [32/32]

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