Boost logo

Ublas :

From: Neal Becker (ndbecker2_at_[hidden])
Date: 2005-10-06 14:12:14


#include <boost/numeric/ublas/vector.hpp>
#include <iostream>
#include <iterator>

int main() {
  boost::numeric::ublas::zero_vector<double> v (10);

  std::copy (v.begin(), v.end(), std::ostream_iterator<double> (std::cout, "
"));
}

This will print NOTHING. Is that what you expect???