#include "petscsys.h" PetscErrorCode PetscSortSplit(PetscInt ncut,PetscInt n,PetscScalar a[],PetscInt idx[])Not Collective Many br
ncut | - splitig index Many br | |
n | - number of values to sort Many br | |
a | - array of values Many br | |
idx | - index for array a Many br |
a | - permuted array of values such that its elements satisfy: Many brabs(a[i]) >= abs(a[ncut-1]) for i < ncut and Many brabs(a[i]) <= abs(a[ncut-1]) for i >= ncut Many br | |
idx | - permuted index of array a Many br |
Many br
Level:intermediate
Location:src/sys/utils/sortd.c
Index of all Sys routines
Table of Contents for all manual pages
Index of all manual pages