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

element by element addition of scalar alpha and vector a. More...

Functions

void monolish::vml::add (const vector< double > &a, const double alpha, vector< double > &y)
 element by element addition of scalar alpha and vector a. More...
 
void monolish::vml::add (const vector< double > &a, const double alpha, view1D< matrix::Dense< double >, double > &y)
 
void monolish::vml::add (const vector< double > &a, const double alpha, view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::vml::add (const vector< double > &a, const double alpha, view1D< vector< double >, double > &y)
 
void monolish::vml::add (const vector< float > &a, const float alpha, vector< float > &y)
 
void monolish::vml::add (const vector< float > &a, const float alpha, view1D< matrix::Dense< float >, float > &y)
 
void monolish::vml::add (const vector< float > &a, const float alpha, view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::vml::add (const vector< float > &a, const float alpha, view1D< vector< float >, float > &y)
 
void monolish::vml::add (const view1D< matrix::Dense< double >, double > &a, const double alpha, vector< double > &y)
 
void monolish::vml::add (const view1D< matrix::Dense< double >, double > &a, const double alpha, view1D< matrix::Dense< double >, double > &y)
 
void monolish::vml::add (const view1D< matrix::Dense< double >, double > &a, const double alpha, view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::vml::add (const view1D< matrix::Dense< double >, double > &a, const double alpha, view1D< vector< double >, double > &y)
 
void monolish::vml::add (const view1D< matrix::Dense< float >, float > &a, const float alpha, vector< float > &y)
 
void monolish::vml::add (const view1D< matrix::Dense< float >, float > &a, const float alpha, view1D< matrix::Dense< float >, float > &y)
 
void monolish::vml::add (const view1D< matrix::Dense< float >, float > &a, const float alpha, view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::vml::add (const view1D< matrix::Dense< float >, float > &a, const float alpha, view1D< vector< float >, float > &y)
 
void monolish::vml::add (const view1D< tensor::tensor_Dense< double >, double > &a, const double alpha, vector< double > &y)
 
void monolish::vml::add (const view1D< tensor::tensor_Dense< double >, double > &a, const double alpha, view1D< matrix::Dense< double >, double > &y)
 
void monolish::vml::add (const view1D< tensor::tensor_Dense< double >, double > &a, const double alpha, view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::vml::add (const view1D< tensor::tensor_Dense< double >, double > &a, const double alpha, view1D< vector< double >, double > &y)
 
void monolish::vml::add (const view1D< tensor::tensor_Dense< float >, float > &a, const float alpha, vector< float > &y)
 
void monolish::vml::add (const view1D< tensor::tensor_Dense< float >, float > &a, const float alpha, view1D< matrix::Dense< float >, float > &y)
 
void monolish::vml::add (const view1D< tensor::tensor_Dense< float >, float > &a, const float alpha, view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::vml::add (const view1D< tensor::tensor_Dense< float >, float > &a, const float alpha, view1D< vector< float >, float > &y)
 
void monolish::vml::add (const view1D< vector< double >, double > &a, const double alpha, vector< double > &y)
 
void monolish::vml::add (const view1D< vector< double >, double > &a, const double alpha, view1D< matrix::Dense< double >, double > &y)
 
void monolish::vml::add (const view1D< vector< double >, double > &a, const double alpha, view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::vml::add (const view1D< vector< double >, double > &a, const double alpha, view1D< vector< double >, double > &y)
 
void monolish::vml::add (const view1D< vector< float >, float > &a, const float alpha, vector< float > &y)
 
void monolish::vml::add (const view1D< vector< float >, float > &a, const float alpha, view1D< matrix::Dense< float >, float > &y)
 
void monolish::vml::add (const view1D< vector< float >, float > &a, const float alpha, view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::vml::add (const view1D< vector< float >, float > &a, const float alpha, view1D< vector< float >, float > &y)
 

Detailed Description

element by element addition of scalar alpha and vector a.

Function Documentation

◆ add() [1/32]

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

element by element addition of scalar alpha and vector a.

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

◆ add() [2/32]

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

◆ add() [3/32]

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

◆ add() [4/32]

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

◆ add() [5/32]

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

◆ add() [6/32]

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

◆ add() [7/32]

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

◆ add() [8/32]

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

◆ add() [9/32]

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

◆ add() [10/32]

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

◆ add() [11/32]

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

◆ add() [12/32]

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

◆ add() [13/32]

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

◆ add() [14/32]

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

◆ add() [15/32]

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

◆ add() [16/32]

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

◆ add() [17/32]

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

◆ add() [18/32]

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

◆ add() [19/32]

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

◆ add() [20/32]

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

◆ add() [21/32]

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

◆ add() [22/32]

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

◆ add() [23/32]

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

◆ add() [24/32]

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

◆ add() [25/32]

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

◆ add() [26/32]

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

◆ add() [27/32]

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

◆ add() [28/32]

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

◆ add() [29/32]

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

◆ add() [30/32]

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

◆ add() [31/32]

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

◆ add() [32/32]

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