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

nrm1: sum(abs(x[0:N])) More...

Functions

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

Detailed Description

nrm1: sum(abs(x[0:N]))

Function Documentation

◆ nrm1() [1/16]

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

nrm1: sum(abs(x[0:N]))

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

◆ nrm1() [2/16]

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

nrm1: sum(abs(x[0:N]))

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

◆ nrm1() [3/16]

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

◆ nrm1() [4/16]

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

◆ nrm1() [5/16]

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

◆ nrm1() [6/16]

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

◆ nrm1() [7/16]

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

◆ nrm1() [8/16]

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

◆ nrm1() [9/16]

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

◆ nrm1() [10/16]

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

◆ nrm1() [11/16]

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

◆ nrm1() [12/16]

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

◆ nrm1() [13/16]

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

◆ nrm1() [14/16]

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

◆ nrm1() [15/16]

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

◆ nrm1() [16/16]

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