35#ifndef STK_ITCONTAINER2D_H
36#define STK_ITCONTAINER2D_H
83template <
class Derived>
85 , hidden::Traits<Derived>::sizeCols_
135#ifdef STK_BOUNDS_CHECK
148#ifdef STK_BOUNDS_CHECK
#define STKOUT_OF_RANGE_2ARG(Where, Arg1, Arg2, Error)
Interface base class for 2D containers.
Interface base class for all classes implementing the curious recursive template paradigm.
Derived & asDerived()
static cast : return a reference of this with a cast to the derived class.
Interface base class for homogeneous 2D containers like allocators.
ITContainer2D(ITContainer2D const &T)
Copy constructor.
TypeConst elt(int i) const
IContainer2D< sizeRows_, sizeCols_ > Base2D
Type of the Base container.
TypeConst elt(int i, int j) const
ITContainer2D()
Default constructor.
~ITContainer2D()
destructor.
hidden::Traits< Derived >::TypeConst TypeConst
Derived & resize(int sizeRows, int sizeCols)
resize the container
IRecursiveTemplate< Derived > Base
Type of the Base container.
void shift(int firstRow, int firstCol)
shift the first indexes of the container
hidden::Traits< Derived >::Col Col
hidden::Traits< Derived >::Row Row
ITContainer2D(RowRange const &I, ColRange const &J)
constructor with specified Range.
void shift(int beg)
shift the first indexes of the 1D container
Derived & resize(int size)
Resize 1D container.
hidden::Traits< Derived >::Type Type
TRange< sizeCols_ > ColRange
Type of the Range for the columns.
TRange< sizeRows_ > RowRange
Type of the Range for the rows.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
The namespace STK is the main domain space of the Statistical ToolKit project.