39#ifndef STK_ARRAY2DVECTOR_H
40#define STK_ARRAY2DVECTOR_H
49template<
typename>
class Array2DPoint;
50template<
typename>
class Array2DVector;
162 template<
class OtherArray>
169 template<
class OtherDerived>
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...
template one dimensional horizontal Array.
hidden::Traits< Array2DVector< Type_ > >::SubArray SubArray
Array2DVector(IArray2D< OtherArray > const &T, Range const &I, int col)
constructor by reference, ref_=1.
Array2DVector(ExprBase< OtherDerived > const &T)
Copy constructor using an expression.
Array2DVector & operator=(Type const &v)
set the container to a constant value.
hidden::Traits< Array2DVector< Type_ > >::SubRow SubRow
hidden::Traits< Array2DVector< Type_ > >::Row Row
Array2DVector()
Default constructor.
void shift1D(int rbeg)
New first index for the object.
void insertElt(int pos, int const &n=1)
Insert n elements at the position pos of the container.
void setValue1D(int i, TypeConst v)
Set value at position i.
ArrayBase< Array2DVector< Type_ > > LowBase
hidden::Traits< Array2DVector< Type_ > >::SubVector SubVector
Array2DVector & operator=(ExprBase< Rhs > const &T)
operator = : overwrite the CArray with the Right hand side T.
hidden::Traits< Array2DVector< Type_ > >::TypeConst TypeConst
Type const & elt1Impl(int i) const
hidden::Traits< Array2DVector< Type_ > >::Type Type
Array2DVector(Range const &I, Type const &v)
constructor with specified range, initialization with a constant.
void pushBack(int n=1)
Add n elements to the container.
hidden::Traits< Array2DVector< Type_ > >::SubCol SubCol
Array2DVector(const Array2DVector &T, bool ref=false)
Copy constructor.
Array2DVector< Type > & resize1D(Range const &I)
Resize the container.
Array2DVector & operator=(Array2DVector const &T)
operator = : overwrite the CArray with the Right hand side T.
void erase(int pos, int const &n=1)
Delete n elements at the pos index to the container.
Array2DVector(Type **p_data, Range const &I, int col)
constructor by reference, ref_=1.
hidden::Traits< Array2DVector< Type_ > >::Col Col
Array2DVector(const Array2DVector &T, Range const &I)
constructor by reference, ref_=1.
Array2DVector(Range const &I)
constructor with specified range.
IArray2D< Array2DVector< Type_ > > Base
~Array2DVector()
destructor.
Array2DVector< Type_ > & operator=(Type const &value)
Array2DVector< Type_ > & setValue(TypeConst value)
set a value to this container.
Array2DVector< Type_ > & assign(ExprBase< Rhs > const &rhs)
template interface base class for two-dimensional arrays.
Array2DVector< Type_ > & resize(Range const &I, Range const &J)
resize the array.
void pushBackRows(int n=1)
Add n rows to the array.
Col col(int j) const
access to a part of a column.
ColRange const & cols() const
void eraseRows(int pos, int n=1)
Delete n rows at the position pos.
void shift(int rbeg, int cbeg)
Set new beginning indexes to the array.
void insertRows(int pos, int n=1)
Insert n rows at position pos in the array If pos is outside the range of a column,...
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
Index sub-vector region: Specialization when the size is unknown.
Array2DVector< Real > Vector
final class for a Real vertical container.
@ dense_
dense matrix/vector/array/expression
@ vector_
column oriented vector/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.
Array2DVector< double > VectorXd
Array2DVector< int > VectorXi
Array2DVector< Real > VectorX
Array2DVector< Type_ > SubArray
Array2DVector< Type_ > SubVector
Array2DVector< Type_ > Col
Array1D< Type, UnknownSize > ColVector
Array2DPoint< Type_ > SubRow
Array2DPoint< Type_ > Row
Array2DVector< Type_ > SubCol
RemoveConst< Type >::Type const & TypeConst