#include <newmat.h>
Definition at line 1585 of file newmat.h.
◆ SimpleIntArray() [1/2]
SimpleIntArray::SimpleIntArray |
( |
int |
xn | ) |
|
◆ ~SimpleIntArray()
SimpleIntArray::~SimpleIntArray |
( |
| ) |
|
◆ SimpleIntArray() [2/2]
◆ CleanUp()
void SimpleIntArray::CleanUp |
( |
| ) |
|
|
inline |
Definition at line 1608 of file newmat.h.
void ReSize(int i, bool keep=false)
◆ Data() [1/2]
int* SimpleIntArray::Data |
( |
| ) |
|
|
inline |
◆ Data() [2/2]
const int* SimpleIntArray::Data |
( |
| ) |
const |
|
inline |
◆ operator=() [1/2]
void SimpleIntArray::operator= |
( |
int |
ai | ) |
|
◆ operator=() [2/2]
◆ operator[]() [1/2]
int & SimpleIntArray::operator[] |
( |
int |
i | ) |
|
◆ operator[]() [2/2]
int SimpleIntArray::operator[] |
( |
int |
i | ) |
const |
◆ ReSize()
void SimpleIntArray::ReSize |
( |
int |
i, |
|
|
bool |
keep = false |
|
) |
| |
Definition at line 998 of file newmat4.cpp.
References a, n, and REPORT.
1000 if (n1 ==
n) {
REPORT return; }
1001 else if (n1 == 0) {
REPORT n = 0;
delete []
a;
a = 0; }
1012 for (
int i = 0; i <
n; i++)
a[i] = a1[i];
1013 n = n1;
delete [] a1;
◆ Size()
int SimpleIntArray::Size |
( |
| ) |
const |
|
inline |
The documentation for this class was generated from the following files: