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

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

Functions

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

Detailed Description

element by element multiplication of scalar alpha and vector a.

Function Documentation

◆ mul() [1/32]

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

element by element multiplication 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

◆ mul() [2/32]

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

◆ mul() [3/32]

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

◆ mul() [4/32]

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

◆ mul() [5/32]

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

◆ mul() [6/32]

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

◆ mul() [7/32]

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

◆ mul() [8/32]

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

◆ mul() [9/32]

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

◆ mul() [10/32]

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

◆ mul() [11/32]

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

◆ mul() [12/32]

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

◆ mul() [13/32]

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

◆ mul() [14/32]

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

◆ mul() [15/32]

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

◆ mul() [16/32]

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

◆ mul() [17/32]

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

◆ mul() [18/32]

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

◆ mul() [19/32]

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

◆ mul() [20/32]

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

◆ mul() [21/32]

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

◆ mul() [22/32]

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

◆ mul() [23/32]

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

◆ mul() [24/32]

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

◆ mul() [25/32]

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

◆ mul() [26/32]

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

◆ mul() [27/32]

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

◆ mul() [28/32]

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

◆ mul() [29/32]

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

◆ mul() [30/32]

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

◆ mul() [31/32]

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

◆ mul() [32/32]

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