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

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

Functions

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

Detailed Description

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

Function Documentation

◆ sign() [1/32]

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

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

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

◆ sign() [2/32]

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

◆ sign() [3/32]

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

◆ sign() [4/32]

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

◆ sign() [5/32]

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

◆ sign() [6/32]

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

◆ sign() [7/32]

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

◆ sign() [8/32]

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

◆ sign() [9/32]

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

◆ sign() [10/32]

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

◆ sign() [11/32]

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

◆ sign() [12/32]

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

◆ sign() [13/32]

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

◆ sign() [14/32]

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

◆ sign() [15/32]

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

◆ sign() [16/32]

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

◆ sign() [17/32]

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

◆ sign() [18/32]

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

◆ sign() [19/32]

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

◆ sign() [20/32]

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

◆ sign() [21/32]

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

◆ sign() [22/32]

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

◆ sign() [23/32]

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

◆ sign() [24/32]

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

◆ sign() [25/32]

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

◆ sign() [26/32]

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

◆ sign() [27/32]

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

◆ sign() [28/32]

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

◆ sign() [29/32]

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

◆ sign() [30/32]

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

◆ sign() [31/32]

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

◆ sign() [32/32]

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