Main Page | Directories | File List | Globals

dtCMatrix.c File Reference

#include "dtCMatrix.h"

Functions

SEXP tsc_validate (SEXP x)
SEXP tsc_transpose (SEXP x)
SEXP tsc_to_dgTMatrix (SEXP x)
int parent_inv_ap (int n, int countDiag, const int pr[], int ap[])
void parent_inv_ai (int n, int countDiag, const int pr[], int ai[])
SEXP Parent_inverse (SEXP par, SEXP unitdiag)

Function Documentation

void parent_inv_ai int  n,
int  countDiag,
const int  pr[],
int  ai[]
 

Derive the row index array for the inverse of L from the parent array

Parameters:
n length of parent array
countDiag 0 for a unit triangular matrix with implicit diagonal, otherwise 1
pr parent vector describing the elimination tree
ai row index vector of length ap[n]

int parent_inv_ap int  n,
int  countDiag,
const int  pr[],
int  ap[]
 

Derive the column pointer vector for the inverse of L from the parent array

Parameters:
n length of parent array
countDiag 0 for a unit triangular matrix with implicit diagonal, otherwise 1
pr parent vector describing the elimination tree
ap array of length n+1 to be filled with the column pointers
Returns:
the number of non-zero entries (ap[n])

SEXP Parent_inverse SEXP  par,
SEXP  unitdiag
 

SEXP tsc_to_dgTMatrix SEXP  x  ) 
 

SEXP tsc_transpose SEXP  x  ) 
 

SEXP tsc_validate SEXP  x  ) 
 


Generated on Tue Mar 1 16:58:11 2005 for Matrix by  doxygen 1.4.1