I have a 2d Array (static matrix) and I'd like to calculate and subtract the row minimum from each row.
I've trouble in calculate even the minimum.
Could you give me some help please?
I've tried a very simple code in Visual Studio 2006 but it said that the identifier "fmin"is not found
You mean VS6, right? There isn't a VS2006, it's the version before VS2003 and VS2002.
You should use std::min. Be careful, Microsoft have a macros max/min somewhere, and they clash with the stl versions. You can switch them off by defining NO_MINMAX or something like that ... I can't remember