9 #ifndef __IPTRIPLETHELPER_HPP__
10 #define __IPTRIPLETHELPER_HPP__
27 class ExpansionMatrix;
29 class SymScaledMatrix;
35 class CompoundSymMatrix;
36 class TransposeMatrix;
37 class ExpandedMultiVectorMatrix;
static Index GetNumberEntries(const Matrix &matrix)
find the total number of triplet entries of a Matrix
static Index GetNumberEntries_(const SumMatrix &matrix)
find the total number of triplet entries for the SumMatrix
Class for diagonal matrices.
Class for a Matrix in conjunction with its scaling factors for row and column scaling.
static void FillValuesFromVector(Index dim, const Vector &vector, Number *values)
fill the values from the vector into a dense double* structure
double Number
Type of all numbers.
Class for a Matrix in conjunction with its scaling factors for row and column scaling.
static void FillRowCol(Index n_entries, const Matrix &matrix, Index *iRow, Index *jCol, Index row_offset=0, Index col_offset=0)
fill the irows, jcols structure for the triplet format from the matrix
Class for symmetric matrices consisting of other matrices.
static void FillValues_(Index n_entries, const GenTMatrix &matrix, Number *values)
Class for Matrices which are the transpose of another matrix.
Class for Matrices which are multiples of the identity matrix.
Class for Matrices which are sum of symmetric matrices.
Class for Matrices with few rows that consists of Vectors, together with a premultiplied Expansion ma...
int Index
Type of all indices of vectors, matrices etc.
Class for general matrices stored in triplet format.
Class for expansion/projection matrices.
DECLARE_STD_EXCEPTION(SUFFIX_EMPTY)
Class for symmetric matrices stored in triplet format.
Class for Matrices which are sum of matrices.
static void PutValuesInVector(Index dim, const double *values, Vector &vector)
put the values from the double* back into the vector
Class for Matrices consisting of other matrices.
static void FillRowCol_(Index n_entries, const GenTMatrix &matrix, Index row_offset, Index col_offset, Index *iRow, Index *jCol)
static void FillValues(Index n_entries, const Matrix &matrix, Number *values)
fill the values for the triplet format from the matrix