|
Ublas : |
From: Hugo Duncan (hugo_duncan_at_[hidden])
Date: 2007-02-20 12:42:19
Hi,
Using boost CVS code:
ublas::vector<double, ublas::bounded_array<double,3> > v(3);
v= ublas::unit_vector<double>(3,1);
v= ublas::unit_vector<double>(3,2);
both assignments throw an external logic exception. The following all
seem to work.
v= ublas::unit_vector<double>(3,0);
v= ublas::unit_vector<double>(3,1);
v= ublas::unit_vector<double>(3,2);
v= -ublas::unit_vector<double>(3,0);
Hugo
____________________________________________________________________________________
Have a burning question?
Go to www.Answers.yahoo.com and get answers from real people who know.