Gadget
|
Functions | |
void | readRefWeights (CommentStream &infile, DoubleMatrix &M) |
This is the function that will read reference weight data from a file into a matrix. More... | |
int | countColumns (CommentStream &infile) |
This is the function that will count the number of columns of data in a file. More... | |
void | readAmounts (CommentStream &infile, const IntVector &tmpareas, const TimeClass *const TimeInfo, const AreaClass *const Area, FormulaMatrix &amount, const char *givenname) |
void | readGrowthAmounts (CommentStream &infile, const TimeClass *const TimeInfo, const AreaClass *const Area, FormulaMatrixPtrVector &amount, const CharPtrVector &lenindex, const IntVector &tmpareas) |
int countColumns | ( | CommentStream & | infile | ) |
This is the function that will count the number of columns of data in a file.
infile | is the CommentStream to read the data from |
void readAmounts | ( | CommentStream & | infile, |
const IntVector & | tmpareas, | ||
const TimeClass *const | TimeInfo, | ||
const AreaClass *const | Area, | ||
FormulaMatrix & | amount, | ||
const char * | givenname | ||
) |
void readGrowthAmounts | ( | CommentStream & | infile, |
const TimeClass *const | TimeInfo, | ||
const AreaClass *const | Area, | ||
FormulaMatrixPtrVector & | amount, | ||
const CharPtrVector & | lenindex, | ||
const IntVector & | tmpareas | ||
) |
void readRefWeights | ( | CommentStream & | infile, |
DoubleMatrix & | M | ||
) |
This is the function that will read reference weight data from a file into a matrix.
infile | is the CommentStream to read the data from |
M | is the DoubleMatrix that the reference weight data will be stored in |