Matrix r5059
|
#include "Mdefines.h"
Go to the source code of this file.
Functions | |
int | isPerm (const int *p, int n, int off) |
int | signPerm (const int *p, int n, int off) |
void | invertPerm (const int *p, int *ip, int n, int off, int ioff) |
void | asPerm (const int *p, int *ip, int m, int n, int off, int ioff) |
SEXP | R_isPerm (SEXP s_p, SEXP s_off) |
SEXP | R_signPerm (SEXP s_p, SEXP s_off) |
SEXP | R_invertPerm (SEXP s_p, SEXP s_off, SEXP s_ioff) |
SEXP | R_asPerm (SEXP s_p, SEXP s_off, SEXP s_ioff, SEXP s_n) |
void asPerm | ( | const int * | p, |
int * | ip, | ||
int | m, | ||
int | n, | ||
int | off, | ||
int | ioff ) |
void invertPerm | ( | const int * | p, |
int * | ip, | ||
int | n, | ||
int | off, | ||
int | ioff ) |
Definition at line 47 of file perm.c.
Referenced by index_subscript_2ary(), and R_invertPerm().
int isPerm | ( | const int * | p, |
int | n, | ||
int | off ) |
Definition at line 3 of file perm.c.
References Matrix_Calloc, and Matrix_Free.
Referenced by index_subscript_2ary(), invertPerm(), R_isPerm(), and signPerm().
SEXP R_asPerm | ( | SEXP | s_p, |
SEXP | s_off, | ||
SEXP | s_ioff, | ||
SEXP | s_n ) |
SEXP R_invertPerm | ( | SEXP | s_p, |
SEXP | s_off, | ||
SEXP | s_ioff ) |
Definition at line 109 of file perm.c.
References _, invertPerm(), and TYPEOF.
SEXP R_isPerm | ( | SEXP | s_p, |
SEXP | s_off ) |
SEXP R_signPerm | ( | SEXP | s_p, |
SEXP | s_off ) |
Definition at line 92 of file perm.c.
References _, signPerm(), and TYPEOF.
int signPerm | ( | const int * | p, |
int | n, | ||
int | off ) |
Definition at line 22 of file perm.c.
References _, isPerm(), Matrix_Calloc, and Matrix_Free.
Referenced by R_signPerm(), sparseLU_determinant(), and sparseQR_determinant().