42template<
class Type_,
int Size_ = UnknownSize >
class Array1D;
49template<
class Type_,
int Size_>
101template<
class Type_,
int Size_ >
156 template<
int OtherSize>
162 template<
int OtherSize>
180 {
return this->
assign(T);}
184 template<
class OtherArray>
188 if (this->
range()!=T.range()) this->
resize(T.range());
Interface base class for the Array1D, this is an internal header file, included by other Containers l...
template one dimensional Arrays.
ReverseIterator reverse_iterator
ConstReverseIterator const_reverse_iterator
Array1D(Array1D const &T, bool ref=false)
Copy constructor.
Array1D(Range const &I, Type const &v)
Misc constructor with beg and end, initialization with a constant.
Array1D(Allocator const &A, Range const &I, bool ref)
Wrapper constructor.
Array1D(Array1D< Type, OtherSize > const &T, bool ref=false)
Copy constructor.
hidden::Traits< Array1D< Type_, Size_ > >::Allocator Allocator
Array1D & operator=(ITContainer1D< OtherArray > const &T)
Copy an other type of 1D array in an Array1D.
Array1D(Range const &I)
constructor with a specified Range
Array1D & operator=(Type const &v)
operator= : set the container to a constant value.
hidden::Traits< Array1D< Type_, Size_ > >::ConstIterator ConstIterator
hidden::Traits< Array1D< Type_, Size_ > >::Type Type
hidden::Traits< Array1D< Type_, Size_ > >::ColRange ColRange
Array1D()
Default constructor.
Array1D & operator=(Array1D const &T)
operator = : overwrite the Array1D with T.
Array1D(Type *q, Range const &I)
Wrapper constructor: the container is a reference of a C-Array.
hidden::Traits< Array1D< Type_, Size_ > >::ReverseIterator ReverseIterator
Array1D(Array1D< Type, OtherSize > const &T, RowRange const &I, bool ref=true)
constructor by reference, ref_=1.
hidden::Traits< Array1D< Type_, Size_ > >::RowRange RowRange
ConstIterator const_iterator
hidden::Traits< Array1D< Type_, Size_ > >::ConstReverseIterator ConstReverseIterator
IArray1D< Array1D< Type_, Size_ > > Base
hidden::Traits< Array1D< Type_, Size_ > >::TypeConst TypeConst
~Array1D()
destructor: allocated memory is liberated by MemAllocator base class.
hidden::Traits< Array1D< Type_, Size_ > >::Iterator Iterator
template one dimensional Array.
Array1D< Type_, Size_ > & assign(IArray1D const &src)
overwrite this with src.
RowRange const & range() const
Derived & resize(Range const &I=RowRange())
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
Index sub-vector region: Specialization when the size is unknown.
@ dense_
dense matrix/vector/array/expression
@ vector_
column oriented vector/array/expression
@ by_col_
storage by column
The namespace STK is the main domain space of the Statistical ToolKit project.
DenseRandomIterator< Array1D< Type_, Size_ > > Iterator
ConstDenseRandomIterator< Array1D< Type_, Size_ > > ConstIterator
Array1D< Type_, UnknownSize > SubVector
Array1D< Type_, Size_ > Col
MemAllocator< Type, size_ > Allocator
std::reverse_iterator< ConstIterator > ConstReverseIterator
RemoveConst< Type >::Type const & TypeConst
std::reverse_iterator< Iterator > ReverseIterator