49template <
class Visitor,
int Structure_>
struct GetIdx;
63template <
typename Type_>
79template <
typename Type>
87 { this->res_ = value; this->
row_ = i; this->
col_ = j;}
97template <
typename Type>
105 { this->res_ = value; this->
row_ = i; this->
col_ = j;}
113template <
typename Type>
120 if (value > this->
res_)
129template <
typename Type>
137 if(value > this->
res_)
146template <
typename Type_>
165template <
typename Type_>
184template <
typename Type_>
203template <
typename Type_>
222template <
typename Type_>
241template <
typename Type_>
260template <
typename Type_>
291template <
typename Type_>
299 {
if (value) ++
res_;}
301 {
if (value) ++
res_;}
315template <
typename Type_>
338template <
typename Type_>
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
const int baseIdx
base index of the containers created in STK++.
hidden::SliceVisitorSelector< Derived, hidden::MaxVisitor, Arrays::by_col_ >::type_result max(Derived const &A)
If A is a row-vector or a column-vector then the function will return the usual maximal value of the ...
The namespace STK is the main domain space of the Statistical ToolKit project.
Arithmetic properties of STK fundamental types.
static Type NA()
Adding a Non Available (NA) special number.
Visitor checking if all the elements of an array are different from zero.
void operator()(Type_ const &value, int i, int j)
Visitor checking if at least, one element of an array is different from zero.
void operator()(Type_ const &value, int i, int j)
Visitor counting the number of not-zero element in an array This visitor can be used in conjunction w...
void operator()(Type_ const &value, int i, int j)
Base class to implement min, max, sum,... visitors for 2D containers.
RemoveConst< Type >::Type const & TypeConst
static int idx(Visitor const &visitor)
static int idx(Visitor const &visitor)
static int idx(Visitor const &visitor)
utility class for getting the result from a visitor acting on a vector or a point.
Visitor computing safely the maximal coefficient of the Array.
void operator()(Type const &value, int i, int j)
Visitor computing the maximal coefficient of the Array.
void operator()(Type const &value, int i, int j)
Visitor computing safely the max of all the coefficients of the Array.
RemoveConst< Type >::Type const & TypeConst
void operator()(Type const &value, int i, int j)
Visitor computing the max of all the coefficients of the Array.
void operator()(Type const &value, int i, int j)
RemoveConst< Type >::Type const & TypeConst
Visitor computing safely the mean of all the coefficients of the Array.
RemoveConst< Type >::Type TypeConst
void operator()(Type const &value, int i, int j)
Visitor computing the mean of all the coefficients of the Array.
RemoveConst< Type >::Type TypeConst
void operator()(Type const &value, int i, int j)
Visitor computing safely the minimal coefficient with its value and indexes.
void operator()(Type const &value, int i, int j)
Visitor computing the min coefficient with its value and coordinates.
void operator()(Type const &value, int i, int j)
Visitor computing safely the min of all the coefficients of the Array.
RemoveConst< Type >::Type const & TypeConst
void operator()(Type const &value, int i, int j)
Visitor computing the min of all the coefficients of the Array.
void operator()(Type const &value, int i, int j)
RemoveConst< Type >::Type const & TypeConst
Visitor computing the sum of all the coefficients of the Array.
RemoveConst< Type >::Type const & TypeConst
void operator()(Type const &value, int i, int j)