[Pyublas] I see

Neal Becker ndbecker2 at gmail.com
Thu Jan 29 06:43:01 PST 2009


It seems to want me to use as_ublas:

template<typename out_t, typename in_t>
inline out_t norm_2 (in_t const& in) {
  return ublas::norm_2 (in.as_ublas());
}

That works (although I don't understand why)




More information about the Pyublas mailing list