|
|
Class Methods |
|
#include "matrix.h"
void Matrix::setVal ( int row, int col, double val ) {
_array [_nc * row + col] = val;
return;
}
If the class identifier is left out then the function is assumed to be in
the global scope and will have no access to private members
of the class.