print_vector + scaled = error

Irek Szczesniak <[email protected]> Mon, 08 May 2006 22:11:01 -0700
Newsgroups gmane.comp.lib.mtl.devel
Message-ID <[email protected]>
I get an error when I try to compile this simple example:

#include <mtl/dense1D.h>
#include <mtl/utils.h>

using namespace mtl;

int
main()
{
   dense1D<double> a(2, 1.0);
   print_vector(scaled(a, 3));

   return 0;
}

Why does it fail?  I tried the same construction with print_all_matrix
and it worked.


Best,
Irek
_______________________________________________
This list is archived at http://www.osl.iu.edu/MailArchives/mtl-devel/