STARS-H
Software for Testing Accuracy, Reliability and Scalability of Hierarchical computations
Error of approximation

Routines to measure error of approximation. More...

Collaboration diagram for Error of approximation:

Functions

double starsh_blrm__dfe (STARSH_blrm *matrix)
 Approximation error in Frobenius norm of double precision matrix. More...
 
double starsh_blrm__dfe_omp (STARSH_blrm *matrix)
 Approximation error in Frobenius norm of double precision matrix. More...
 
int starsh_blrm__dca (STARSH_blrm *matrix, Array *A)
 Convert double precision block low-rank matrix to dense Array. More...
 
double starsh_blrm__dfe_mpi (STARSH_blrm *matrix)
 Approximation error in Frobenius norm of double precision matrix. More...
 

Detailed Description

Routines to measure error of approximation.

Function Documentation

◆ starsh_blrm__dca()

int starsh_blrm__dca ( STARSH_blrm matrix,
Array A 
)

Convert double precision block low-rank matrix to dense Array.

Memory for output array must be allocated prior calling this function.

Parameters
[in]matrixBlock-wise low-rank matrix.
[out]AOutput Array object.
Returns
Error code STARSH_ERRNO.

◆ starsh_blrm__dfe()

double starsh_blrm__dfe ( STARSH_blrm matrix)

Approximation error in Frobenius norm of double precision matrix.

Measure error of approximation of a dense matrix by block-wise low-rank matrix.

Parameters
[in]matrixBlock-wise low-rank matrix.
Returns
Error of approximation.

◆ starsh_blrm__dfe_mpi()

double starsh_blrm__dfe_mpi ( STARSH_blrm matrix)

Approximation error in Frobenius norm of double precision matrix.

Measure error of approximation of a dense matrix by block-wise low-rank matrix.

Parameters
[in]matrixBlock-wise low-rank matrix.
Returns
Error of approximation.

◆ starsh_blrm__dfe_omp()

double starsh_blrm__dfe_omp ( STARSH_blrm matrix)

Approximation error in Frobenius norm of double precision matrix.

Measure error of approximation of a dense matrix by block-wise low-rank matrix.

Parameters
[in]matrixBlock-wise low-rank matrix.
Returns
Error of approximation.