next up previous
Next: MV++ Classes Up: Overview Previous: About MV++

Basic Features

MV++ provides two basic classes: a numerical vector (1-d array), and column (Fortran) oriented dense matrix. Indexing is performed via the operator(), as in A(i,j).

Subvectors and submatrices can be accessed through MV_VecIndex classes. In other words, if B is the vector

then B(MV_VecIndex(1,5)) = 9.9 sets B to

and is equivalent to

       for (i=1; i<=5; B[i++] = 9.9 )

Other considerations:

Roldan Pozo
Tue Nov 7 18:40:56 EST 1995