$include_dir="/home/hyper-archives/ublas/include"; include("$include_dir/msg-header.inc") ?>
From: Leon Gu (leongu_at_[hidden])
Date: 2008-08-03 15:34:56
Does anyone have an ublas implementation of the matlab find() function?
It'll be very useful for vectorizing a wide variety of algorithms. Given
a vector/matrix, the function returns an index array of
the nonzero elements,
template <typename vector_type>
indirect_array<vector_type> ublas_find(const vector_type& data)
Leon