Functions
libmetis/util.c File Reference
#include "metislib.h"
Include dependency graph for libmetis/util.c:

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)
 

Function Documentation

◆ iargmax2_nrm()

idx_t iargmax2_nrm ( size_t  n,
idx_t x,
real_t y 
)

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.

◆ iargmax_nrm()

idx_t iargmax_nrm ( size_t  n,
idx_t x,
real_t y 
)

Returns the highest weight index of x[i]*y[i]

Definition at line 31 of file libmetis/util.c.

◆ iargmax_strd()

idx_t iargmax_strd ( size_t  n,
idx_t x,
idx_t  incx 
)

These functions return the index of the maximum element in a vector

Definition at line 46 of file libmetis/util.c.

◆ InitRandom()

void InitRandom ( idx_t  seed)

This function initializes the random number generator

Definition at line 21 of file libmetis/util.c.

◆ metis_rcode()

int metis_rcode ( int  sigrval)

converts a signal code into a Metis return code

Definition at line 123 of file libmetis/util.c.

◆ rargmax2()

idx_t rargmax2 ( size_t  n,
real_t x 
)

These functions return the index of the almost maximum element in a vector

Definition at line 63 of file libmetis/util.c.



gtsam
Author(s):
autogenerated on Sat Nov 16 2024 04:09:55