Go to the documentation of this file.
9 #ifndef __IPTRIPLETHELPER_HPP__
10 #define __IPTRIPLETHELPER_HPP__
Class for a Matrix in conjunction with its scaling factors for row and column scaling.
Class for symmetric matrices consisting of other matrices.
static void FillValues_(Index n_entries, const ExpandedMultiVectorMatrix &matrix, Number *values)
static void FillValuesFromVector(Index dim, const Vector &vector, Number *values)
fill the values from the vector into a dense double* structure
Class for a Matrix in conjunction with its scaling factors for row and column scaling.
static void FillValues_(Index n_entries, const SumSymMatrix &matrix, Number *values)
static void FillRowCol_(Index n_entries, const SumMatrix &matrix, Index row_offset, Index col_offset, Index *iRow, Index *jCol)
Class for Matrices which are sum of matrices.
static void FillValues(Index n_entries, const Matrix &matrix, Number *values)
fill the values for the triplet format from the matrix
static void FillRowCol_(Index n_entries, const GenTMatrix &matrix, Index row_offset, Index col_offset, Index *iRow, Index *jCol)
static Index GetNumberEntries_(const CompoundMatrix &matrix)
find the total number of triplet entries for the CompoundMatrix
double Number
Type of all numbers.
static void FillRowCol_(Index n_entries, const ExpandedMultiVectorMatrix &matrix, Index row_offset, Index col_offset, Index *iRow, Index *jCol)
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
static void FillRowCol_(Index n_entries, const IdentityMatrix &matrix, Index row_offset, Index col_offset, Index *iRow, Index *jCol)
static Index GetNumberEntries_(const SumSymMatrix &matrix)
find the total number of triplet entries for the SumSymMatrix
static void FillValues_(Index n_entries, const SumMatrix &matrix, Number *values)
Class for Matrices consisting of other matrices.
static void FillValues_(Index n_entries, const TransposeMatrix &matrix, Number *values)
static void FillValues_(Index n_entries, const GenTMatrix &matrix, Number *values)
static Index GetNumberEntries(const Matrix &matrix)
find the total number of triplet entries of a Matrix
Class for Matrices which are sum of symmetric matrices.
static void FillValues_(Index n_entries, const IdentityMatrix &matrix, Number *values)
int Index
Type of all indices of vectors, matrices etc.
static Index GetNumberEntries_(const SumMatrix &matrix)
find the total number of triplet entries for the SumMatrix
Class for Matrices with only zero entries.
static void FillRowCol_(Index n_entries, const ScaledMatrix &matrix, Index row_offset, Index col_offset, Index *iRow, Index *jCol)
static void PutValuesInVector(Index dim, const double *values, Vector &vector)
put the values from the double* back into the vector
static void FillRowCol_(Index n_entries, const CompoundMatrix &matrix, Index row_offset, Index col_offset, Index *iRow, Index *jCol)
static void FillRowCol_(Index n_entries, const SymScaledMatrix &matrix, Index row_offset, Index col_offset, Index *iRow, Index *jCol)
static void FillRowCol_(Index n_entries, const TransposeMatrix &matrix, Index row_offset, Index col_offset, Index *iRow, Index *jCol)
static void FillRowCol_(Index n_entries, const DiagMatrix &matrix, Index row_offset, Index col_offset, Index *iRow, Index *jCol)
static void FillValues_(Index n_entries, const SymTMatrix &matrix, Number *values)
static void FillRowCol_(Index n_entries, const SumSymMatrix &matrix, Index row_offset, Index col_offset, Index *iRow, Index *jCol)
static Index GetNumberEntries_(const ExpandedMultiVectorMatrix &matrix)
find the total number of triplet entries for the TransposeMatrix
Class for Matrices which are multiples of the identity matrix.
static void FillValues_(Index n_entries, const CompoundSymMatrix &matrix, Number *values)
Class for general matrices stored in triplet format.
Class for Matrices with few rows that consists of Vectors, together with a premultiplied Expansion ma...
static void FillValues_(Index n_entries, const ScaledMatrix &matrix, Number *values)
Class for diagonal matrices.
static void FillValues_(Index n_entries, const CompoundMatrix &matrix, Number *values)
static void FillValues_(Index n_entries, const ExpansionMatrix &matrix, Number *values)
Class for symmetric matrices stored in triplet format.
static Index GetNumberEntries_(const TransposeMatrix &matrix)
find the total number of triplet entries for the TransposeMatrix
static void FillValues_(Index n_entries, const SymScaledMatrix &matrix, Number *values)
static void FillRowCol_(Index n_entries, const SymTMatrix &matrix, Index row_offset, Index col_offset, Index *iRow, Index *jCol)
static void FillRowCol_(Index n_entries, const CompoundSymMatrix &matrix, Index row_offset, Index col_offset, Index *iRow, Index *jCol)
Class for Matrices which are the transpose of another matrix.
Class for expansion/projection matrices.
static void FillRowCol_(Index n_entries, const ExpansionMatrix &matrix, Index row_offset, Index col_offset, Index *iRow, Index *jCol)
DECLARE_STD_EXCEPTION(SUFFIX_EMPTY)
static void FillValues_(Index n_entries, const DiagMatrix &matrix, Number *values)
static Index GetNumberEntries_(const CompoundSymMatrix &matrix)
find the total number of triplet entries for the CompoundSymMatrix