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

Other utilitie functions. More...

Functions

double monolish::util::get_residual_l2 (const matrix::CRS< double > &A, const vector< double > &x, const vector< double > &y)
 get nrm |b-Ax|_2 More...
 
double monolish::util::get_residual_l2 (const matrix::CRS< double > &A, const vector< double > &x, const view1D< matrix::Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::CRS< double > &A, const vector< double > &x, const view1D< tensor::tensor_Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::CRS< double > &A, const vector< double > &x, const view1D< vector< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::CRS< double > &A, const view1D< matrix::Dense< double >, double > &x, const vector< double > &y)
 
double monolish::util::get_residual_l2 (const matrix::CRS< double > &A, const view1D< matrix::Dense< double >, double > &x, const view1D< matrix::Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::CRS< double > &A, const view1D< matrix::Dense< double >, double > &x, const view1D< tensor::tensor_Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::CRS< double > &A, const view1D< matrix::Dense< double >, double > &x, const view1D< vector< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::CRS< double > &A, const view1D< tensor::tensor_Dense< double >, double > &x, const vector< double > &y)
 
double monolish::util::get_residual_l2 (const matrix::CRS< double > &A, const view1D< tensor::tensor_Dense< double >, double > &x, const view1D< matrix::Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::CRS< double > &A, const view1D< tensor::tensor_Dense< double >, double > &x, const view1D< tensor::tensor_Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::CRS< double > &A, const view1D< tensor::tensor_Dense< double >, double > &x, const view1D< vector< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::CRS< double > &A, const view1D< vector< double >, double > &x, const vector< double > &y)
 
double monolish::util::get_residual_l2 (const matrix::CRS< double > &A, const view1D< vector< double >, double > &x, const view1D< matrix::Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::CRS< double > &A, const view1D< vector< double >, double > &x, const view1D< tensor::tensor_Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::CRS< double > &A, const view1D< vector< double >, double > &x, const view1D< vector< double >, double > &y)
 
float monolish::util::get_residual_l2 (const matrix::CRS< float > &A, const vector< float > &x, const vector< float > &y)
 
float monolish::util::get_residual_l2 (const matrix::CRS< float > &A, const vector< float > &x, const view1D< matrix::Dense< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::CRS< float > &A, const vector< float > &x, const view1D< tensor::tensor_Dense< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::CRS< float > &A, const vector< float > &x, const view1D< vector< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::CRS< float > &A, const view1D< matrix::Dense< float >, float > &x, const vector< float > &y)
 
float monolish::util::get_residual_l2 (const matrix::CRS< float > &A, const view1D< matrix::Dense< float >, float > &x, const view1D< matrix::Dense< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::CRS< float > &A, const view1D< matrix::Dense< float >, float > &x, const view1D< tensor::tensor_Dense< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::CRS< float > &A, const view1D< matrix::Dense< float >, float > &x, const view1D< vector< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::CRS< float > &A, const view1D< tensor::tensor_Dense< float >, float > &x, const vector< float > &y)
 
float monolish::util::get_residual_l2 (const matrix::CRS< float > &A, const view1D< tensor::tensor_Dense< float >, float > &x, const view1D< matrix::Dense< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::CRS< float > &A, const view1D< tensor::tensor_Dense< float >, float > &x, const view1D< tensor::tensor_Dense< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::CRS< float > &A, const view1D< tensor::tensor_Dense< float >, float > &x, const view1D< vector< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::CRS< float > &A, const view1D< vector< float >, float > &x, const vector< float > &y)
 
float monolish::util::get_residual_l2 (const matrix::CRS< float > &A, const view1D< vector< float >, float > &x, const view1D< matrix::Dense< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::CRS< float > &A, const view1D< vector< float >, float > &x, const view1D< tensor::tensor_Dense< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::CRS< float > &A, const view1D< vector< float >, float > &x, const view1D< vector< float >, float > &y)
 
double monolish::util::get_residual_l2 (const matrix::Dense< double > &A, const vector< double > &x, const vector< double > &y)
 get nrm |b-Ax|_2 More...
 
double monolish::util::get_residual_l2 (const matrix::Dense< double > &A, const vector< double > &x, const view1D< matrix::Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::Dense< double > &A, const vector< double > &x, const view1D< tensor::tensor_Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::Dense< double > &A, const vector< double > &x, const view1D< vector< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::Dense< double > &A, const view1D< matrix::Dense< double >, double > &x, const vector< double > &y)
 
double monolish::util::get_residual_l2 (const matrix::Dense< double > &A, const view1D< matrix::Dense< double >, double > &x, const view1D< matrix::Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::Dense< double > &A, const view1D< matrix::Dense< double >, double > &x, const view1D< tensor::tensor_Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::Dense< double > &A, const view1D< matrix::Dense< double >, double > &x, const view1D< vector< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::Dense< double > &A, const view1D< tensor::tensor_Dense< double >, double > &x, const vector< double > &y)
 
double monolish::util::get_residual_l2 (const matrix::Dense< double > &A, const view1D< tensor::tensor_Dense< double >, double > &x, const view1D< matrix::Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::Dense< double > &A, const view1D< tensor::tensor_Dense< double >, double > &x, const view1D< tensor::tensor_Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::Dense< double > &A, const view1D< tensor::tensor_Dense< double >, double > &x, const view1D< vector< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::Dense< double > &A, const view1D< vector< double >, double > &x, const vector< double > &y)
 
double monolish::util::get_residual_l2 (const matrix::Dense< double > &A, const view1D< vector< double >, double > &x, const view1D< matrix::Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::Dense< double > &A, const view1D< vector< double >, double > &x, const view1D< tensor::tensor_Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::Dense< double > &A, const view1D< vector< double >, double > &x, const view1D< vector< double >, double > &y)
 
float monolish::util::get_residual_l2 (const matrix::Dense< float > &A, const vector< float > &x, const vector< float > &y)
 
float monolish::util::get_residual_l2 (const matrix::Dense< float > &A, const vector< float > &x, const view1D< matrix::Dense< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::Dense< float > &A, const vector< float > &x, const view1D< tensor::tensor_Dense< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::Dense< float > &A, const vector< float > &x, const view1D< vector< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::Dense< float > &A, const view1D< matrix::Dense< float >, float > &x, const vector< float > &y)
 
float monolish::util::get_residual_l2 (const matrix::Dense< float > &A, const view1D< matrix::Dense< float >, float > &x, const view1D< matrix::Dense< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::Dense< float > &A, const view1D< matrix::Dense< float >, float > &x, const view1D< tensor::tensor_Dense< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::Dense< float > &A, const view1D< matrix::Dense< float >, float > &x, const view1D< vector< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::Dense< float > &A, const view1D< tensor::tensor_Dense< float >, float > &x, const vector< float > &y)
 
float monolish::util::get_residual_l2 (const matrix::Dense< float > &A, const view1D< tensor::tensor_Dense< float >, float > &x, const view1D< matrix::Dense< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::Dense< float > &A, const view1D< tensor::tensor_Dense< float >, float > &x, const view1D< tensor::tensor_Dense< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::Dense< float > &A, const view1D< tensor::tensor_Dense< float >, float > &x, const view1D< vector< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::Dense< float > &A, const view1D< vector< float >, float > &x, const vector< float > &y)
 
float monolish::util::get_residual_l2 (const matrix::Dense< float > &A, const view1D< vector< float >, float > &x, const view1D< matrix::Dense< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::Dense< float > &A, const view1D< vector< float >, float > &x, const view1D< tensor::tensor_Dense< float >, float > &y)
 
float monolish::util::get_residual_l2 (const matrix::Dense< float > &A, const view1D< vector< float >, float > &x, const view1D< vector< float >, float > &y)
 
double monolish::util::get_residual_l2 (const matrix::LinearOperator< double > &A, const vector< double > &x, const vector< double > &y)
 get nrm |b-Ax|_2 More...
 
double monolish::util::get_residual_l2 (const matrix::LinearOperator< double > &A, const vector< double > &x, const view1D< matrix::Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::LinearOperator< double > &A, const vector< double > &x, const view1D< tensor::tensor_Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::LinearOperator< double > &A, const vector< double > &x, const view1D< vector< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::LinearOperator< double > &A, const view1D< matrix::Dense< double >, double > &x, const vector< double > &y)
 
double monolish::util::get_residual_l2 (const matrix::LinearOperator< double > &A, const view1D< matrix::Dense< double >, double > &x, const view1D< matrix::Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::LinearOperator< double > &A, const view1D< matrix::Dense< double >, double > &x, const view1D< tensor::tensor_Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::LinearOperator< double > &A, const view1D< matrix::Dense< double >, double > &x, const view1D< vector< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::LinearOperator< double > &A, const view1D< tensor::tensor_Dense< double >, double > &x, const vector< double > &y)
 
double monolish::util::get_residual_l2 (const matrix::LinearOperator< double > &A, const view1D< tensor::tensor_Dense< double >, double > &x, const view1D< matrix::Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::LinearOperator< double > &A, const view1D< tensor::tensor_Dense< double >, double > &x, const view1D< tensor::tensor_Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::LinearOperator< double > &A, const view1D< tensor::tensor_Dense< double >, double > &x, const view1D< vector< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::LinearOperator< double > &A, const view1D< vector< double >, double > &x, const vector< double > &y)
 
double monolish::util::get_residual_l2 (const matrix::LinearOperator< double > &A, const view1D< vector< double >, double > &x, const view1D< matrix::Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::LinearOperator< double > &A, const view1D< vector< double >, double > &x, const view1D< tensor::tensor_Dense< double >, double > &y)
 
double monolish::util::get_residual_l2 (const matrix::LinearOperator< double > &A, const view1D< vector< double >, double > &x, const view1D< vector< double >, double > &y)
 

Detailed Description

Other utilitie functions.

Function Documentation

◆ get_residual_l2() [1/80]

double monolish::util::get_residual_l2 ( const matrix::CRS< double > &  A,
const vector< double > &  x,
const vector< double > &  y 
)

get nrm |b-Ax|_2

Parameters
ACRS matrix (size M x N)
xmonolish vector (size N)
ymonolish vector (size M)
Note
  • # of computation: 2*M*nnz + N
  • Multi-threading: true
  • GPU acceleration: true
    • # of data transfer: 0

◆ get_residual_l2() [2/80]

double monolish::util::get_residual_l2 ( const matrix::CRS< double > &  A,
const vector< double > &  x,
const view1D< matrix::Dense< double >, double > &  y 
)

◆ get_residual_l2() [3/80]

double monolish::util::get_residual_l2 ( const matrix::CRS< double > &  A,
const vector< double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ get_residual_l2() [4/80]

double monolish::util::get_residual_l2 ( const matrix::CRS< double > &  A,
const vector< double > &  x,
const view1D< vector< double >, double > &  y 
)

◆ get_residual_l2() [5/80]

double monolish::util::get_residual_l2 ( const matrix::CRS< double > &  A,
const view1D< matrix::Dense< double >, double > &  x,
const vector< double > &  y 
)

◆ get_residual_l2() [6/80]

double monolish::util::get_residual_l2 ( const matrix::CRS< double > &  A,
const view1D< matrix::Dense< double >, double > &  x,
const view1D< matrix::Dense< double >, double > &  y 
)

◆ get_residual_l2() [7/80]

double monolish::util::get_residual_l2 ( const matrix::CRS< double > &  A,
const view1D< matrix::Dense< double >, double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ get_residual_l2() [8/80]

double monolish::util::get_residual_l2 ( const matrix::CRS< double > &  A,
const view1D< matrix::Dense< double >, double > &  x,
const view1D< vector< double >, double > &  y 
)

◆ get_residual_l2() [9/80]

double monolish::util::get_residual_l2 ( const matrix::CRS< double > &  A,
const view1D< tensor::tensor_Dense< double >, double > &  x,
const vector< double > &  y 
)

◆ get_residual_l2() [10/80]

double monolish::util::get_residual_l2 ( const matrix::CRS< double > &  A,
const view1D< tensor::tensor_Dense< double >, double > &  x,
const view1D< matrix::Dense< double >, double > &  y 
)

◆ get_residual_l2() [11/80]

double monolish::util::get_residual_l2 ( const matrix::CRS< double > &  A,
const view1D< tensor::tensor_Dense< double >, double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ get_residual_l2() [12/80]

double monolish::util::get_residual_l2 ( const matrix::CRS< double > &  A,
const view1D< tensor::tensor_Dense< double >, double > &  x,
const view1D< vector< double >, double > &  y 
)

◆ get_residual_l2() [13/80]

double monolish::util::get_residual_l2 ( const matrix::CRS< double > &  A,
const view1D< vector< double >, double > &  x,
const vector< double > &  y 
)

◆ get_residual_l2() [14/80]

double monolish::util::get_residual_l2 ( const matrix::CRS< double > &  A,
const view1D< vector< double >, double > &  x,
const view1D< matrix::Dense< double >, double > &  y 
)

◆ get_residual_l2() [15/80]

double monolish::util::get_residual_l2 ( const matrix::CRS< double > &  A,
const view1D< vector< double >, double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ get_residual_l2() [16/80]

double monolish::util::get_residual_l2 ( const matrix::CRS< double > &  A,
const view1D< vector< double >, double > &  x,
const view1D< vector< double >, double > &  y 
)

◆ get_residual_l2() [17/80]

float monolish::util::get_residual_l2 ( const matrix::CRS< float > &  A,
const vector< float > &  x,
const vector< float > &  y 
)

◆ get_residual_l2() [18/80]

float monolish::util::get_residual_l2 ( const matrix::CRS< float > &  A,
const vector< float > &  x,
const view1D< matrix::Dense< float >, float > &  y 
)

◆ get_residual_l2() [19/80]

float monolish::util::get_residual_l2 ( const matrix::CRS< float > &  A,
const vector< float > &  x,
const view1D< tensor::tensor_Dense< float >, float > &  y 
)

◆ get_residual_l2() [20/80]

float monolish::util::get_residual_l2 ( const matrix::CRS< float > &  A,
const vector< float > &  x,
const view1D< vector< float >, float > &  y 
)

◆ get_residual_l2() [21/80]

float monolish::util::get_residual_l2 ( const matrix::CRS< float > &  A,
const view1D< matrix::Dense< float >, float > &  x,
const vector< float > &  y 
)

◆ get_residual_l2() [22/80]

float monolish::util::get_residual_l2 ( const matrix::CRS< float > &  A,
const view1D< matrix::Dense< float >, float > &  x,
const view1D< matrix::Dense< float >, float > &  y 
)

◆ get_residual_l2() [23/80]

float monolish::util::get_residual_l2 ( const matrix::CRS< float > &  A,
const view1D< matrix::Dense< float >, float > &  x,
const view1D< tensor::tensor_Dense< float >, float > &  y 
)

◆ get_residual_l2() [24/80]

float monolish::util::get_residual_l2 ( const matrix::CRS< float > &  A,
const view1D< matrix::Dense< float >, float > &  x,
const view1D< vector< float >, float > &  y 
)

◆ get_residual_l2() [25/80]

float monolish::util::get_residual_l2 ( const matrix::CRS< float > &  A,
const view1D< tensor::tensor_Dense< float >, float > &  x,
const vector< float > &  y 
)

◆ get_residual_l2() [26/80]

float monolish::util::get_residual_l2 ( const matrix::CRS< float > &  A,
const view1D< tensor::tensor_Dense< float >, float > &  x,
const view1D< matrix::Dense< float >, float > &  y 
)

◆ get_residual_l2() [27/80]

float monolish::util::get_residual_l2 ( const matrix::CRS< float > &  A,
const view1D< tensor::tensor_Dense< float >, float > &  x,
const view1D< tensor::tensor_Dense< float >, float > &  y 
)

◆ get_residual_l2() [28/80]

float monolish::util::get_residual_l2 ( const matrix::CRS< float > &  A,
const view1D< tensor::tensor_Dense< float >, float > &  x,
const view1D< vector< float >, float > &  y 
)

◆ get_residual_l2() [29/80]

float monolish::util::get_residual_l2 ( const matrix::CRS< float > &  A,
const view1D< vector< float >, float > &  x,
const vector< float > &  y 
)

◆ get_residual_l2() [30/80]

float monolish::util::get_residual_l2 ( const matrix::CRS< float > &  A,
const view1D< vector< float >, float > &  x,
const view1D< matrix::Dense< float >, float > &  y 
)

◆ get_residual_l2() [31/80]

float monolish::util::get_residual_l2 ( const matrix::CRS< float > &  A,
const view1D< vector< float >, float > &  x,
const view1D< tensor::tensor_Dense< float >, float > &  y 
)

◆ get_residual_l2() [32/80]

float monolish::util::get_residual_l2 ( const matrix::CRS< float > &  A,
const view1D< vector< float >, float > &  x,
const view1D< vector< float >, float > &  y 
)

◆ get_residual_l2() [33/80]

double monolish::util::get_residual_l2 ( const matrix::Dense< double > &  A,
const vector< double > &  x,
const vector< double > &  y 
)

get nrm |b-Ax|_2

Parameters
ADense matrix (size M x N)
xmonolish vector (size N)
ymonolish vector (size M)
Note
  • # of computation: 2*M*nnz + N
  • Multi-threading: true
  • GPU acceleration: true
    • # of data transfer: 0

◆ get_residual_l2() [34/80]

double monolish::util::get_residual_l2 ( const matrix::Dense< double > &  A,
const vector< double > &  x,
const view1D< matrix::Dense< double >, double > &  y 
)

◆ get_residual_l2() [35/80]

double monolish::util::get_residual_l2 ( const matrix::Dense< double > &  A,
const vector< double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ get_residual_l2() [36/80]

double monolish::util::get_residual_l2 ( const matrix::Dense< double > &  A,
const vector< double > &  x,
const view1D< vector< double >, double > &  y 
)

◆ get_residual_l2() [37/80]

double monolish::util::get_residual_l2 ( const matrix::Dense< double > &  A,
const view1D< matrix::Dense< double >, double > &  x,
const vector< double > &  y 
)

◆ get_residual_l2() [38/80]

double monolish::util::get_residual_l2 ( const matrix::Dense< double > &  A,
const view1D< matrix::Dense< double >, double > &  x,
const view1D< matrix::Dense< double >, double > &  y 
)

◆ get_residual_l2() [39/80]

double monolish::util::get_residual_l2 ( const matrix::Dense< double > &  A,
const view1D< matrix::Dense< double >, double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ get_residual_l2() [40/80]

double monolish::util::get_residual_l2 ( const matrix::Dense< double > &  A,
const view1D< matrix::Dense< double >, double > &  x,
const view1D< vector< double >, double > &  y 
)

◆ get_residual_l2() [41/80]

double monolish::util::get_residual_l2 ( const matrix::Dense< double > &  A,
const view1D< tensor::tensor_Dense< double >, double > &  x,
const vector< double > &  y 
)

◆ get_residual_l2() [42/80]

double monolish::util::get_residual_l2 ( const matrix::Dense< double > &  A,
const view1D< tensor::tensor_Dense< double >, double > &  x,
const view1D< matrix::Dense< double >, double > &  y 
)

◆ get_residual_l2() [43/80]

double monolish::util::get_residual_l2 ( const matrix::Dense< double > &  A,
const view1D< tensor::tensor_Dense< double >, double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ get_residual_l2() [44/80]

double monolish::util::get_residual_l2 ( const matrix::Dense< double > &  A,
const view1D< tensor::tensor_Dense< double >, double > &  x,
const view1D< vector< double >, double > &  y 
)

◆ get_residual_l2() [45/80]

double monolish::util::get_residual_l2 ( const matrix::Dense< double > &  A,
const view1D< vector< double >, double > &  x,
const vector< double > &  y 
)

◆ get_residual_l2() [46/80]

double monolish::util::get_residual_l2 ( const matrix::Dense< double > &  A,
const view1D< vector< double >, double > &  x,
const view1D< matrix::Dense< double >, double > &  y 
)

◆ get_residual_l2() [47/80]

double monolish::util::get_residual_l2 ( const matrix::Dense< double > &  A,
const view1D< vector< double >, double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ get_residual_l2() [48/80]

double monolish::util::get_residual_l2 ( const matrix::Dense< double > &  A,
const view1D< vector< double >, double > &  x,
const view1D< vector< double >, double > &  y 
)

◆ get_residual_l2() [49/80]

float monolish::util::get_residual_l2 ( const matrix::Dense< float > &  A,
const vector< float > &  x,
const vector< float > &  y 
)

◆ get_residual_l2() [50/80]

float monolish::util::get_residual_l2 ( const matrix::Dense< float > &  A,
const vector< float > &  x,
const view1D< matrix::Dense< float >, float > &  y 
)

◆ get_residual_l2() [51/80]

float monolish::util::get_residual_l2 ( const matrix::Dense< float > &  A,
const vector< float > &  x,
const view1D< tensor::tensor_Dense< float >, float > &  y 
)

◆ get_residual_l2() [52/80]

float monolish::util::get_residual_l2 ( const matrix::Dense< float > &  A,
const vector< float > &  x,
const view1D< vector< float >, float > &  y 
)

◆ get_residual_l2() [53/80]

float monolish::util::get_residual_l2 ( const matrix::Dense< float > &  A,
const view1D< matrix::Dense< float >, float > &  x,
const vector< float > &  y 
)

◆ get_residual_l2() [54/80]

float monolish::util::get_residual_l2 ( const matrix::Dense< float > &  A,
const view1D< matrix::Dense< float >, float > &  x,
const view1D< matrix::Dense< float >, float > &  y 
)

◆ get_residual_l2() [55/80]

float monolish::util::get_residual_l2 ( const matrix::Dense< float > &  A,
const view1D< matrix::Dense< float >, float > &  x,
const view1D< tensor::tensor_Dense< float >, float > &  y 
)

◆ get_residual_l2() [56/80]

float monolish::util::get_residual_l2 ( const matrix::Dense< float > &  A,
const view1D< matrix::Dense< float >, float > &  x,
const view1D< vector< float >, float > &  y 
)

◆ get_residual_l2() [57/80]

float monolish::util::get_residual_l2 ( const matrix::Dense< float > &  A,
const view1D< tensor::tensor_Dense< float >, float > &  x,
const vector< float > &  y 
)

◆ get_residual_l2() [58/80]

float monolish::util::get_residual_l2 ( const matrix::Dense< float > &  A,
const view1D< tensor::tensor_Dense< float >, float > &  x,
const view1D< matrix::Dense< float >, float > &  y 
)

◆ get_residual_l2() [59/80]

float monolish::util::get_residual_l2 ( const matrix::Dense< float > &  A,
const view1D< tensor::tensor_Dense< float >, float > &  x,
const view1D< tensor::tensor_Dense< float >, float > &  y 
)

◆ get_residual_l2() [60/80]

float monolish::util::get_residual_l2 ( const matrix::Dense< float > &  A,
const view1D< tensor::tensor_Dense< float >, float > &  x,
const view1D< vector< float >, float > &  y 
)

◆ get_residual_l2() [61/80]

float monolish::util::get_residual_l2 ( const matrix::Dense< float > &  A,
const view1D< vector< float >, float > &  x,
const vector< float > &  y 
)

◆ get_residual_l2() [62/80]

float monolish::util::get_residual_l2 ( const matrix::Dense< float > &  A,
const view1D< vector< float >, float > &  x,
const view1D< matrix::Dense< float >, float > &  y 
)

◆ get_residual_l2() [63/80]

float monolish::util::get_residual_l2 ( const matrix::Dense< float > &  A,
const view1D< vector< float >, float > &  x,
const view1D< tensor::tensor_Dense< float >, float > &  y 
)

◆ get_residual_l2() [64/80]

float monolish::util::get_residual_l2 ( const matrix::Dense< float > &  A,
const view1D< vector< float >, float > &  x,
const view1D< vector< float >, float > &  y 
)

◆ get_residual_l2() [65/80]

double monolish::util::get_residual_l2 ( const matrix::LinearOperator< double > &  A,
const vector< double > &  x,
const vector< double > &  y 
)

get nrm |b-Ax|_2

Parameters
ALinearOperator (size M x N)
xmonolish vector (size N)
ymonolish vector (size M)
Note
  • # of computation: 2*M*nnz + N
  • Multi-threading: true
  • GPU acceleration: true
    • # of data transfer: 0

◆ get_residual_l2() [66/80]

double monolish::util::get_residual_l2 ( const matrix::LinearOperator< double > &  A,
const vector< double > &  x,
const view1D< matrix::Dense< double >, double > &  y 
)

◆ get_residual_l2() [67/80]

double monolish::util::get_residual_l2 ( const matrix::LinearOperator< double > &  A,
const vector< double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ get_residual_l2() [68/80]

double monolish::util::get_residual_l2 ( const matrix::LinearOperator< double > &  A,
const vector< double > &  x,
const view1D< vector< double >, double > &  y 
)

◆ get_residual_l2() [69/80]

double monolish::util::get_residual_l2 ( const matrix::LinearOperator< double > &  A,
const view1D< matrix::Dense< double >, double > &  x,
const vector< double > &  y 
)

◆ get_residual_l2() [70/80]

double monolish::util::get_residual_l2 ( const matrix::LinearOperator< double > &  A,
const view1D< matrix::Dense< double >, double > &  x,
const view1D< matrix::Dense< double >, double > &  y 
)

◆ get_residual_l2() [71/80]

double monolish::util::get_residual_l2 ( const matrix::LinearOperator< double > &  A,
const view1D< matrix::Dense< double >, double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ get_residual_l2() [72/80]

double monolish::util::get_residual_l2 ( const matrix::LinearOperator< double > &  A,
const view1D< matrix::Dense< double >, double > &  x,
const view1D< vector< double >, double > &  y 
)

◆ get_residual_l2() [73/80]

double monolish::util::get_residual_l2 ( const matrix::LinearOperator< double > &  A,
const view1D< tensor::tensor_Dense< double >, double > &  x,
const vector< double > &  y 
)

◆ get_residual_l2() [74/80]

double monolish::util::get_residual_l2 ( const matrix::LinearOperator< double > &  A,
const view1D< tensor::tensor_Dense< double >, double > &  x,
const view1D< matrix::Dense< double >, double > &  y 
)

◆ get_residual_l2() [75/80]

double monolish::util::get_residual_l2 ( const matrix::LinearOperator< double > &  A,
const view1D< tensor::tensor_Dense< double >, double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ get_residual_l2() [76/80]

double monolish::util::get_residual_l2 ( const matrix::LinearOperator< double > &  A,
const view1D< tensor::tensor_Dense< double >, double > &  x,
const view1D< vector< double >, double > &  y 
)

◆ get_residual_l2() [77/80]

double monolish::util::get_residual_l2 ( const matrix::LinearOperator< double > &  A,
const view1D< vector< double >, double > &  x,
const vector< double > &  y 
)

◆ get_residual_l2() [78/80]

double monolish::util::get_residual_l2 ( const matrix::LinearOperator< double > &  A,
const view1D< vector< double >, double > &  x,
const view1D< matrix::Dense< double >, double > &  y 
)

◆ get_residual_l2() [79/80]

double monolish::util::get_residual_l2 ( const matrix::LinearOperator< double > &  A,
const view1D< vector< double >, double > &  x,
const view1D< tensor::tensor_Dense< double >, double > &  y 
)

◆ get_residual_l2() [80/80]

double monolish::util::get_residual_l2 ( const matrix::LinearOperator< double > &  A,
const view1D< vector< double >, double > &  x,
const view1D< vector< double >, double > &  y 
)