You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
template <typename T> using Array = std::vector<T>;
But maybe we could try to use valarray instead of vector STL container, it has some advantages, for example it includes math functions (abs sin, cos..) and slicing yhe array that could be very useful. I will make some test, and will report here.
The text was updated successfully, but these errors were encountered:
Converting the code to valarray, has some drawbacks, it lacks of vector functions like empty(), data(), assign(). Because the code now it use these functions, i need to understand if it possible to convert the code without these functions.
At the moment i declared all the members inside data_t class as vector's because they are Array's
webarkit-jsfeat-cpp/src/types/types.h
Line 13 in c02edb5
But maybe we could try to use valarray instead of vector STL container, it has some advantages, for example it includes math functions (abs sin, cos..) and slicing yhe array that could be very useful. I will make some test, and will report here.
The text was updated successfully, but these errors were encountered: