35#ifndef STK_CARRAY2DPOINT_H
36#define STK_CARRAY2DPOINT_H
43template<
typename Type,
int SizeCols_=UnknownSize,
bool Orient_ = Arrays::by_col_>
45template<
typename Type,
int SizeRows_,
int SizeCols_,
bool Orient_>
class CArray;
46template<
typename Type,
int Size_,
bool Orient_>
class CArraySquare;
47template<
typename Type,
int SizeRows_,
bool Orient_>
class CArrayVector;
48template<
typename Type,
bool Orient_>
class CArrayNumber;
76template<
typename Type_,
int SizeCols_,
bool Orient_>
106template <
typename Type_,
int SizeCols_,
bool Orient_>
160 :
Base(T, T.rows(),
J) {}
166 template<
class OtherArray>
178 template<
class OtherAllocator>
185 template<
class OtherDerived>
Interface base class for the CArray, this is an internal header file, included by other Containers li...
CArrayPoint< Type_, SizeCols_, Orient_ > & operator=(Type const &value)
CArrayPoint< Type_, SizeCols_, Orient_ > & setValue(TypeConst value)
set a value to this container.
CArrayPoint< Type_, SizeCols_, Orient_ > & assign(ExprBase< Rhs > const &rhs)
declaration of the point case.
hidden::Traits< CArrayPoint< Type_, SizeCols_, Orient_ > >::Col Col
CArrayPoint(int sizeCols, Type const &v)
constructor with specified size, initialization with a constant.
CArrayPoint()
Default constructor.
hidden::Traits< CArrayPoint< Type_, SizeCols_, Orient_ > >::Type Type
CArrayPoint(ExprBase< OtherDerived > const &T)
Copy constructor using an expression.
CArrayPoint(Type *const &q, int nbCol)
wrapper constructor for 0 based C-Array.
CArrayPoint & operator=(Type const &v)
operator= : set the container to a constant value.
hidden::Traits< CArrayPoint< Type_, SizeCols_, Orient_ > >::Row Row
CArrayPoint(CArrayPoint const &T, bool ref=false)
Copy constructor.
CArrayPoint(ICArray< OtherArray > const &T, Range const &J, int row)
constructor by reference, ref_=1.
CArrayPoint(int sizeCols)
constructor with specified dimension.
CArrayPoint & operator=(CArrayPoint rhs)
operator = : overwrite the CArray with the Right hand side rhs.
CArrayPoint(ITContainer2D< OtherAllocator > const &allocator)
constructor by reference.
CArrayPoint(CArrayPoint const &T, Range const &J)
constructor by reference, ref_=1.
ICArray< CArrayPoint< Type_, SizeCols_, Orient_ > > Base
ArrayBase< CArrayPoint< Type_, SizeCols_, Orient_ > > LowBase
CArrayPoint(Range range)
constructor with specified ranges.
CArrayPoint(Range range, Type const &v)
constructor with specified ranges, initialization with a constant.
~CArrayPoint()
destructor.
CArrayPoint & operator=(ExprBase< Rhs > const &T)
operator = : overwrite the CArrayPoint with the Right hand side T.
hidden::Traits< CArrayPoint< Type_, SizeCols_, Orient_ > >::TypeConst TypeConst
CArrayPoint< Type_, SizeCols_, Orient_ > & shift(int beginRows, int beginCols)
shift the Array.
hidden::CSlice< CArrayPoint< Type_, SizeCols_, Orient_ >, 1, sizeCols_ >::Result row(int i) const
implement the row operator using a reference on the row of the allocator
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
@ point_
row oriented vector/array/expression
The namespace STK is the main domain space of the Statistical ToolKit project.
CArrayPoint< Real, UnknownSize, Arrays::by_col_ > CPointX
CArrayPoint< int, UnknownSize, Arrays::by_col_ > CPointXi
CArrayPoint< Real, 2, Arrays::by_col_ > CPoint2
CArrayPoint< int, 3, Arrays::by_row_ > CPointByRow3i
CArrayPoint< double, 3, Arrays::by_col_ > CPoint3d
CArrayPoint< double, UnknownSize, Arrays::by_row_ > CPointByRowXd
CArrayPoint< double, 2, Arrays::by_col_ > CPoint2d
CArrayPoint< int, 2, Arrays::by_col_ > CPoint2i
CArrayPoint< Real, 2, Arrays::by_row_ > CPointByRow2
CArrayPoint< Real, 3, Arrays::by_row_ > CPointByRow3
CArrayPoint< Real, UnknownSize, Arrays::by_row_ > CPointByRowX
CArrayPoint< int, UnknownSize, Arrays::by_row_ > CPointByRowXi
CArrayPoint< double, UnknownSize, Arrays::by_col_ > CPointXd
CArrayPoint< int, 2, Arrays::by_row_ > CPointByRow2i
CArrayPoint< double, 2, Arrays::by_row_ > CPointByRow2d
CArrayPoint< double, 3, Arrays::by_row_ > CPointByRow3d
CArrayPoint< Real, 3, Arrays::by_col_ > CPoint3
CArrayPoint< int, 3, Arrays::by_col_ > CPoint3i
CArrayPoint< Type_, SizeCols_, Orient_ > Row
CAllocator< Type_, 1, SizeCols_, Orient_ > Allocator
CArrayNumber< Type_, Orient_ > Col
RemoveConst< Type >::Type const & TypeConst