Last change
on this file since 265 was
265,
checked in by hozdoba, 13 years ago
|
Corrections après tests sur titane
|
File size:
896 bytes
|
Rev | Line | |
---|
[152] | 1 | #include "instant.hpp" |
---|
| 2 | |
---|
| 3 | namespace xmlioserver |
---|
| 4 | { |
---|
| 5 | namespace func |
---|
| 6 | { |
---|
| 7 | /// ////////////////////// Définitions ////////////////////// /// |
---|
| 8 | |
---|
[205] | 9 | CInstant::CInstant(DoubleArray doutput) |
---|
| 10 | : SuperClass(StdString("instant"), doutput) |
---|
[152] | 11 | { /* Ne rien faire de plus */ } |
---|
| 12 | |
---|
| 13 | CInstant::~CInstant(void) |
---|
| 14 | { /* Ne rien faire de plus */ } |
---|
| 15 | |
---|
| 16 | //--------------------------------------------------------------- |
---|
| 17 | |
---|
[265] | 18 | void CInstant::apply(const DoubleArray _dinput, |
---|
| 19 | DoubleArray _doutput) |
---|
[152] | 20 | { |
---|
[265] | 21 | const double * it1 = _dinput->data(), |
---|
| 22 | * end1 = _dinput->data() + _dinput->num_elements(); |
---|
| 23 | double * it = _doutput->data(); |
---|
| 24 | for (; it1 != end1; it1++, it++) *it = *it1; |
---|
[152] | 25 | } |
---|
| 26 | |
---|
| 27 | //--------------------------------------------------------------- |
---|
| 28 | |
---|
| 29 | } // namespace func |
---|
| 30 | } // namespace xmlioserver |
---|
Note: See
TracBrowser
for help on using the repository browser.