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

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

Functions

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

Detailed Description

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

Function Documentation

◆ min() [1/32]

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

Create a new vector with smallest elements of vector or scalar (y[0:N] = min(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

◆ min() [2/32]

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

◆ min() [3/32]

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

◆ min() [4/32]

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

◆ min() [5/32]

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

◆ min() [6/32]

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

◆ min() [7/32]

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

◆ min() [8/32]

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

◆ min() [9/32]

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

◆ min() [10/32]

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

◆ min() [11/32]

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

◆ min() [12/32]

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

◆ min() [13/32]

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

◆ min() [14/32]

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

◆ min() [15/32]

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

◆ min() [16/32]

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

◆ min() [17/32]

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

◆ min() [18/32]

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

◆ min() [19/32]

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

◆ min() [20/32]

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

◆ min() [21/32]

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

◆ min() [22/32]

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

◆ min() [23/32]

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

◆ min() [24/32]

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

◆ min() [25/32]

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

◆ min() [26/32]

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

◆ min() [27/32]

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

◆ min() [28/32]

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

◆ min() [29/32]

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

◆ min() [30/32]

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

◆ min() [31/32]

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

◆ min() [32/32]

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