// // C++ Implementation: itpp_ext // // Description: // // // Author: smidl , (C) 2008 // // Copyright: See COPYING file that comes with this distribution // // #include namespace itpp { Array to_Arr(const ivec &indices) { Array a(indices.size()); for (int i = 0; i < a.size(); i++) { a(i) = indices(i); } return a; } }