52 int MyRow = mat->LRID(GlobalRow);
53 if(MyRow == -1)
return 0;
54 int & len = *NumEntries;
55 int *& ind = *Indices;
56 ierr += mat->Graph().ExtractMyRowView(MyRow, len, ind);
63 int MyRow = mat->LRID(GlobalRow);
64 if(MyRow == -1)
return 0;
65 int &len = *NumEntries;
66 double *& val = *Values;
67 ierr += mat->ExtractMyRowView(MyRow, len, val);
75 return mat->RowMap().MinMyGID();
77 return mat->RowMap().MaxMyGID();
81 return mat->ColMap().MinMyGID();
83 return mat->ColMap().MaxMyGID();
91 return mat->NumGlobalRows();
93 return mat->NumGlobalCols();
99 return mat->NumMyRowEntries(mat->LRID(Row), *numEntries);
int MinMaxMyGID(void *A, bool Row, bool min)
int NumMyRowEntries(void *A, int Row, int *numEntries)
int NumGlobalRowCol(void *A, bool Row)
int ExtractIndicesView(void *A, int GlobalRow, int *NumEntries, int **Indices)
int ExtractValuesView(void *A, int GlobalRow, int *NumEntries, double **Values)