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

vector sum More...

Functions

double monolish::blas::sum (const vector< double > &x)
 vector<float> sum More...
 
void monolish::blas::sum (const vector< double > &x, double &ans)
 vector sum More...
 
float monolish::blas::sum (const vector< float > &x)
 
void monolish::blas::sum (const vector< float > &x, float &ans)
 
double monolish::blas::sum (const view1D< matrix::Dense< double >, double > &x)
 
void monolish::blas::sum (const view1D< matrix::Dense< double >, double > &x, double &ans)
 
float monolish::blas::sum (const view1D< matrix::Dense< float >, float > &x)
 
void monolish::blas::sum (const view1D< matrix::Dense< float >, float > &x, float &ans)
 
double monolish::blas::sum (const view1D< tensor::tensor_Dense< double >, double > &x)
 
void monolish::blas::sum (const view1D< tensor::tensor_Dense< double >, double > &x, double &ans)
 
float monolish::blas::sum (const view1D< tensor::tensor_Dense< float >, float > &x)
 
void monolish::blas::sum (const view1D< tensor::tensor_Dense< float >, float > &x, float &ans)
 
double monolish::blas::sum (const view1D< vector< double >, double > &x)
 
void monolish::blas::sum (const view1D< vector< double >, double > &x, double &ans)
 
float monolish::blas::sum (const view1D< vector< float >, float > &x)
 
void monolish::blas::sum (const view1D< vector< float >, float > &x, float &ans)
 

Detailed Description

vector sum

Function Documentation

◆ sum() [1/16]

double monolish::blas::sum ( const vector< double > &  x)

vector<float> sum

Parameters
xmonolish vector<float> (size N)
Returns
The result of the sum
Note
  • # of computation: N
  • Multi-threading: true
  • GPU acceleration: true
    • # of data transfer: 0

◆ sum() [2/16]

void monolish::blas::sum ( const vector< double > &  x,
double &  ans 
)

vector sum

Parameters
xmonolish vector (size N)
ansThe result of the sum
Note
  • # of computation: N
  • Multi-threading: true
  • GPU acceleration: true
    • # of data transfer: 0

◆ sum() [3/16]

float monolish::blas::sum ( const vector< float > &  x)

◆ sum() [4/16]

void monolish::blas::sum ( const vector< float > &  x,
float &  ans 
)

◆ sum() [5/16]

double monolish::blas::sum ( const view1D< matrix::Dense< double >, double > &  x)

◆ sum() [6/16]

void monolish::blas::sum ( const view1D< matrix::Dense< double >, double > &  x,
double &  ans 
)

◆ sum() [7/16]

float monolish::blas::sum ( const view1D< matrix::Dense< float >, float > &  x)

◆ sum() [8/16]

void monolish::blas::sum ( const view1D< matrix::Dense< float >, float > &  x,
float &  ans 
)

◆ sum() [9/16]

double monolish::blas::sum ( const view1D< tensor::tensor_Dense< double >, double > &  x)

◆ sum() [10/16]

void monolish::blas::sum ( const view1D< tensor::tensor_Dense< double >, double > &  x,
double &  ans 
)

◆ sum() [11/16]

float monolish::blas::sum ( const view1D< tensor::tensor_Dense< float >, float > &  x)

◆ sum() [12/16]

void monolish::blas::sum ( const view1D< tensor::tensor_Dense< float >, float > &  x,
float &  ans 
)

◆ sum() [13/16]

double monolish::blas::sum ( const view1D< vector< double >, double > &  x)

◆ sum() [14/16]

void monolish::blas::sum ( const view1D< vector< double >, double > &  x,
double &  ans 
)

◆ sum() [15/16]

float monolish::blas::sum ( const view1D< vector< float >, float > &  x)

◆ sum() [16/16]

void monolish::blas::sum ( const view1D< vector< float >, float > &  x,
float &  ans 
)