#include "petsc.h" #include "sys.h" int PetscSortDoubleWithPermutation(int n,const double i[],int idx[])Not Collective
n | - number of values to sort | |
i | - values to sort | |
idx | - permutation array. Must be initialized to 0:n-1 on input. |
Level:intermediate
Location:src/sys/src/utils/sortip.c
System Index
Table of Contents