|
SpM Handbook 1.3.0
|
Norm computation routines. More...
Files | |
| file | s_spm_norm.c |
| file | d_spm_norm.c |
| file | c_spm_norm.c |
| file | z_spm_norm.c |
Functions | |
| double | z_spmNorm (spm_normtype_t ntype, const spmatrix_t *spm) |
| Compute the norm of an spm matrix. | |
| double | z_spmNormMat (spm_normtype_t ntype, const spmatrix_t *spm, spm_int_t n, const spm_complex64_t *A, spm_int_t lda) |
| Compute the norm of a dense matrix that follows the distribution of an spm matrix. | |
| float | c_spmNorm (spm_normtype_t ntype, const spmatrix_t *spm) |
| Compute the norm of an spm matrix. | |
| float | c_spmNormMat (spm_normtype_t ntype, const spmatrix_t *spm, spm_int_t n, const spm_complex32_t *A, spm_int_t lda) |
| Compute the norm of a dense matrix that follows the distribution of an spm matrix. | |
| double | d_spmNorm (spm_normtype_t ntype, const spmatrix_t *spm) |
| Compute the norm of an spm matrix. | |
| double | d_spmNormMat (spm_normtype_t ntype, const spmatrix_t *spm, spm_int_t n, const double *A, spm_int_t lda) |
| Compute the norm of a dense matrix that follows the distribution of an spm matrix. | |
| float | s_spmNorm (spm_normtype_t ntype, const spmatrix_t *spm) |
| Compute the norm of an spm matrix. | |
| float | s_spmNormMat (spm_normtype_t ntype, const spmatrix_t *spm, spm_int_t n, const float *A, spm_int_t lda) |
| Compute the norm of a dense matrix that follows the distribution of an spm matrix. | |
Norm computation routines.
| double z_spmNorm | ( | spm_normtype_t | ntype, |
| const spmatrix_t * | spm ) |
Compute the norm of an spm matrix.
| [in] | ntype | = SpmMaxNorm: Max norm = SpmOneNorm: One norm = SpmInfNorm: Infinity norm = SpmFrobeniusNorm: Frobenius norm |
| [in] | spm | The spm structure describing the matrix. |
Definition at line 1214 of file z_spm_norm.c.
References SpmFrobeniusNorm, SpmInfNorm, SpmMaxNorm, SpmOneNorm, z_spmFrobeniusNorm(), z_spmMaxNorm(), and z_spmOneInfNorm().
Referenced by spmNorm(), and z_spmGenRHS().
| double z_spmNormMat | ( | spm_normtype_t | ntype, |
| const spmatrix_t * | spm, | ||
| spm_int_t | n, | ||
| const spm_complex64_t * | A, | ||
| spm_int_t | lda ) |
Compute the norm of a dense matrix that follows the distribution of an spm matrix.
| [in] | ntype | = SpmMaxNorm: Max norm = SpmOneNorm: One norm = SpmInfNorm: Infinity norm = SpmFrobeniusNorm: Frobenius norm |
| [in] | spm | The spm structure describing the matrix. |
| [in] | n | The number of columns of the matrix A. |
| [in] | A | The matrix A of size lda-by-n. |
| [in] | lda | The leading dimension of the matrix A. Must be >= max(1, spm->nexp). |
Definition at line 1278 of file z_spm_norm.c.
References spmatrix_s::clustnbr, spmatrix_s::comm, LAPACKE_zlassq_work, spmatrix_s::nexp, spmatrix_s::replicated, SpmFrobeniusNorm, SpmInfNorm, SpmMaxNorm, and SpmOneNorm.
Referenced by spmNormMat(), spmNormVec(), and z_spmCheckAxb().
| float c_spmNorm | ( | spm_normtype_t | ntype, |
| const spmatrix_t * | spm ) |
Compute the norm of an spm matrix.
| [in] | ntype | = SpmMaxNorm: Max norm = SpmOneNorm: One norm = SpmInfNorm: Infinity norm = SpmFrobeniusNorm: Frobenius norm |
| [in] | spm | The spm structure describing the matrix. |
Definition at line 1214 of file c_spm_norm.c.
References c_spmFrobeniusNorm(), c_spmMaxNorm(), c_spmOneInfNorm(), SpmFrobeniusNorm, SpmInfNorm, SpmMaxNorm, and SpmOneNorm.
Referenced by c_spmGenRHS(), and spmNorm().
| float c_spmNormMat | ( | spm_normtype_t | ntype, |
| const spmatrix_t * | spm, | ||
| spm_int_t | n, | ||
| const spm_complex32_t * | A, | ||
| spm_int_t | lda ) |
Compute the norm of a dense matrix that follows the distribution of an spm matrix.
| [in] | ntype | = SpmMaxNorm: Max norm = SpmOneNorm: One norm = SpmInfNorm: Infinity norm = SpmFrobeniusNorm: Frobenius norm |
| [in] | spm | The spm structure describing the matrix. |
| [in] | n | The number of columns of the matrix A. |
| [in] | A | The matrix A of size lda-by-n. |
| [in] | lda | The leading dimension of the matrix A. Must be >= max(1, spm->nexp). |
Definition at line 1278 of file c_spm_norm.c.
References spmatrix_s::clustnbr, spmatrix_s::comm, LAPACKE_classq_work, spmatrix_s::nexp, spmatrix_s::replicated, SpmFrobeniusNorm, SpmInfNorm, SpmMaxNorm, and SpmOneNorm.
Referenced by c_spmCheckAxb(), spmNormMat(), and spmNormVec().
| double d_spmNorm | ( | spm_normtype_t | ntype, |
| const spmatrix_t * | spm ) |
Compute the norm of an spm matrix.
| [in] | ntype | = SpmMaxNorm: Max norm = SpmOneNorm: One norm = SpmInfNorm: Infinity norm = SpmFrobeniusNorm: Frobenius norm |
| [in] | spm | The spm structure describing the matrix. |
Definition at line 1214 of file d_spm_norm.c.
References d_spmFrobeniusNorm(), d_spmMaxNorm(), d_spmOneInfNorm(), SpmFrobeniusNorm, SpmInfNorm, SpmMaxNorm, and SpmOneNorm.
Referenced by d_spmGenRHS(), and spmNorm().
| double d_spmNormMat | ( | spm_normtype_t | ntype, |
| const spmatrix_t * | spm, | ||
| spm_int_t | n, | ||
| const double * | A, | ||
| spm_int_t | lda ) |
Compute the norm of a dense matrix that follows the distribution of an spm matrix.
| [in] | ntype | = SpmMaxNorm: Max norm = SpmOneNorm: One norm = SpmInfNorm: Infinity norm = SpmFrobeniusNorm: Frobenius norm |
| [in] | spm | The spm structure describing the matrix. |
| [in] | n | The number of columns of the matrix A. |
| [in] | A | The matrix A of size lda-by-n. |
| [in] | lda | The leading dimension of the matrix A. Must be >= max(1, spm->nexp). |
Definition at line 1278 of file d_spm_norm.c.
References spmatrix_s::clustnbr, spmatrix_s::comm, LAPACKE_dlassq_work, spmatrix_s::nexp, spmatrix_s::replicated, SpmFrobeniusNorm, SpmInfNorm, SpmMaxNorm, and SpmOneNorm.
Referenced by d_spmCheckAxb(), spmNormMat(), and spmNormVec().
| float s_spmNorm | ( | spm_normtype_t | ntype, |
| const spmatrix_t * | spm ) |
Compute the norm of an spm matrix.
| [in] | ntype | = SpmMaxNorm: Max norm = SpmOneNorm: One norm = SpmInfNorm: Infinity norm = SpmFrobeniusNorm: Frobenius norm |
| [in] | spm | The spm structure describing the matrix. |
Definition at line 1214 of file s_spm_norm.c.
References s_spmFrobeniusNorm(), s_spmMaxNorm(), s_spmOneInfNorm(), SpmFrobeniusNorm, SpmInfNorm, SpmMaxNorm, and SpmOneNorm.
Referenced by s_spmGenRHS(), and spmNorm().
| float s_spmNormMat | ( | spm_normtype_t | ntype, |
| const spmatrix_t * | spm, | ||
| spm_int_t | n, | ||
| const float * | A, | ||
| spm_int_t | lda ) |
Compute the norm of a dense matrix that follows the distribution of an spm matrix.
| [in] | ntype | = SpmMaxNorm: Max norm = SpmOneNorm: One norm = SpmInfNorm: Infinity norm = SpmFrobeniusNorm: Frobenius norm |
| [in] | spm | The spm structure describing the matrix. |
| [in] | n | The number of columns of the matrix A. |
| [in] | A | The matrix A of size lda-by-n. |
| [in] | lda | The leading dimension of the matrix A. Must be >= max(1, spm->nexp). |
Definition at line 1278 of file s_spm_norm.c.
References spmatrix_s::clustnbr, spmatrix_s::comm, LAPACKE_slassq_work, spmatrix_s::nexp, spmatrix_s::replicated, SpmFrobeniusNorm, SpmInfNorm, SpmMaxNorm, and SpmOneNorm.
Referenced by s_spmCheckAxb(), spmNormMat(), and spmNormVec().