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

vector absolute sum More...

Functions

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

Detailed Description

vector absolute sum

Function Documentation

◆ asum() [1/16]

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

vector absolute sum

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

◆ asum() [2/16]

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

vector absolute sum

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

◆ asum() [3/16]

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

◆ asum() [4/16]

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

◆ asum() [5/16]

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

◆ asum() [6/16]

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

◆ asum() [7/16]

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

◆ asum() [8/16]

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

◆ asum() [9/16]

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

◆ asum() [10/16]

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

◆ asum() [11/16]

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

◆ asum() [12/16]

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

◆ asum() [13/16]

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

◆ asum() [14/16]

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

◆ asum() [15/16]

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

◆ asum() [16/16]

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