35#ifndef STK_CARRAYSQUARE_H
36#define STK_CARRAYSQUARE_H
43template<
typename Type_,
int Size_ = UnknownSize,
bool Orient_ = Arrays::by_col_>
class CArraySquare;
44template<
typename Type,
int SizeRows_,
int SizeCols_,
bool Orient_>
class CArray;
45template<
typename Type,
int SizeCols_,
bool Orient_>
class CArrayPoint;
46template<
typename Type,
int SizeRows_,
bool Orient_>
class CArrayVector;
47template<
typename Type,
bool Orient_>
class CArrayNumber;
75template<
typename Type_,
int Size_,
bool Orient_>
104template <
typename Type_,
int Size_,
bool Orient_>
161 template<
class OtherAllocator>
166 template<
class OtherDerived>
Interface base class for the CArray, this is an internal header file, included by other Containers li...
CArraySquare< Type_, Size_, Orient_ > & operator=(Type const &value)
CArraySquare< Type_, Size_, Orient_ > & setValue(TypeConst value)
set a value to this container.
CArraySquare< Type_, Size_, Orient_ > & assign(ExprBase< Rhs > const &rhs)
specialization for the square case.
CArraySquare(CArraySquare const &T, bool ref=false)
Copy constructor.
CArraySquare(int size, Type const &v)
constructor with specified dimension, initialization with a constant.
CArraySquare(int const &size)
constructor with specified dimension.
CArraySquare & operator=(Type const &v)
operator= : set the container to a constant value.
hidden::Traits< CArraySquare< Type_, Size_ > >::Row Row
CArraySquare(ITContainer2D< OtherAllocator > const &allocator)
constructor by reference.
CArraySquare(Range range)
constructor with specified ranges.
~CArraySquare()
destructor.
hidden::Traits< CArraySquare< Type_, Size_ > >::Type Type
CArraySquare & operator=(CArraySquare const &rhs)
operator = : overwrite the CArray with the Right hand side rhs.
ArrayBase< CArraySquare< Type_, Size_, Orient_ > > LowBase
CArraySquare(Type *const &q, int size)
wrapper constructor for 0 based C-Array.
hidden::Traits< CArraySquare< Type_, Size_ > >::TypeConst TypeConst
CArraySquare(ExprBase< OtherDerived > const &T)
Copy constructor using an expression.
hidden::Traits< CArraySquare< Type_, Size_ > >::Col Col
ICArray< CArraySquare< Type_, Size_, Orient_ > > Base
CArraySquare(Range range, Type const &v)
constructor with specified ranges, initialization with a constant.
CArraySquare()
Default constructor.
CArraySquare & operator=(ExprBase< Rhs > const &T)
operator = : overwrite the CArray with the Right hand side T.
CArraySquare< Type_, Size_, Orient_ > & shift(int beginRows, int beginCols)
shift the Array.
Allocator const & allocator() const
Get a constant reference on the main allocator.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
int begin() const
get the first index of the TRange.
Index sub-vector region: Specialization when the size is unknown.
@ dense_
dense matrix/vector/array/expression
@ square_
square matrix/array/expression
The namespace STK is the main domain space of the Statistical ToolKit project.
CArraySquare< double, 3, Arrays::by_row_ > CSquareByRow3d
CArraySquare< int, UnknownSize, Arrays::by_row_ > CSquareByRowXi
CArraySquare< Real, 2, Arrays::by_col_ > CSquare2
CArraySquare< int, 2, Arrays::by_row_ > CSquareByRow2i
CArraySquare< Real, 3, Arrays::by_col_ > CSquare3
CArraySquare< double, 2, Arrays::by_col_ > CSquare2d
CArraySquare< double, UnknownSize, Arrays::by_col_ > CSquareXd
CArraySquare< int, 3, Arrays::by_col_ > CSquare3i
CArraySquare< int, 2, Arrays::by_col_ > CSquare2i
CArraySquare< Real, UnknownSize, Arrays::by_col_ > CSquareX
CArraySquare< int, UnknownSize, Arrays::by_col_ > CSquareXi
CArraySquare< int, 3, Arrays::by_row_ > CSquareByRow3i
CArraySquare< double, 2, Arrays::by_row_ > CSquareByRow2d
CArraySquare< Real, 3, Arrays::by_row_ > CSquareByRow3
CArraySquare< double, 3, Arrays::by_col_ > CSquare3d
CArraySquare< Real, 2, Arrays::by_row_ > CSquareByRow2
CArraySquare< Real, UnknownSize, Arrays::by_row_ > CSquareByRowX
CArraySquare< double, UnknownSize, Arrays::by_row_ > CSquareByRowXd
CAllocator< Type_, Size_, Size_, Orient_ > Allocator
CArrayVector< Type_, Size_, Orient_ > Col
CArrayPoint< Type_, Size_, Orient_ > Row
RemoveConst< Type >::Type const & TypeConst