39#ifndef STK_SARRAY2DVECTOR_H
40#define STK_SARRAY2DVECTOR_H
51template<
typename>
class SArray2DPoint;
52template<
typename>
class SArray2DVector;
144 { LowBase::setValue(
v);}
163 template<
class OtherArray>
170 template<
class OtherDerived>
172 { LowBase::operator=(T);}
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...
In this file we define and implement the final class SArray1D.
Derived & setValue(TypeConst value)
set a value to this container.
template interface base class for two-dimensional arrays.
Derived & 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...
template one dimensional horizontal Array.
SArray2DVector(const SArray2DVector &T, bool ref=false)
Copy constructor.
IArray2D< SArray2DVector > Base
SArray2DVector & operator=(Type const &v)
set the container to a constant value.
SArray2DVector & operator=(SArray2DVector const &T)
operator = : overwrite the CArray with the Right hand side T.
Type const & elt1Impl(int i) const
hidden::Traits< SArray2DVector >::Type Type
hidden::Traits< SArray2DVector >::SubArray SubArray
void pushBack(int n=1)
Add n elements to the container.
SArray2DVector< Type > & resize1D(Range const &I)
Resize the container.
SArray2DVector(Range const &I, Type const &v)
constructor with specified range, initialization with a constant.
void setValue1D(int i, TypeConst v)
Set value at position i.
hidden::Traits< SArray2DVector >::Col Col
SArray2DVector(IArray2D< OtherArray > const &T, Range const &I, int col)
constructor by reference, ref_=1.
SArray2DVector & operator=(ExprBase< Rhs > const &T)
operator = : overwrite the CArray with the Right hand side T.
~SArray2DVector()
destructor.
hidden::Traits< SArray2DVector >::SubVector SubVector
hidden::Traits< SArray2DVector >::TypeConst TypeConst
SArray2DVector()
Default constructor.
hidden::Traits< SArray2DVector >::Row Row
ArrayBase< SArray2DVector > LowBase
hidden::Traits< SArray2DVector >::SubRow SubRow
void erase(int pos, int const &n=1)
Delete n elements at the pos index to the container.
SArray2DVector(const SArray2DVector &T, Range const &I)
constructor by reference, ref_=1.
SArray2DVector(Range const &I)
constructor with specified range.
void shift1D(int rbeg)
New first index for the object.
SArray2DVector(Type **p_data, Range const &I, int col)
constructor by reference, ref_=1.
void insertElt(int pos, int const &n=1)
Insert n elements at the position pos of the container.
SArray2DVector(ExprBase< OtherDerived > const &T)
Copy constructor using an expression.
hidden::Traits< SArray2DVector >::SubCol SubCol
Index sub-vector region: Specialization when the size is unknown.
SArray2DVector< Real > SVectorX
final class for a Real vertical container.
@ sparse_
sparse 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.
SArray2DVector< int > SVectorXi
SArray2DVector< double > SVectorXd
RemoveConst< Type >::Type const & TypeConst
SArray2DVector< Type_ > SubVector
SArray2DPoint< Type_ > SubRow
SArray2DPoint< Type_ > Row
SArray2DVector< Type_ > SubArray
SArray1D< Type, UnknownSize, UnknownSize > ColVector
SArray2DVector< Type_ > SubCol
SArray2DVector< Type_ > Col