/*
     File:         heaputils.h
     Author:       David Cohn
     Created:      22 Aug 2002
     Description:  Utilities using the heap code
*/

#ifndef HEAPUTILS_H
#define HEAPUTILS_H

#include "amdyv.h"
#include "amiv.h"

/* A (relatively) fast way to get the indices of the n largest
   elements in a laaaarge dyv.
*/

ivec *mk_indices_of_n_largest_in_dyv(dyv *vec, int n) ;

#endif /* HEAPUTILS_H */
