21 #ifndef GRT_VECTOR_FLOAT_HEADER
22 #define GRT_VECTOR_FLOAT_HEADER
24 #include "..//Util/GRTTypedefs.h"
26 #include "../Util/MinMax.h"
27 #include "../Util/DebugLog.h"
28 #include "../Util/ErrorLog.h"
29 #include "../Util/WarningLog.h"
53 VectorFloat(
const unsigned int size,
const Float &value );
97 bool save(
const std::string &filename)
const;
108 bool load(
const std::string &filename,
const char seperator =
',');
116 bool print(
const std::string title=
"")
const;
124 bool scale(
const Float minTarget,
const Float maxTarget,
const bool constrain =
true);
131 bool scale(
const Float minSource,
const Float maxSource,
const Float minTarget,
const Float maxTarget,
const bool constrain =
true);
167 #endif //Header guard
Float getMaxValue() const
The Vector class is a basic class for storing any type of data. The default Vector is an interface fo...
bool save(const std::string &filename) const
bool load(const std::string &filename, const char seperator= ',')
Float getMinValue() const
bool print(const std::string title="") const
VectorFloat & operator=(const VectorFloat &rhs)
bool scale(const Float minTarget, const Float maxTarget, const bool constrain=true)