std::vector< double > NxsCharactersBlock::GetContinuousValues ( unsigned  i,
unsigned  j,
const std::string  key 
) [inline]

Accessor for getting the list of continuous values associated with an "ITEM." Usually, these vectors will have length of 1, but the "STATES" item may have a list of all observed values.

Returns:
the vector of values for the appropriate item `key` in the indicated cell of the matrix.

For continuous data matrices, each cell of the matrix can store multiple "items" such as the average, range, max... This function retrieves the collection of data for the taxon `taxIndex` and the character `taxIndex` and then returns the values for the item designated by `key`

GetItems() returns the list of all possible items

Values of DBL_MAX indicate missing data. An empty vector indicates that the key was not used in this cell.

Definition at line 1464 of file nxscharactersblock.h.

 All Classes Functions Variables Enumerations Enumerator Friends
Generated on Mon Mar 29 16:37:12 2010 for NCL by  doxygen 1.6.3