44template<
typename Type>
class Array2D;
45template<
typename Type>
class Array2DNumber;
46template<
typename Type>
class Array2DPoint;
47template<
typename Type>
class Array2DVector;
115template<
class Type_ >
163 template<
class OtherArray>
169 template<
class OtherDerived>
207#ifdef STK_BOUNDS_CHECK
219 { std::swap(this->elt(
pos1,
j), this->elt(
pos2,
j));}
In this file we implement the modifiers of the IArray2D.
In this file we implement the slicing methods for IArray2D class.
Interface base class for the Array2D classes, this is an internal header file, included by other cont...
#define STKOUT_OF_RANGE_2ARG(Where, Arg1, Arg2, Error)
template two dimensional column (vertically) oriented Array.
IArray2D< Array2D< Type_ > > Base
Type for the Interface base Class.
Array2D & operator=(Type const &v)
set the container to a constant value.
Array2D(Array2D const &T, bool ref=false)
Copy constructor.
hidden::Traits< Array2D< Type_ > >::TypeConst TypeConst
hidden::Traits< Array2D< Type_ > >::Type Type
hidden::Traits< Array2D< Type_ > >::Col Col
Array2D & operator=(ExprBase< Rhs > const &T)
operator = : overwrite the Array2D with the right hand side T.
Array2D(Range const &I, Range const &J, Type const &v)
constructor with rows and columns ranges specified and initialization with a constant.
void swapRows(int const &pos1, int const &pos2)
Swapping the pos1 row and the pos2 row.
Array2D(Range const &I, Range const &J)
constructor
hidden::Traits< Array2D< Type_ > >::SubArray SubArray
hidden::Traits< Array2D< Type_ > >::SubVector SubVector
void shift1D(int beg)
New beginning index for the object.
Array2D(Type **q, Range const &I, Range const &J)
Wrapper constructor Contruct a reference container.
Array2D(ExprBase< OtherDerived > const &T)
Copy constructor using an expression.
ArrayBase< Array2D< Type_ > > LowBase
hidden::Traits< Array2D< Type_ > >::Row Row
Array2D & resize1D(Range const &I)
New size for the container.
Array2D()
Default constructor.
hidden::Traits< Array2D< Type_ > >::SubCol SubCol
hidden::Traits< Array2D< Type_ > >::SubRow SubRow
Array2D & operator=(Array2D const &T)
overwrite the Array2D with T.
Array2D(IArray2D< OtherArray > const &T, Range const &I, Range const &J)
Copy constructor by reference, ref_=1.
Array2D< Type_ > & operator=(Type const &value)
Array2D< Type_ > & setValue(TypeConst value)
set a value to this container.
Array2D< Type_ > & assign(ExprBase< Rhs > const &rhs)
template interface base class for two-dimensional arrays.
Array2D< Type_ > & resize(Range const &I, Range const &J)
resize the array.
void shift(int rbeg, int cbeg)
Set new beginning indexes to the array.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
Index sub-vector region: Specialization when the size is unknown.
Array2D< Real > ArrayXX
Specialization of the Array2D class for Real values.
@ dense_
dense matrix/vector/array/expression
@ array2D_
general matrix/array/expression
@ by_col_
storage by column
const int UnknownSize
This value means that an integer is not known at compile-time, and that instead the value is stored i...
The namespace STK is the main domain space of the Statistical ToolKit project.
Array2D< double > ArrayXXd
Array2DNumber< Type_ > Number
RemoveConst< Type >::Type const & TypeConst
Array2DPoint< Type_ > Row
Array2D< Type_ > SubArray
Array2DVector< Type_ > SubCol
Array2DVector< Type_ > Col
Array2DPoint< Type_ > SubRow
Array1D< Type, UnknownSize > ColVector