Let us say you have an old variable and you want to re-initialize it to view some other data. For this task, you can use the member function reference():
#include <rw/math/mathvec.h> main() { RWMathVec<double> a, b, c; . . . a.reference(b + c); }
This produces exactly the same results as:
#include <rw/math/mathvec.h> main() { RWMathVec<double> b, c; . . . RWMathVec<double> a = b + c; }>
©Copyright 1999, Rogue Wave Software, Inc.
Contact Rogue Wave about documentation or support issues.