42template<
class Type_,
int Size_ = UnknownSize,
int NzMax_ = UnknownSize >
class SArray1D;
49template<
class Type_,
int Size_,
int NzMax_>
102template<
class Type_,
int Size_,
int NzMax_ >
156 template<
int OtherSize_,
int OtherNzMax_>
163 template<
int OtherSize_,
int OtherNzMax_>
180 template<
class OtherArray>
template one dimensional Array.
SArray1D< Type_, Size_, NzMax_ > & assign(IArray1D const &src)
overwrite this with src.
RowRange const & range() const
Allocator const & allocator() const
Derived & resize(Range const &I=RowRange())
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
template one dimensional Arrays.
hidden::Traits< SArray1D< Type_, Size_ > >::Type Type
SArray1D(Range const &I, Type const &v)
Misc constructor with beg and end, initialization with a constant.
IArray1D< SArray1D< Type_, Size_, NzMax_ > > Base
hidden::Traits< SArray1D< Type_, Size_, NzMax_ > >::Col Col
SArray1D(SArray1D< Type, OtherSize_, OtherNzMax_ > const &T, bool ref=false)
Copy constructor.
SArray1D()
Default constructor.
hidden::Traits< SArray1D< Type_, Size_, NzMax_ > >::Row Row
SArray1D(Type *q, Range const &I)
Wrapper constructor: the container is a reference of a C-Array.
~SArray1D()
destructor: allocated memory is liberated by MemAllocator base class.
hidden::Traits< SArray1D< Type_, Size_, NzMax_ > >::SubVector SubVector
hidden::Traits< SArray1D< Type_, Size_ > >::Allocator Allocator
SArray1D(SArray1D const &T, bool ref=false)
Copy constructor.
SArray1D & operator=(SArray1D const &T)
operator = : overwrite the SArray1D with T.
hidden::Traits< SArray1D< Type_, Size_ > >::TypeConst TypeConst
SArray1D & operator=(ITContainer1D< OtherArray > const &T)
Copy an other type of 1D array in an SArray1D.
SArray1D(SArray1D< Type, OtherSize_, OtherNzMax_ > const &T, RowRange const &I, bool ref=true)
constructor by reference, ref_=1.
SArray1D(Range const &I)
constructor with a specified Range
SArray1D & operator=(Type const &v)
operator= : set the container to a constant value.
Index sub-vector region: Specialization when the size is unknown.
@ sparse_
sparse 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.
SArray1D< Type_, UnknownSize, NzMax_ > SubVector
SArray1D< Type_, 1, 1 > Row
MemSAllocator1D< Type, nzmax_ > Allocator
RemoveConst< Type >::Type const & TypeConst
ConstDenseRandomIterator< SArray1D< Type_, Size_, NzMax_ > > ConstIterator
std::reverse_iterator< Iterator > ReverseIterator
DenseRandomIterator< SArray1D< Type_, Size_, NzMax_ > > Iterator
SArray1D< Type_, Size_, NzMax_ > Col
std::reverse_iterator< ConstIterator > ConstReverseIterator