36#ifndef STK_IARRAY2DSLICERS_H
37#define STK_IARRAY2DSLICERS_H
46template <
class Derived >
49#ifdef STK_BOUNDS_CHECK
53 return Col( this->asDerived(), this->rangeRowsInCol(
j),
j);
60template <
class Derived >
63#ifdef STK_BOUNDS_CHECK
69 return SubCol( this->asDerived(),
inf(
I, this->rangeRowsInCol(
j)),
j);
75template <
class Derived >
77{
return SubArray( this->asDerived(), this->rows(),
J);}
83template <
class Derived >
85{
return Row( this->asDerived(), this->rangeColsInRow(
i),
i);}
91template <
class Derived >
93{
return SubRow( this->asDerived(),
inf(
J, this->rangeColsInRow(
i)),
i);}
98template <
class Derived >
100{
return SubArray(this->asDerived(),
I, cols());}
105template <
class Derived >
111template <
class Derived >
119template <
class Derived >
130template <
class Derived >
133#ifdef STK_BOUNDS_CHECK
146template <
class Derived >
151template <
class Derived >
158template <
class Derived >
168template <
class Derived >
#define STKOUT_OF_RANGE_1ARG(Where, Arg, Error)
#define STKOUT_OF_RANGE_2ARG(Where, Arg1, Arg2, Error)
#define STK_STATIC_ASSERT_ONE_DIMENSION_ONLY(EXPR)
hidden::Traits< Derived >::SubCol SubCol
TypeConst operator[](int i) const
SubVector sub(Range const &J) const
SubCol atCol(int j) const
hidden::Traits< Derived >::Col Col
TypeConst operator()() const
hidden::Traits< Derived >::Row Row
hidden::Traits< Derived >::SubVector SubVector
Col col(int j) const
access to a part of a column.
Row row(int i) const
access to a part of a row.
hidden::Traits< Derived >::SubRow SubRow
hidden::Traits< Derived >::SubArray SubArray
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
Index sub-vector region: Specialization when the size is unknown.
Range inf(TRange< SizeI_ > const &I, TRange< SizeJ_ > const &J)
compute inf(I,J).
The namespace STK is the main domain space of the Statistical ToolKit project.