#include "metislib.h"
Go to the source code of this file.
Functions | |
idx_t | iargmax2_nrm (size_t n, idx_t *x, real_t *y) |
idx_t | iargmax_nrm (size_t n, idx_t *x, real_t *y) |
idx_t | iargmax_strd (size_t n, idx_t *x, idx_t incx) |
void | InitRandom (idx_t seed) |
int | metis_rcode (int sigrval) |
idx_t | rargmax2 (size_t n, real_t *x) |
These functions return the index of the second largest elements in the vector formed by x.y where '.' is element-wise multiplication
Definition at line 93 of file libmetis/util.c.
Returns the highest weight index of x[i]*y[i]
Definition at line 31 of file libmetis/util.c.
These functions return the index of the maximum element in a vector
Definition at line 46 of file libmetis/util.c.
void InitRandom | ( | idx_t | seed | ) |
This function initializes the random number generator
Definition at line 21 of file libmetis/util.c.
converts a signal code into a Metis return code
Definition at line 123 of file libmetis/util.c.
These functions return the index of the almost maximum element in a vector
Definition at line 63 of file libmetis/util.c.