Package dragon.matrix

A package for matrix (both dense matrix and sparse matrix) storage, read, write and operations.

See:
          Description

Interface Summary
Cell Interface of cell which is the unit of a matrix
DenseMatrix Interface of dense matrix
DoubleDenseMatrix Interface of Double Dense Matrix
DoubleSparseMatrix Interface of Double-typed Sparse Matrix
IntDenseMatrix Interface of Integer-typed Dense Matrix
IntSparseMatrix Interface of Integer-typed Sparse Matrix
Matrix Interface of matrix including dense matrix and sparse matrix
Row Interface of row for sparse matrix
SparseMatrix Interface of sparse matrix
 

Class Summary
AbstractCell Implements basic functions of interface--Cell such as resetting and comparing cell objects
AbstractDenseMatrix Implements basic functions of interface--DenseMatrix and extends class AbstractMatrix
AbstractFlatSparseMatrix Abstract flat sparse matrix handles sparse matrix smaller than super sparse matrix while adding options for read and store matrix data to disk either in text or binary format
AbstractGiantSparseMatrix The abstract sparse matrix for handling extreme large sparse matrirwhich will write matrix data to disk whenever it's over fulsh interval by default 1000,000 and superior to AbstractSuperSparseMatrix, however it's lack of some basic matrix operation functions such as getNonZeroColumnInRow privided by AbstractSuperSparseMatrix because it focuses on storing and loading matrix to disk efficiently
AbstractMatrix Abstract Matrix implements basic functions such as getting base row, getting base column and so on.
AbstractRow Abstract row class implementing functions of as row related operations
AbstractSparseMatrix Abstract Sparse matrix implements the interface of sparse matrix which can be called by any data type's sparse matrix such as double and integer
AbstractSuperSparseMatrix Abstract super sparse matrix is designed for large sparse matrix which first caches data and then processes data and write data to disk when it's over flush interval
CoordinateComparator The comparator for a coordinate of a sparse matrix which compares the two cell objects regarding to a coordinate
DoubleCell The cell object for handling double data
DoubleFlatDenseMatrix Double flat dense matrix which provides options of storing data to disk in binary manner or text manner
DoubleFlatSparseMatrix Double flat sparse matrix handles data smaller than super sparse matrix, however it provides options of storing data to disk either in binary or text format
DoubleGiantSparseMatrix Giant sparse matrix handles extreme large double sparse matrix
DoubleRow Row of matrix for data type of double
DoubleSuperSparseMatrix Super sparse matrix for double data type
IntCell Cell for integer data
IntFlatDenseMatrix Flat dense matrix for integer data
IntFlatSparseMatrix Flat sparse matrix for integer data
IntGiantSparseMatrix Giant sparse matrix for extreme large integer matrix
IntRow Row of matrix for integer data
IntSuperSparseMatrix Super sparse matrix for integer data
SparseMatrixFactory Sparse matrix factory is for storing, reading and expanding matrix operations
 

Package dragon.matrix Description

A package for matrix (both dense matrix and sparse matrix) storage, read, write and operations.

Package Specification

The dragon toolkit uses its own technique for sparse matrix. All sparse matrix classes should implement an interface called SparseMatrix. The toolkit has included three implmentations, flat sparse matrix, super sparse matrix, and giant sparse matrix for matrix in different size. The flat sparse matrix load all data into memory and thus very fast, but fit for small dataset only. The super sparse matrix will load index into the memory and cache a given number of rows. The giant sparse matrix load nothing into the memory except caching the most recent row.