46template<
typename Type>
class SArray2D;
47template<
typename Type>
class SArray2DNumber;
48template<
typename Type>
class SArray2DPoint;
49template<
typename Type>
class SArray2DVector;
117template<
class Type_ >
165 template<
class OtherArray>
171 template<
class OtherDerived>
209#ifdef STK_BOUNDS_CHECK
221 { 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)
In this file we define and implement the final class SArray1D.
SArray2D< Type_ > & operator=(Type const &value)
SArray2D< Type_ > & setValue(TypeConst value)
set a value to this container.
SArray2D< Type_ > & assign(ExprBase< Rhs > const &rhs)
template interface base class for two-dimensional arrays.
SArray2D< 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...
template sparse two dimensional column (vertically) oriented Array.
hidden::Traits< SArray2D< Type_ > >::SubCol SubCol
SArray2D & operator=(Type const &v)
set the container to a constant value.
SArray2D(ExprBase< OtherDerived > const &T)
Copy constructor using an expression.
ArrayBase< SArray2D< Type_ > > LowBase
hidden::Traits< SArray2D< Type_ > >::Row Row
hidden::Traits< SArray2D< Type_ > >::SubArray SubArray
SArray2D & operator=(SArray2D const &T)
overwrite the SArray2D with T.
hidden::Traits< SArray2D< Type_ > >::SubRow SubRow
void shift1D(int beg)
New beginning index for the object.
SArray2D(Range const &I, Range const &J, Type const &v)
constructor with rows and columns ranges specified and initialization with a constant.
SArray2D(SArray2D const &T, bool ref=false)
Copy constructor.
SArray2D(Type **q, Range const &I, Range const &J)
Wrapper constructor Contruct a reference container.
void swapRows(int const &pos1, int const &pos2)
Swapping the pos1 row and the pos2 row.
SArray2D(Range const &I, Range const &J)
constructor
hidden::Traits< SArray2D< Type_ > >::TypeConst TypeConst
IArray2D< SArray2D< Type_ > > Base
Type for the Interface base Class.
SArray2D()
Default constructor.
hidden::Traits< SArray2D< Type_ > >::Type Type
SArray2D(IArray2D< OtherArray > const &T, Range const &I, Range const &J)
Copy constructor by reference, ref_=1.
SArray2D & operator=(ExprBase< Rhs > const &T)
operator = : overwrite the SArray2D with the right hand side T.
hidden::Traits< SArray2D< Type_ > >::Col Col
SArray2D & resize1D(Range const &I)
New size for the container.
hidden::Traits< SArray2D< Type_ > >::SubVector SubVector
Index sub-vector region: Specialization when the size is unknown.
SArray2D< Real > SArrayXX
Specialization of the SArray2D class for Real values.
@ sparse_
sparse matrix/vector/array/expression
@ 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.
SArray2D< double > SArrayXXd
SArray2D< int > SArrayXXi
SArray2DPoint< Type_ > SubRow
SArray2D< Type_ > SubArray
SArray1D< Type, UnknownSize, UnknownSize > ColVector
SArray2DPoint< Type_ > Row
RemoveConst< Type >::Type const & TypeConst
SArray2DVector< Type_ > Col
SArray2DVector< Type_ > SubCol
SArray2DNumber< Type_ > Number