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

Asymmetric linear operation to vector elements (y[0:nnz] = alpha max(a[0:nnz], 0) + beta min(a[0:nnz], 0)) More...

Functions

void monolish::vml::alo (const vector< double > &a, const double alpha, const double beta, vector< double > &y)
 Asymmetric linear operation to vector elements (y[0:nnz] = alpha max(a[0:nnz], 0) + beta min(a[0:nnz], 0)) More...
 
void monolish::vml::alo (const vector< double > &a, const double alpha, const double beta, view1D< matrix::Dense< double >, double > &y)
 
void monolish::vml::alo (const vector< double > &a, const double alpha, const double beta, view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::vml::alo (const vector< double > &a, const double alpha, const double beta, view1D< vector< double >, double > &y)
 
void monolish::vml::alo (const vector< float > &a, const float alpha, const float beta, vector< float > &y)
 
void monolish::vml::alo (const vector< float > &a, const float alpha, const float beta, view1D< matrix::Dense< float >, float > &y)
 
void monolish::vml::alo (const vector< float > &a, const float alpha, const float beta, view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::vml::alo (const vector< float > &a, const float alpha, const float beta, view1D< vector< float >, float > &y)
 
void monolish::vml::alo (const view1D< matrix::Dense< double >, double > &a, const double alpha, const double beta, vector< double > &y)
 
void monolish::vml::alo (const view1D< matrix::Dense< double >, double > &a, const double alpha, const double beta, view1D< matrix::Dense< double >, double > &y)
 
void monolish::vml::alo (const view1D< matrix::Dense< double >, double > &a, const double alpha, const double beta, view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::vml::alo (const view1D< matrix::Dense< double >, double > &a, const double alpha, const double beta, view1D< vector< double >, double > &y)
 
void monolish::vml::alo (const view1D< matrix::Dense< float >, float > &a, const float alpha, const float beta, vector< float > &y)
 
void monolish::vml::alo (const view1D< matrix::Dense< float >, float > &a, const float alpha, const float beta, view1D< matrix::Dense< float >, float > &y)
 
void monolish::vml::alo (const view1D< matrix::Dense< float >, float > &a, const float alpha, const float beta, view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::vml::alo (const view1D< matrix::Dense< float >, float > &a, const float alpha, const float beta, view1D< vector< float >, float > &y)
 
void monolish::vml::alo (const view1D< tensor::tensor_Dense< double >, double > &a, const double alpha, const double beta, vector< double > &y)
 
void monolish::vml::alo (const view1D< tensor::tensor_Dense< double >, double > &a, const double alpha, const double beta, view1D< matrix::Dense< double >, double > &y)
 
void monolish::vml::alo (const view1D< tensor::tensor_Dense< double >, double > &a, const double alpha, const double beta, view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::vml::alo (const view1D< tensor::tensor_Dense< double >, double > &a, const double alpha, const double beta, view1D< vector< double >, double > &y)
 
void monolish::vml::alo (const view1D< tensor::tensor_Dense< float >, float > &a, const float alpha, const float beta, vector< float > &y)
 
void monolish::vml::alo (const view1D< tensor::tensor_Dense< float >, float > &a, const float alpha, const float beta, view1D< matrix::Dense< float >, float > &y)
 
void monolish::vml::alo (const view1D< tensor::tensor_Dense< float >, float > &a, const float alpha, const float beta, view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::vml::alo (const view1D< tensor::tensor_Dense< float >, float > &a, const float alpha, const float beta, view1D< vector< float >, float > &y)
 
void monolish::vml::alo (const view1D< vector< double >, double > &a, const double alpha, const double beta, vector< double > &y)
 
void monolish::vml::alo (const view1D< vector< double >, double > &a, const double alpha, const double beta, view1D< matrix::Dense< double >, double > &y)
 
void monolish::vml::alo (const view1D< vector< double >, double > &a, const double alpha, const double beta, view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::vml::alo (const view1D< vector< double >, double > &a, const double alpha, const double beta, view1D< vector< double >, double > &y)
 
void monolish::vml::alo (const view1D< vector< float >, float > &a, const float alpha, const float beta, vector< float > &y)
 
void monolish::vml::alo (const view1D< vector< float >, float > &a, const float alpha, const float beta, view1D< matrix::Dense< float >, float > &y)
 
void monolish::vml::alo (const view1D< vector< float >, float > &a, const float alpha, const float beta, view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::vml::alo (const view1D< vector< float >, float > &a, const float alpha, const float beta, view1D< vector< float >, float > &y)
 

Detailed Description

Asymmetric linear operation to vector elements (y[0:nnz] = alpha max(a[0:nnz], 0) + beta min(a[0:nnz], 0))

Function Documentation

◆ alo() [1/32]

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

Asymmetric linear operation to vector elements (y[0:nnz] = alpha max(a[0:nnz], 0) + beta min(a[0:nnz], 0))

Parameters
amonolish vector (size N)
alphalinear coefficient in positive range
betalinear coefficient in negative range
ymonolish vector (size N)
Note
  • # of computation: N
  • Multi-threading: true
  • GPU acceleration: true

◆ alo() [2/32]

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

◆ alo() [3/32]

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

◆ alo() [4/32]

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

◆ alo() [5/32]

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

◆ alo() [6/32]

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

◆ alo() [7/32]

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

◆ alo() [8/32]

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

◆ alo() [9/32]

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

◆ alo() [10/32]

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

◆ alo() [11/32]

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

◆ alo() [12/32]

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

◆ alo() [13/32]

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

◆ alo() [14/32]

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

◆ alo() [15/32]

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

◆ alo() [16/32]

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

◆ alo() [17/32]

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

◆ alo() [18/32]

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

◆ alo() [19/32]

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

◆ alo() [20/32]

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

◆ alo() [21/32]

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

◆ alo() [22/32]

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

◆ alo() [23/32]

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

◆ alo() [24/32]

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

◆ alo() [25/32]

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

◆ alo() [26/32]

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

◆ alo() [27/32]

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

◆ alo() [28/32]

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

◆ alo() [29/32]

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

◆ alo() [30/32]

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

◆ alo() [31/32]

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

◆ alo() [32/32]

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