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

tanh to vector elements (y[0:N] = tanh(a[0:N])) More...

Functions

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

Detailed Description

tanh to vector elements (y[0:N] = tanh(a[0:N]))

Function Documentation

◆ tanh() [1/32]

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

tanh to vector elements (y[0:N] = tanh(a[0:N]))

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

◆ tanh() [2/32]

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

◆ tanh() [3/32]

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

◆ tanh() [4/32]

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

◆ tanh() [5/32]

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

◆ tanh() [6/32]

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

◆ tanh() [7/32]

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

◆ tanh() [8/32]

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

◆ tanh() [9/32]

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

◆ tanh() [10/32]

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

◆ tanh() [11/32]

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

◆ tanh() [12/32]

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

◆ tanh() [13/32]

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

◆ tanh() [14/32]

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

◆ tanh() [15/32]

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

◆ tanh() [16/32]

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

◆ tanh() [17/32]

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

◆ tanh() [18/32]

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

◆ tanh() [19/32]

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

◆ tanh() [20/32]

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

◆ tanh() [21/32]

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

◆ tanh() [22/32]

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

◆ tanh() [23/32]

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

◆ tanh() [24/32]

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

◆ tanh() [25/32]

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

◆ tanh() [26/32]

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

◆ tanh() [27/32]

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

◆ tanh() [28/32]

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

◆ tanh() [29/32]

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

◆ tanh() [30/32]

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

◆ tanh() [31/32]

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

◆ tanh() [32/32]

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