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

reciprocal to double precision vector elements (y[0:N] = 1 / a[0:N]) More...

Functions

void monolish::vml::reciprocal (const vector< double > &a, vector< double > &y)
 reciprocal to double precision vector elements (y[0:N] = 1 / a[0:N]) More...
 
void monolish::vml::reciprocal (const vector< double > &a, view1D< matrix::Dense< double >, double > &y)
 
void monolish::vml::reciprocal (const vector< double > &a, view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::vml::reciprocal (const vector< double > &a, view1D< vector< double >, double > &y)
 
void monolish::vml::reciprocal (const vector< float > &a, vector< float > &y)
 
void monolish::vml::reciprocal (const vector< float > &a, view1D< matrix::Dense< float >, float > &y)
 
void monolish::vml::reciprocal (const vector< float > &a, view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::vml::reciprocal (const vector< float > &a, view1D< vector< float >, float > &y)
 
void monolish::vml::reciprocal (const view1D< matrix::Dense< double >, double > &a, vector< double > &y)
 
void monolish::vml::reciprocal (const view1D< matrix::Dense< double >, double > &a, view1D< matrix::Dense< double >, double > &y)
 
void monolish::vml::reciprocal (const view1D< matrix::Dense< double >, double > &a, view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::vml::reciprocal (const view1D< matrix::Dense< double >, double > &a, view1D< vector< double >, double > &y)
 
void monolish::vml::reciprocal (const view1D< matrix::Dense< float >, float > &a, vector< float > &y)
 
void monolish::vml::reciprocal (const view1D< matrix::Dense< float >, float > &a, view1D< matrix::Dense< float >, float > &y)
 
void monolish::vml::reciprocal (const view1D< matrix::Dense< float >, float > &a, view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::vml::reciprocal (const view1D< matrix::Dense< float >, float > &a, view1D< vector< float >, float > &y)
 
void monolish::vml::reciprocal (const view1D< tensor::tensor_Dense< double >, double > &a, vector< double > &y)
 
void monolish::vml::reciprocal (const view1D< tensor::tensor_Dense< double >, double > &a, view1D< matrix::Dense< double >, double > &y)
 
void monolish::vml::reciprocal (const view1D< tensor::tensor_Dense< double >, double > &a, view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::vml::reciprocal (const view1D< tensor::tensor_Dense< double >, double > &a, view1D< vector< double >, double > &y)
 
void monolish::vml::reciprocal (const view1D< tensor::tensor_Dense< float >, float > &a, vector< float > &y)
 
void monolish::vml::reciprocal (const view1D< tensor::tensor_Dense< float >, float > &a, view1D< matrix::Dense< float >, float > &y)
 
void monolish::vml::reciprocal (const view1D< tensor::tensor_Dense< float >, float > &a, view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::vml::reciprocal (const view1D< tensor::tensor_Dense< float >, float > &a, view1D< vector< float >, float > &y)
 
void monolish::vml::reciprocal (const view1D< vector< double >, double > &a, vector< double > &y)
 
void monolish::vml::reciprocal (const view1D< vector< double >, double > &a, view1D< matrix::Dense< double >, double > &y)
 
void monolish::vml::reciprocal (const view1D< vector< double >, double > &a, view1D< tensor::tensor_Dense< double >, double > &y)
 
void monolish::vml::reciprocal (const view1D< vector< double >, double > &a, view1D< vector< double >, double > &y)
 
void monolish::vml::reciprocal (const view1D< vector< float >, float > &a, vector< float > &y)
 
void monolish::vml::reciprocal (const view1D< vector< float >, float > &a, view1D< matrix::Dense< float >, float > &y)
 
void monolish::vml::reciprocal (const view1D< vector< float >, float > &a, view1D< tensor::tensor_Dense< float >, float > &y)
 
void monolish::vml::reciprocal (const view1D< vector< float >, float > &a, view1D< vector< float >, float > &y)
 

Detailed Description

reciprocal to double precision vector elements (y[0:N] = 1 / a[0:N])

Function Documentation

◆ reciprocal() [1/32]

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

reciprocal to double precision vector elements (y[0:N] = 1 / a[0:N])

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

◆ reciprocal() [2/32]

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

◆ reciprocal() [3/32]

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

◆ reciprocal() [4/32]

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

◆ reciprocal() [5/32]

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

◆ reciprocal() [6/32]

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

◆ reciprocal() [7/32]

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

◆ reciprocal() [8/32]

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

◆ reciprocal() [9/32]

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

◆ reciprocal() [10/32]

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

◆ reciprocal() [11/32]

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

◆ reciprocal() [12/32]

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

◆ reciprocal() [13/32]

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

◆ reciprocal() [14/32]

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

◆ reciprocal() [15/32]

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

◆ reciprocal() [16/32]

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

◆ reciprocal() [17/32]

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

◆ reciprocal() [18/32]

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

◆ reciprocal() [19/32]

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

◆ reciprocal() [20/32]

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

◆ reciprocal() [21/32]

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

◆ reciprocal() [22/32]

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

◆ reciprocal() [23/32]

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

◆ reciprocal() [24/32]

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

◆ reciprocal() [25/32]

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

◆ reciprocal() [26/32]

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

◆ reciprocal() [27/32]

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

◆ reciprocal() [28/32]

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

◆ reciprocal() [29/32]

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

◆ reciprocal() [30/32]

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

◆ reciprocal() [31/32]

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

◆ reciprocal() [32/32]

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