|
Boost Users : |
Subject: [Boost-users] how to get std::min_element() working with boost::multi_array?
From: Valmor de Almeida (val.lists_at_[hidden])
Date: 2010-09-01 15:20:11
Hello,
Could someone help getting std::min_element() (or a variation of) to
work with multi_array?
boost::multi_array<int, 2> A;
// code for dimensioning A and filling in; deleted
cout << *min_element(A.begin(),A.end()) << endl;
Thanks,
-- Valmor
Boost-users list run by williamkempf at hotmail.com, kalb at libertysoft.com, bjorn.karlsson at readsoft.com, gregod at cs.rpi.edu, wekempf at cox.net