Main Page Modules Class Hierarchy Compound List File List Compound Members File Members Related Pages
IotrVectorCategorize Class Reference
[VectorAnalysis]
A rule for dividing this vector into categories, possibly based also on the values in one or more additonal vectors.
More...
#include <IotrVector.hh>
Inheritance diagram for IotrVectorCategorize:
List of all members.
Detailed Description
A rule for dividing this vector into categories, possibly based also on the values in one or more additonal vectors.
The parameter cat is initially all 0. To add an index i to a category k bitwise or cat[i] with a value that has the kth bit set. For convenience the constants categoryK with K = 1,..., 8 have been defined so that, for example,
cat[i] |= category1 | category5;
Places index i into categories 1 and 5. It must be emphasized, however, that the indices into cat, self, and any other arrays are relative. For most types of vectors, the rule will be called multiple times and i = 0 will not refer to the first element in the vector itself, but merely the first element in the current chunk being categorized. - Parameters:
-
cat |
[output] an array indicating the categories |
ncat |
the number of categories expected |
self |
the double precision elements of a vector |
rhs |
the double precision elements of 0 or more additional vectors. |
nrhs |
the number of double precision arrays in rhs. |
- See also:
-
IotrVector::categorize
The documentation for this class was generated from the following file:
Generated on Wed Aug 27 10:03:42 2003 for iotr by
1.2.18