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

nrm2: ||x||_2 More...

Functions

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

Detailed Description

nrm2: ||x||_2

Function Documentation

◆ nrm2() [1/16]

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

nrm2: ||x||_2

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

◆ nrm2() [2/16]

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

nrm2: ||x||_2

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

◆ nrm2() [3/16]

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

◆ nrm2() [4/16]

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

◆ nrm2() [5/16]

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

◆ nrm2() [6/16]

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

◆ nrm2() [7/16]

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

◆ nrm2() [8/16]

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

◆ nrm2() [9/16]

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

◆ nrm2() [10/16]

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

◆ nrm2() [11/16]

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

◆ nrm2() [12/16]

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

◆ nrm2() [13/16]

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

◆ nrm2() [14/16]

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

◆ nrm2() [15/16]

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

◆ nrm2() [16/16]

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