36#include "../include/STK_ExportToCsv.h"
190 for (
int j=pos+n-1;
j>=pos;
j--)
213 if (inc == 0)
return;
241 if (inc == 0)
return;
258 if (
other.empty())
return;
273 if (inc == 0)
return;
282 for (
int i=this->
begin();
i <pos;
i++)
294 if (D.
empty())
return;
318 if (inc == 0)
return;
339 if (D.
empty())
return;
360 if (inc == 0)
return;
368 for (
int i=this->
begin();
i <pos;
i++)
#define STKOUT_OF_RANGE_1ARG(Where, Arg, Error)
#define STKRUNTIME_ERROR_1ARG(Where, Arg, Error)
#define STKOUT_OF_RANGE_2ARG(Where, Arg1, Arg2, Error)
#define STKRUNTIME_ERROR_NO_ARG(Where, Error)
#define STKRUNTIME_ERROR_2ARG(Where, Arg1, Arg2, Error)
#define _T(x)
Let x unmodified.
DataFrame is a List of Variable with the same number of rows.
void eraseRows(int pos, int const &n=1)
Delete n rows at the position pos to the container.
void popBackCols(int const &n)
Delete n columns of the container.
void insertRows(int pos, int const &n=1)
Insert n rows at the ith position of the container.
IVariable *& elt(int const &i)
access to an element.
void clear()
Clear the object.
void shift(int const &cbeg=1)
New beginning index for the object.
void merge(DataFrame const &D)
merge this DataFrame with D.
void pushBackCols(int const &n=1)
Add columns to the container.
virtual ~DataFrame()
Destructor.
void pushBackVariable(IVariable *const &V)
Append a DataFrame back.
RowRange const & rows() const
void insertDataFrame(int pos, DataFrame const &D)
Insert a DataFrame at the specified position to the container.
void insertCols(int pos, int const &n=1)
Insert columns at the specified position to the container.
DataFrame & operator=(DataFrame const &T)
Operator = : overwrite the DataFrame with T.
void popBackRows(int const &n)
Dell last rows of the container.
void freeCols()
function for row memory deallocation.
void eraseCols(int pos, int const &n=1)
Delete n columns at the position of the container.
void freeMem()
function for memory deallocation.
void insertVariable(int pos, IVariable *const &V)
Insert a Vartiable at the specified position to the container.
void pushBackRows(int const &n=1)
Add n rows to the container.
void resize(Range const &I, Range const &J)
resize the container:
DataFrame()
Default Constructor, empty table.
void writeDataFrame(ostream &os, int const &left, int const &right) const
write a DataFrame to the output stream os.
void pushBackDataFrame(DataFrame const &D)
Append a DataFrame back.
void shiftRows(int beg)
Set the first index of the rows.
void shiftCols(int beg)
Shift the columns first index to beg.
void setRows(RowRange const &I=RowRange())
Set the range of the number of rows.
void decLastIdxRows(int dec)
Decrement the end of the number of rows.
void incRangeRows(int inc)
Increment the range of the number of rows.
void setRanges(RowRange const &I=RowRange(), ColRange const &J=ColRange())
Set the ranges of the container.
void decLastIdxCols(int dec)
Decrement the last index of the columns.
void incLastIdxRows(int inc)
Increment the end of the number of rows.
void setCols(ColRange const &J=ColRange())
Set the columns range.
void incLastIdxCols(int inc)
Increment the last index of the columns.
Derived * clone() const
create a leaf using the copy constructor of the Derived class.
Derived & resize(Range const &I=RowRange())
void setRange(RowRange const &I=RowRange())
Set range of the rows of the container.
IVariable is an Interface class for all Variables classes.
virtual void popBack(int n=1)=0
Delete n last elements of the container.
virtual void shift(int beg)=0
New first index for the object.
virtual void pushBackNAValues(int n=1)=0
push back n NA values.
virtual void insertElt(int pos, int n=1)=0
Insert n elements at the position pos of the container.
virtual void erase(int pos, int n=1)=0
Delete n elements at the pos index from the container.
virtual IVariable * clone(bool ref=false) const =0
virtual void pushBack(int n=1)=0
Add n elements at the end of the container.
virtual int size() const =0
void pushBack(int const &n=1)
Add n Elts to the container.
void erase(int pos, int const &n=1)
Delete n elts at the pos index to the container.
void merge(List1D const &other)
merge this with other.
void insertElt(int pos, int const &n=1)
Insert n elts at the position pos of the container.
void insert(Range const &I, Type const &v)
Insert element v in the range I of the List1D.
void popBack(int const &n=1)
Delete n last elements of the container.
void freeMem()
Protected function for deallocation.
The MultidimRegression class allows to regress a multidimensional output variable among a multivariat...
Index sub-vector region: Specialization when the size is unknown.
ostream & operator<<(ostream &s, const CAllocator< Type, SizeRows_, SizeCols_, Orient_ > &V)
output stream for CAllocator.
std::basic_ostream< Char > ostream
ostream for Char
The namespace STK is the main domain space of the Statistical ToolKit project.
TRange< UnknownSize > Range