HOLDER_PAC
 All Classes Functions Modules
Functions
Kernel Matrix Constructors

Functions

 HODLR_Matrix::HODLR_Matrix (int numRows, int numCols, double(*inputKernel)(int i, int j, void *inputKernelData), void *inputKernelData, int inputSizeThreshold)
 
 HODLR_Matrix::HODLR_Matrix (int numRows, int numCols, double(*inputKernel)(int i, int j, void *inputKernelData), void *inputKernelData, Eigen::SparseMatrix< double > &inputGraph, int inputSizeThreshold)
 
 HODLR_Matrix::HODLR_Matrix (int numRows, int numCols, double(*inputKernel)(int i, int j, void *inputKernelData), void *inputKernelData, int inputSizeThreshold, user_IndexTree &input_IndexTree)
 
 HODLR_Matrix::HODLR_Matrix (int numRows, int numCols, double(*inputKernel)(int i, int j, void *inputKernelData), void *inputKernelData, Eigen::SparseMatrix< double > &inputGraph, int inputSizeThreshold, user_IndexTree &input_IndexTree)
 

Detailed Description

Thse constructors build an HODLR matrix from a preallcated dense matrix. Currently, the dense matrix is being passed by a non const reference variable. So if you want your original matrix, copy it elsewhere befor passing it to the constructor.

Function Documentation

HODLR_Matrix::HODLR_Matrix ( int  numRows,
int  numCols,
double(*)(int i, int j, void *inputKernelData)  inputKernel,
void *  inputKernelData,
int  inputSizeThreshold 
)
Parameters
[in]inputMatrixThis constructor initializes the class with a dense matrix.
HODLR_Matrix::HODLR_Matrix ( int  numRows,
int  numCols,
double(*)(int i, int j, void *inputKernelData)  inputKernel,
void *  inputKernelData,
Eigen::SparseMatrix< double > &  inputGraph,
int  inputSizeThreshold 
)
Parameters
[in]inputMatrixThis constructor initializes the class with a dense matrix.
HODLR_Matrix::HODLR_Matrix ( int  numRows,
int  numCols,
double(*)(int i, int j, void *inputKernelData)  inputKernel,
void *  inputKernelData,
int  inputSizeThreshold,
user_IndexTree input_IndexTree 
)
Parameters
[in]inputMatrixThis constructor initializes the class with a dense matrix.