PaStiX Handbook  6.3.2

PastixComplex32 low-rank debug functions

void core_clrdbg_printsvd (pastix_int_t M, pastix_int_t N, const pastix_complex32_t *A, pastix_int_t lda)
 Print the svd values of the given matrix. More...
 
int core_clrdbg_check_orthogonality (pastix_int_t M, pastix_int_t N, const pastix_complex32_t *A, pastix_int_t lda)
 Check the orthogonality of the matrix A. More...
 
int core_clrdbg_check_orthogonality_AB (pastix_int_t M, pastix_int_t NA, pastix_int_t NB, const pastix_complex32_t *A, pastix_int_t lda, const pastix_complex32_t *B, pastix_int_t ldb)
 Check the orthogonality of the matrix A relatively to the matrix B. More...
 

PastixFloat low-rank debug functions

void core_slrdbg_printsvd (pastix_int_t M, pastix_int_t N, const float *A, pastix_int_t lda)
 Print the svd values of the given matrix. More...
 
int core_slrdbg_check_orthogonality (pastix_int_t M, pastix_int_t N, const float *A, pastix_int_t lda)
 Check the orthogonality of the matrix A. More...
 
int core_slrdbg_check_orthogonality_AB (pastix_int_t M, pastix_int_t NA, pastix_int_t NB, const float *A, pastix_int_t lda, const float *B, pastix_int_t ldb)
 Check the orthogonality of the matrix A relatively to the matrix B. More...
 

PastixDouble low-rank debug functions

void core_dlrdbg_printsvd (pastix_int_t M, pastix_int_t N, const double *A, pastix_int_t lda)
 Print the svd values of the given matrix. More...
 
int core_dlrdbg_check_orthogonality (pastix_int_t M, pastix_int_t N, const double *A, pastix_int_t lda)
 Check the orthogonality of the matrix A. More...
 
int core_dlrdbg_check_orthogonality_AB (pastix_int_t M, pastix_int_t NA, pastix_int_t NB, const double *A, pastix_int_t lda, const double *B, pastix_int_t ldb)
 Check the orthogonality of the matrix A relatively to the matrix B. More...
 

PastixComplex64 low-rank debug functions

void core_zlrdbg_printsvd (pastix_int_t M, pastix_int_t N, const pastix_complex64_t *A, pastix_int_t lda)
 Print the svd values of the given matrix. More...
 
int core_zlrdbg_check_orthogonality (pastix_int_t M, pastix_int_t N, const pastix_complex64_t *A, pastix_int_t lda)
 Check the orthogonality of the matrix A. More...
 
int core_zlrdbg_check_orthogonality_AB (pastix_int_t M, pastix_int_t NA, pastix_int_t NB, const pastix_complex64_t *A, pastix_int_t lda, const pastix_complex64_t *B, pastix_int_t ldb)
 Check the orthogonality of the matrix A relatively to the matrix B. More...
 

Detailed Description

This is the debug routines for the low rank kernels.

Function Documentation

◆ core_clrdbg_printsvd()

void core_clrdbg_printsvd ( pastix_int_t  M,
pastix_int_t  N,
const pastix_complex32_t A,
pastix_int_t  lda 
)

Print the svd values of the given matrix.

Parameters
[in]MThe number of rows of the matrix A.
[in]NThe number of columns of the matrix A.
[in]AThe matrix A to study of size lda-by-N
[in]ldaThe leading dimension of the matrix A. lda = max( 1, M )

Definition at line 45 of file core_clrdbg.c.

References pastix_int_t.

◆ core_clrdbg_check_orthogonality()

int core_clrdbg_check_orthogonality ( pastix_int_t  M,
pastix_int_t  N,
const pastix_complex32_t A,
pastix_int_t  lda 
)

Check the orthogonality of the matrix A.

Parameters
[in]MThe number of rows of the matrix A.
[in]NThe number of columns of the matrix A.
[in]AThe matrix A to study of size lda-by-N
[in]ldaThe leading dimension of the matrix A. lda = max( 1, M )
Return values
0if the matrix A is orthogonal
1if the matrix A is not orthogonal

Definition at line 101 of file core_clrdbg.c.

References pastix_int_t.

Referenced by core_cge2lr_qrcp(), core_cge2lr_qrrt(), core_clrmm(), and core_crradd_qr().

◆ core_clrdbg_check_orthogonality_AB()

int core_clrdbg_check_orthogonality_AB ( pastix_int_t  M,
pastix_int_t  NA,
pastix_int_t  NB,
const pastix_complex32_t A,
pastix_int_t  lda,
const pastix_complex32_t B,
pastix_int_t  ldb 
)

Check the orthogonality of the matrix A relatively to the matrix B.

Check that A^t B = 0

Parameters
[in]MThe number of rows of the matrix A.
[in]NAThe number of columns of the matrix A.
[in]NBThe number of columns of the matrix B.
[in]AThe matrix A to study of size lda-by-NA
[in]ldaThe leading dimension of the matrix A. lda = max( 1, M )
[in]BThe matrix B to study of size ldb-by-NB
[in]ldbThe leading dimension of the matrix B. ldb = max( 1, M )
Return values
0if the matrices A and B are orthogonal
1if the matrices A anb B are not orthogonal

Definition at line 186 of file core_clrdbg.c.

References pastix_int_t.

Referenced by core_clrorthu_cgs(), and core_clrorthu_partialqr().

◆ core_slrdbg_printsvd()

void core_slrdbg_printsvd ( pastix_int_t  M,
pastix_int_t  N,
const float *  A,
pastix_int_t  lda 
)

Print the svd values of the given matrix.

Parameters
[in]MThe number of rows of the matrix A.
[in]NThe number of columns of the matrix A.
[in]AThe matrix A to study of size lda-by-N
[in]ldaThe leading dimension of the matrix A. lda = max( 1, M )

Definition at line 45 of file core_slrdbg.c.

References pastix_int_t.

◆ core_slrdbg_check_orthogonality()

int core_slrdbg_check_orthogonality ( pastix_int_t  M,
pastix_int_t  N,
const float *  A,
pastix_int_t  lda 
)

Check the orthogonality of the matrix A.

Parameters
[in]MThe number of rows of the matrix A.
[in]NThe number of columns of the matrix A.
[in]AThe matrix A to study of size lda-by-N
[in]ldaThe leading dimension of the matrix A. lda = max( 1, M )
Return values
0if the matrix A is orthogonal
1if the matrix A is not orthogonal

Definition at line 101 of file core_slrdbg.c.

References pastix_int_t.

Referenced by core_sge2lr_qrcp(), core_sge2lr_qrrt(), core_slrmm(), and core_srradd_qr().

◆ core_slrdbg_check_orthogonality_AB()

int core_slrdbg_check_orthogonality_AB ( pastix_int_t  M,
pastix_int_t  NA,
pastix_int_t  NB,
const float *  A,
pastix_int_t  lda,
const float *  B,
pastix_int_t  ldb 
)

Check the orthogonality of the matrix A relatively to the matrix B.

Check that A^t B = 0

Parameters
[in]MThe number of rows of the matrix A.
[in]NAThe number of columns of the matrix A.
[in]NBThe number of columns of the matrix B.
[in]AThe matrix A to study of size lda-by-NA
[in]ldaThe leading dimension of the matrix A. lda = max( 1, M )
[in]BThe matrix B to study of size ldb-by-NB
[in]ldbThe leading dimension of the matrix B. ldb = max( 1, M )
Return values
0if the matrices A and B are orthogonal
1if the matrices A anb B are not orthogonal

Definition at line 186 of file core_slrdbg.c.

References pastix_int_t.

Referenced by core_slrorthu_cgs(), and core_slrorthu_partialqr().

◆ core_dlrdbg_printsvd()

void core_dlrdbg_printsvd ( pastix_int_t  M,
pastix_int_t  N,
const double *  A,
pastix_int_t  lda 
)

Print the svd values of the given matrix.

Parameters
[in]MThe number of rows of the matrix A.
[in]NThe number of columns of the matrix A.
[in]AThe matrix A to study of size lda-by-N
[in]ldaThe leading dimension of the matrix A. lda = max( 1, M )

Definition at line 45 of file core_dlrdbg.c.

References pastix_int_t.

◆ core_dlrdbg_check_orthogonality()

int core_dlrdbg_check_orthogonality ( pastix_int_t  M,
pastix_int_t  N,
const double *  A,
pastix_int_t  lda 
)

Check the orthogonality of the matrix A.

Parameters
[in]MThe number of rows of the matrix A.
[in]NThe number of columns of the matrix A.
[in]AThe matrix A to study of size lda-by-N
[in]ldaThe leading dimension of the matrix A. lda = max( 1, M )
Return values
0if the matrix A is orthogonal
1if the matrix A is not orthogonal

Definition at line 101 of file core_dlrdbg.c.

References pastix_int_t.

Referenced by core_dge2lr_qrcp(), core_dge2lr_qrrt(), core_dlrmm(), and core_drradd_qr().

◆ core_dlrdbg_check_orthogonality_AB()

int core_dlrdbg_check_orthogonality_AB ( pastix_int_t  M,
pastix_int_t  NA,
pastix_int_t  NB,
const double *  A,
pastix_int_t  lda,
const double *  B,
pastix_int_t  ldb 
)

Check the orthogonality of the matrix A relatively to the matrix B.

Check that A^t B = 0

Parameters
[in]MThe number of rows of the matrix A.
[in]NAThe number of columns of the matrix A.
[in]NBThe number of columns of the matrix B.
[in]AThe matrix A to study of size lda-by-NA
[in]ldaThe leading dimension of the matrix A. lda = max( 1, M )
[in]BThe matrix B to study of size ldb-by-NB
[in]ldbThe leading dimension of the matrix B. ldb = max( 1, M )
Return values
0if the matrices A and B are orthogonal
1if the matrices A anb B are not orthogonal

Definition at line 186 of file core_dlrdbg.c.

References pastix_int_t.

Referenced by core_dlrorthu_cgs(), and core_dlrorthu_partialqr().

◆ core_zlrdbg_printsvd()

void core_zlrdbg_printsvd ( pastix_int_t  M,
pastix_int_t  N,
const pastix_complex64_t *  A,
pastix_int_t  lda 
)

Print the svd values of the given matrix.

Parameters
[in]MThe number of rows of the matrix A.
[in]NThe number of columns of the matrix A.
[in]AThe matrix A to study of size lda-by-N
[in]ldaThe leading dimension of the matrix A. lda = max( 1, M )

Definition at line 45 of file core_zlrdbg.c.

References pastix_int_t.

◆ core_zlrdbg_check_orthogonality()

int core_zlrdbg_check_orthogonality ( pastix_int_t  M,
pastix_int_t  N,
const pastix_complex64_t *  A,
pastix_int_t  lda 
)

Check the orthogonality of the matrix A.

Parameters
[in]MThe number of rows of the matrix A.
[in]NThe number of columns of the matrix A.
[in]AThe matrix A to study of size lda-by-N
[in]ldaThe leading dimension of the matrix A. lda = max( 1, M )
Return values
0if the matrix A is orthogonal
1if the matrix A is not orthogonal

Definition at line 101 of file core_zlrdbg.c.

References pastix_int_t.

Referenced by core_zge2lr_qrcp(), core_zge2lr_qrrt(), core_zlrmm(), and core_zrradd_qr().

◆ core_zlrdbg_check_orthogonality_AB()

int core_zlrdbg_check_orthogonality_AB ( pastix_int_t  M,
pastix_int_t  NA,
pastix_int_t  NB,
const pastix_complex64_t *  A,
pastix_int_t  lda,
const pastix_complex64_t *  B,
pastix_int_t  ldb 
)

Check the orthogonality of the matrix A relatively to the matrix B.

Check that A^t B = 0

Parameters
[in]MThe number of rows of the matrix A.
[in]NAThe number of columns of the matrix A.
[in]NBThe number of columns of the matrix B.
[in]AThe matrix A to study of size lda-by-NA
[in]ldaThe leading dimension of the matrix A. lda = max( 1, M )
[in]BThe matrix B to study of size ldb-by-NB
[in]ldbThe leading dimension of the matrix B. ldb = max( 1, M )
Return values
0if the matrices A and B are orthogonal
1if the matrices A anb B are not orthogonal

Definition at line 186 of file core_zlrdbg.c.

References pastix_int_t.

Referenced by core_zlrorthu_cgs(), and core_zlrorthu_partialqr().