51 inline static SP::LAP_2DView
New() {
66 p->setView(0,startx,endx,incrementx);
67 p->setView(1,starty,endy,incrementy);
91 for (
tFlag k=0;k<2;k++) mView[k].
copy(v[k]);
98 mView[k].
setView(start,end,inc);
This class is a view of a pointer.
Definition: LAP_View.h:14
const LAP_View & operator[](const tFlag &i) const
get the value for reading only
Definition: LAP_2DView.h:74
virtual tString toString() const
turn into string
Definition: LAP_2DView.h:141
const tLVectorIndex & getStart() const
get the start index of the first element in [start,end[
Definition: LAP_View.h:130
void setView(const tLVectorIndex &start, const tLVectorIndex &end, const tLVectorIndex &inc)
set the the view the element considered are in [start,end[ with increment inc
Definition: LAP_View.h:88
LAP_2DView(void)
create an object
Definition: LAP_2DView.h:30
void setLVectorIncrement(const tLVectorIncrement &inc)
set the increment of the view
Definition: LAP_View.h:107
const tLVectorIncrement & getIncrement() const
get increment
Definition: LAP_View.h:125
LAP_View & operator[](const tFlag &i)
get the value for reading only
Definition: LAP_2DView.h:80
tString getIdentityString() const
return the identity string of the object of the form className_at_address
Definition: CORE_Object.h:136
This class is the base class of all lapack objects.
Definition: LAP_Object.h:17
void setView(const tFlag &k, const tLVectorIndex &start, const tLVectorIndex &end, const tLVectorIncrement &inc)
set the indices in direction k
Definition: LAP_2DView.h:97
void setLVectorIncrement(const tFlag &d, const tLVectorIncrement &inc)
set the index : increment in direction k
Definition: LAP_2DView.h:110
const tLVectorIndex & getStart(const tFlag &d) const
get the start index in direction k
Definition: LAP_2DView.h:122
virtual ~LAP_2DView()
destroy an object.
Definition: LAP_2DView.h:42
#define tLVectorIndex
Definition: lapack_types.h:13
const tLVectorIncrement & getIncrement(const tFlag &d) const
get increment in direction k
Definition: LAP_2DView.h:117
void setView(const tFlag &k, const tLVectorIndex &start, const tLVectorIndex &end)
set the indices in direction k
Definition: LAP_2DView.h:102
#define tString
Definition: types.h:49
const tLVectorIndex & getEnd(const tFlag &d) const
get the end index in direction k
Definition: LAP_2DView.h:127
void copy(const LAP_2DView &v)
copy
Definition: LAP_2DView.h:90
static SP::LAP_2DView New(const tLVectorIndex &startx, const tLVectorIndex &endx, const tLVectorIncrement &incrementx, const tLVectorIndex &starty, const tLVectorIndex &endy, const tLVectorIncrement &incrementy)
Definition: LAP_2DView.h:58
This class is a matrix view.
Definition: LAP_2DView.h:14
#define tLVectorIncrement
Definition: lapack_types.h:16
virtual tString toString() const
turn into string
Definition: LAP_View.h:148
const tLVectorIndex & getEnd() const
get the end index of the last element in [start,end[
Definition: LAP_View.h:135
tLVectorIndex getSize(const tFlag &d) const
Definition: LAP_2DView.h:133
tLVectorIndex getSize() const
Definition: LAP_View.h:141
static SP::LAP_2DView New()
Definition: LAP_2DView.h:51
#define ASSERT_IN(a)
Definition: types.h:96
class Free introduced for deleting a smart pointer
Definition: CORE_Object.h:106
#define tFlag
Definition: types.h:14