Main Page | Directories | File List | Globals

dtCMatrix.h File Reference

#include "Mutils.h"
#include "dgCMatrix.h"

Go to the source code of this file.

Functions

SEXP tsc_validate (SEXP x)
SEXP tsc_transpose (SEXP x)
SEXP tsc_to_dgTMatrix (SEXP x)
SEXP Parent_inverse (SEXP par, SEXP unitdiag)
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[])


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 Fri Feb 18 08:49:34 2005 for Matrix by  doxygen 1.4.1