63 if (pastix_data == NULL) {
64 pastix_print_error(
"pastix_getDiag: wrong pastix_data parameter" );
68 pastix_print_error(
"pastix_getDiag: D parameter" );
72 pastix_print_error(
"pastix_getDiag: incD parameter" );
75 if ( !(pastix_data->
steps & STEP_NUMFACT) ) {
76 pastix_print_error(
"pastix_getDiag: All steps from pastix_task_init() to pastix_task_numfact() have to be called before calling this function" );
80 iparm = pastix_data->
iparm;
BEGIN_C_DECLS typedef int pastix_int_t
void coeftab_sgetdiag(const SolverMatrix *solvmtx, float *D, pastix_int_t incD)
Extract the diagonal.
void coeftab_cgetdiag(const SolverMatrix *solvmtx, pastix_complex32_t *D, pastix_int_t incD)
Extract the diagonal.
void coeftab_dgetdiag(const SolverMatrix *solvmtx, double *D, pastix_int_t incD)
Extract the diagonal.
void coeftab_zgetdiag(const SolverMatrix *solvmtx, pastix_complex64_t *D, pastix_int_t incD)
Extract the diagonal.
@ PASTIX_ERR_BADPARAMETER
int pastixGetDiag(const pastix_data_t *pastix_data, void *D, pastix_int_t incD)
Return the diagonal of the matrix.
Main PaStiX data structure.