36#ifndef STK_SARRAY2DPOINT_H
37#define STK_SARRAY2DPOINT_H
48template<
typename>
class SArray2DPoint;
49template<
typename>
class SArray2DVector;
157 template<
class OtherArray>
164 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...
In this file we define and implement the final class SArray1D.
SArray2DPoint< Type_ > & operator=(Type const &value)
SArray2DPoint< Type_ > & setValue(TypeConst value)
set a value to this container.
SArray2DPoint< 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.
SArray2DPoint< 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...
template one dimensional horizontal Array.
SArray2DPoint & operator=(Type const &v)
set the container to a constant value.
hidden::Traits< SArray2DPoint< Type_ > >::SubRow SubRow
SArray2DPoint(Range const &J)
constructor with specified range.
SArray2DPoint(IArray2D< OtherArray > const &T, Range const &J, int row)
constructor by reference, ref_=1.
void shift1D(int const &cbeg)
New first indexes for the object.
hidden::Traits< SArray2DPoint< Type_ > >::SubArray SubArray
ArrayBase< SArray2DPoint< Type_ > > LowBase
SArray2DPoint(SArray2DPoint const &T, bool ref=false)
Copy constructor.
hidden::Traits< SArray2DPoint< Type_ > >::Type Type
SArray2DPoint< Type > & resize1D(Range const &J)
Resize the container.
void insertElt(int pos, int n=1)
Insert n elts at the position pos of the container.
void setValue1D(int j, TypeConst v)
Set value at position j.
Type & elt1Impl(int const &j)
SArray2DPoint(ExprBase< OtherDerived > const &T)
Copy constructor using an expression.
SArray2DPoint & operator=(ExprBase< Rhs > const &T)
operator = : overwrite the CArray with the Right hand side T.
hidden::Traits< SArray2DPoint< Type_ > >::Col Col
SArray2DPoint()
Default constructor.
hidden::Traits< SArray2DPoint< Type_ > >::SubCol SubCol
~SArray2DPoint()
destructor.
SArray2DPoint(Range const &J, Type const &v)
constructor with specified range, initialization with a constant.
Type const & elt1Impl(int const &j) const
void pushBack(int n=1)
Add n elements to the container.
hidden::Traits< SArray2DPoint< Type_ > >::TypeConst TypeConst
hidden::Traits< SArray2DPoint< Type_ > >::Row Row
SArray2DPoint & operator=(const SArray2DPoint &T)
operator = : overwrite the CArray with the Right hand side T.
SArray2DPoint(Type **p_data, Range const &J, int row)
constructor by reference, ref_=1.
IArray2D< SArray2DPoint< Type_ > > Base
hidden::Traits< SArray2DPoint< Type_ > >::SubVector SubVector
SArray2DPoint(SArray2DPoint const &T, Range const &J)
constructor by reference, ref_=1.
void erase(int pos, int n=1)
Delete n elts at the pos index to the container.
Index sub-vector region: Specialization when the size is unknown.
SArray2DPoint< Real > SPointX
final class for a Real horizontal container.
@ sparse_
sparse 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.
SArray2DPoint< int > SPointXi
SArray2DPoint< double > SPointXd
SArray2DVector< Type_ > SubCol
SArray1D< Type, UnknownSize, UnknownSize > ColVector
RemoveConst< Type >::Type const & TypeConst
SArray2DVector< Type_ > Col
SArray2DPoint< Type_ > SubRow
SArray2DPoint< Type_ > SubVector
SArray2DPoint< Type_ > Row
SArray2DPoint< Type_ > SubArray