Last change
on this file since 2386 was 1984, checked in by cecile, 23 years ago |
pour release juin 02 de L2 gph 425
|
File size:
520 bytes
|
Line | |
---|
1 | #include "machdefs.h"
|
---|
2 | #include "pexceptions.h"
|
---|
3 | #include "ring33.h"
|
---|
4 |
|
---|
5 |
|
---|
6 | // -------------------------------------------------------
|
---|
7 | // Classe simple de matrice 3x3 - sans allocation memoire
|
---|
8 | // -------------------------------------------------------
|
---|
9 |
|
---|
10 | // constructor
|
---|
11 | RingOfMatrix3x3::RingOfMatrix3x3(int_4 npix)
|
---|
12 | {
|
---|
13 | if (npix < 1) throw RangeCheckError("RingOfMatrix3x3::RingMatrix3x3() size < 1 !");
|
---|
14 | size_ = npix;
|
---|
15 | mtxtab_ = new Matrix3x3[npix];
|
---|
16 | }
|
---|
17 |
|
---|
18 | // Destructor
|
---|
19 | RingOfMatrix3x3::~RingOfMatrix3x3()
|
---|
20 | {
|
---|
21 | delete[] mtxtab_;
|
---|
22 | }
|
---|
Note:
See
TracBrowser
for help on using the repository browser.