Definition at line 30 of file fglmvec.cc.
◆ fglmVectorRep() [1/3]
fglmVectorRep::fglmVectorRep |
( |
| ) |
|
|
inline |
◆ fglmVectorRep() [2/3]
fglmVectorRep::fglmVectorRep |
( |
int |
n, |
|
|
number * |
e |
|
) |
| |
|
inline |
◆ fglmVectorRep() [3/3]
fglmVectorRep::fglmVectorRep |
( |
int |
n | ) |
|
|
inline |
Definition at line 43 of file fglmvec.cc.
44 {
45 fglmASSERT (
N >= 0,
"illegal Vector representation");
48 else
49 {
51 for(
int i =
N - 1;
i >= 0;
i--)
53 }
54 }
#define fglmASSERT(ignore1, ignore2)
◆ ~fglmVectorRep()
fglmVectorRep::~fglmVectorRep |
( |
| ) |
|
|
inline |
Definition at line 55 of file fglmvec.cc.
56 {
58 {
59 for(
int i =
N - 1;
i >= 0;
i--)
62 }
63 }
#define omFreeSize(addr, size)
◆ clone()
Definition at line 65 of file fglmvec.cc.
66 {
68 {
69 number *elems_clone;
70 elems_clone = (number *)
omAlloc (
N *
sizeof (number));
71 for(
int i =
N - 1;
i >= 0;
i--)
74 }
75 else
77 }
◆ copyObject()
Definition at line 82 of file fglmvec.cc.
83 {
85 return this;
86 }
◆ deleteObject()
BOOLEAN fglmVectorRep::deleteObject |
( |
| ) |
|
|
inline |
◆ ejectelem()
number fglmVectorRep::ejectelem |
( |
int |
i, |
|
|
number |
n |
|
) |
| |
|
inline |
Definition at line 127 of file fglmvec.cc.
128 {
130 number temp =
elems[
i - 1];
132 return temp;
133 }
◆ getconstelem()
number fglmVectorRep::getconstelem |
( |
int |
i | ) |
const |
|
inline |
◆ getelem()
number & fglmVectorRep::getelem |
( |
int |
i | ) |
|
|
inline |
◆ isUnique()
BOOLEAN fglmVectorRep::isUnique |
( |
| ) |
const |
|
inline |
◆ isZero()
int fglmVectorRep::isZero |
( |
| ) |
const |
|
inline |
Definition at line 100 of file fglmvec.cc.
101 {
103 for(
k =
N;
k > 0;
k--)
104 {
106 return 0;
107 }
108 return 1;
109 }
number getconstelem(int i) const
◆ numNonZeroElems()
int fglmVectorRep::numNonZeroElems |
( |
| ) |
const |
|
inline |
Definition at line 110 of file fglmvec.cc.
111 {
114 for(
k =
N;
k > 0;
k--)
115 {
118 }
120 }
◆ refcount()
int fglmVectorRep::refcount |
( |
| ) |
const |
|
inline |
◆ setelem()
void fglmVectorRep::setelem |
( |
int |
i, |
|
|
number |
n |
|
) |
| |
|
inline |
◆ size()
int fglmVectorRep::size |
( |
| ) |
const |
|
inline |
◆ fglmVector
◆ elems
number* fglmVectorRep::elems |
|
private |
◆ ref_count
int fglmVectorRep::ref_count |
|
private |
The documentation for this class was generated from the following file: