36#ifndef STK_ARRAY2DPOINT_H
37#define STK_ARRAY2DPOINT_H
46template<
typename>
class Array2DPoint;
47template<
typename>
class Array2DVector;
155 template<
class OtherArray>
162 template<
class OtherDerived>
178 {
return this->elt(this->
beginRows(), j);}
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< Array2DPoint< Type_ > >::TypeConst TypeConst
Array2DPoint< Type > & resize1D(Range const &J)
Resize the container.
hidden::Traits< Array2DPoint< Type_ > >::SubArray SubArray
Array2DPoint(Range const &J, Type const &v)
constructor with specified range, initialization with a constant.
Array2DPoint & operator=(Type const &v)
set the container to a constant value.
hidden::Traits< Array2DPoint< Type_ > >::Row Row
Array2DPoint(Array2DPoint const &T, Range const &J)
constructor by reference, ref_=1.
Array2DPoint(ExprBase< OtherDerived > const &T)
Copy constructor using an expression.
hidden::Traits< Array2DPoint< Type_ > >::SubRow SubRow
hidden::Traits< Array2DPoint< Type_ > >::SubVector SubVector
hidden::Traits< Array2DPoint< Type_ > >::SubCol SubCol
Array2DPoint(Array2DPoint const &T, bool ref=false)
Copy constructor.
Array2DPoint & operator=(ExprBase< Rhs > const &T)
operator = : overwrite the CArray with the Right hand side T.
void insertElt(int pos, int n=1)
Insert n elts at the position pos of the container.
Array2DPoint & operator=(const Array2DPoint &T)
operator = : overwrite the CArray with the Right hand side T.
Type & elt1Impl(int const &j)
void shift1D(int const &cbeg)
New first indexes for the object.
hidden::Traits< Array2DPoint< Type_ > >::Type Type
void pushBack(int n=1)
Add n elements to the container.
Array2DPoint(Range const &J)
constructor with specified range.
Type const & elt1Impl(int const &j) const
IArray2D< Array2DPoint< Type_ > > Base
hidden::Traits< Array2DPoint< Type_ > >::Col Col
void setValue1D(int j, TypeConst v)
Set value at position j.
ArrayBase< Array2DPoint< Type_ > > LowBase
~Array2DPoint()
destructor.
Array2DPoint(Type **p_data, Range const &J, int row)
constructor by reference, ref_=1.
void erase(int pos, int n=1)
Delete n elts at the pos index to the container.
Array2DPoint()
Default constructor.
Array2DPoint(IArray2D< OtherArray > const &T, Range const &J, int row)
constructor by reference, ref_=1.
Array2DPoint< Type_ > & operator=(Type const &value)
Array2DPoint< Type_ > & setValue(TypeConst value)
set a value to this container.
Array2DPoint< Type_ > & assign(ExprBase< Rhs > const &rhs)
template interface base class for two-dimensional arrays.
RowRange const & rows() const
void insertCols(int pos, int n=1)
Insert n columns at the index pos to the array.
Array2DPoint< Type_ > & resize(Range const &I, Range const &J)
resize the array.
void pushBackCols(int n=1)
Add n columns at the end of the array.
Row row(int i) const
access to a part of a row.
void shift(int rbeg, int cbeg)
Set new beginning indexes to the array.
void eraseCols(int pos, int n=1)
Delete n columns at the specified position of the array.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
Index sub-vector region: Specialization when the size is unknown.
Array2DPoint< Real > PointX
final class for a Real horizontal container.
@ dense_
dense matrix/vector/array/expression
@ point_
row 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.
Array2DPoint< int > PointXi
Array2DPoint< double > PointXd
Array2DPoint< Type_ > Row
Array2DVector< Type_ > SubCol
Array2DVector< Type_ > Col
Array2DPoint< Type_ > SubArray
Array1D< Type, UnknownSize > ColVector
RemoveConst< Type >::Type const & TypeConst
Array2DPoint< Type_ > SubVector
Array2DPoint< Type_ > SubRow