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 GRT_API
VectorFloat(
const size_type size,
const Float &value );
73 GRT_API VectorFloat&
operator=(
const VectorFloat &rhs);
89 GRT_API VectorFloat&
operator=(
const vector< VectorFloat > &rhs);
97 GRT_API
bool save(
const std::string &filename)
const;
108 GRT_API
bool load(
const std::string &filename,
const char seperator =
',');
116 GRT_API
bool print(
const std::string title=
"")
const;
124 GRT_API
bool scale(
const Float minTarget,
const Float maxTarget,
const bool constrain =
true);
131 GRT_API
bool scale(
const Float minSource,
const Float maxSource,
const Float minTarget,
const Float maxTarget,
const bool constrain =
true);
167 #endif //Header guard GRT_API Float getMaxValue() const
The Vector class is a basic class for storing any type of data. The default Vector is an interface fo...
GRT_API bool save(const std::string &filename) const
GRT_API bool load(const std::string &filename, const char seperator= ',')
GRT_API Float getMinValue() const
GRT_API bool print(const std::string title="") const
GRT_API VectorFloat & operator=(const VectorFloat &rhs)
GRT_API bool scale(const Float minTarget, const Float maxTarget, const bool constrain=true)
virtual GRT_API ~VectorFloat()
GRT_API Float getMean() const
GRT_API Float getStdDev() const
GRT_API MinMax getMinMax() const