35#ifndef STK_CARRAYVECTOR_H
36#define STK_CARRAYVECTOR_H
43template<
typename Type,
int SizeRows_=UnknownSize,
bool Orient_ = Arrays::by_col_>
class CArrayVector;
44template<
typename Type,
bool Orient_>
class CArrayNumber;
72template<
typename Type_,
int SizeRows_,
bool Orient_>
101template <
typename Type_,
int SizeRows_,
bool Orient_>
162 template<
class OtherArray>
174 template<
class OtherAllocator>
179 template<
class OtherDerived>
Interface base class for the CArray, this is an internal header file, included by other Containers li...
CArrayVector< Type_, SizeRows_, Orient_ > & operator=(Type const &value)
CArrayVector< Type_, SizeRows_, Orient_ > & setValue(TypeConst value)
set a value to this container.
CArrayVector< Type_, SizeRows_, Orient_ > & assign(ExprBase< Rhs > const &rhs)
specialization for the vector case.
CArrayVector & operator=(Type const &v)
operator= : set the container to a constant value.
CArrayVector(ITContainer2D< OtherAllocator > const &allocator)
constructor by reference.
CArrayVector(ICArray< OtherArray > const &T, Range const &I, int col)
constructor by reference, ref_=1.
hidden::Traits< CArrayVector< Type_, SizeRows_, Orient_ > >::Col Col
CArrayVector(ExprBase< OtherDerived > const &T)
Copy constructor using an expression.
CArrayVector(Range range)
constructor with specified ranges.
hidden::Traits< CArrayVector< Type_, SizeRows_, Orient_ > >::TypeConst TypeConst
CArrayVector(int sizeRows, Type const &v)
constructor with sizeRows specified, initialization with a constant.
ICArray< CArrayVector< Type_, SizeRows_, Orient_ > > Base
hidden::Traits< CArrayVector< Type_, SizeRows_, Orient_ > >::Type Type
CArrayVector(CArrayVector const &T, Range const &I)
constructor by reference, ref_=1.
CArrayVector(const CArrayVector &T, bool ref=false)
Copy constructor.
CArrayVector & operator=(ExprBase< Rhs > const &T)
operator = : overwrite the CArrayVector with the Right hand side T.
CArrayVector & operator=(CArrayVector const &rhs)
operator = : overwrite the CArray with the Right hand side rhs.
CArrayVector()
Default constructor.
CArrayVector(int sizeRows)
constructor with specified dimension.
CArrayVector(Type *const &q, int nbRow)
wrapper constructor for 0 based C-Array.
hidden::Traits< CArrayVector< Type_, SizeRows_, Orient_ > >::Row Row
CArrayVector(Range range, Type const &v)
constructor with range specified, initialization with a constant.
ArrayBase< CArrayVector< Type_, SizeRows_, Orient_ > > LowBase
~CArrayVector()
destructor.
hidden::CSlice< CArrayVector< Type_, SizeRows_, Orient_ >, sizeRows_, 1 >::Result col(int j) const
implement the col operator using a reference on the column of the allocator
CArrayVector< Type_, SizeRows_, 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
@ vector_
column oriented vector/array/expression
The namespace STK is the main domain space of the Statistical ToolKit project.
CArrayVector< int, 2, Arrays::by_col_ > CVector2i
CArrayVector< double, UnknownSize, Arrays::by_col_ > CVectorXd
CArrayVector< int, UnknownSize, Arrays::by_col_ > CVectorXi
CArrayVector< int, 3, Arrays::by_col_ > CVector3i
CArrayVector< Real, 3, Arrays::by_row_ > CVectorByRow3
CArrayVector< int, 2, Arrays::by_row_ > CVectorByRow2i
CArrayVector< double, 3, Arrays::by_row_ > CVectorByRow3d
CArrayVector< Real, 2, Arrays::by_row_ > CVectorByRow2
CArrayVector< double, 2, Arrays::by_row_ > CVectorByRow2d
CArrayVector< double, 3, Arrays::by_col_ > CVector3d
CArrayVector< Real, 3, Arrays::by_col_ > CVector3
CArrayVector< int, 3, Arrays::by_row_ > CVectorByRow3i
CArrayVector< Real, UnknownSize, Arrays::by_col_ > CVectorX
CArrayVector< Real, UnknownSize, Arrays::by_row_ > CVectorByRowX
CArrayVector< int, UnknownSize, Arrays::by_row_ > CVectorByRowXi
CArrayVector< double, 2, Arrays::by_col_ > CVector2d
CArrayVector< double, UnknownSize, Arrays::by_row_ > CVectorByRowXd
CArrayVector< Real, 2, Arrays::by_col_ > CVector2
CAllocator< Type_, SizeRows_, 1, Orient_ > Allocator
CArrayNumber< Type_, Orient_ > Row
CArrayVector< Type_, SizeRows_, Orient_ > Col
RemoveConst< Type >::Type const & TypeConst