Commit 6e39e1f4ea5e1d4128e314ebb8dd0059b8cf9df7
1 parent
f71f800d
Update after GPar and GNodeArray changes.
Showing
2 changed files
with
19 additions
and
3 deletions
ChangeLog
| 1 | -2012-12-10 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu> | 1 | +2012-12-14 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu> |
| 2 | 2 | ||
| 3 | * Version 0.7.0 released | 3 | * Version 0.7.0 released |
| 4 | ======================== | 4 | ======================== |
| @@ -12,6 +12,8 @@ | @@ -12,6 +12,8 @@ | ||
| 12 | Define new instrument response interface | 12 | Define new instrument response interface |
| 13 | Add GSource class | 13 | Add GSource class |
| 14 | File locking failures do no longer throw exceptions | 14 | File locking failures do no longer throw exceptions |
| 15 | + Optimize GNodeArray computations and add unit tests | ||
| 16 | + Add handling of undefined and NaN values to GPar class | ||
| 15 | 17 | ||
| 16 | 2012-09-17 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu> | 18 | 2012-09-17 Juergen Knoedlseder <jurgen.knodlseder@irap.omp.eu> |
| 17 | 19 |
NEWS
| @@ -2,7 +2,7 @@ New Features and Important Changes in GammaLib 00-07-00 | @@ -2,7 +2,7 @@ New Features and Important Changes in GammaLib 00-07-00 | ||
| 2 | 2 | ||
| 3 | Author(s) : Juergen Knoedlseder | 3 | Author(s) : Juergen Knoedlseder |
| 4 | 4 | ||
| 5 | -December, 8rd, 2012 | 5 | +December, 14th, 2012 |
| 6 | 6 | ||
| 7 | 7 | ||
| 8 | 1. Introduction | 8 | 1. Introduction |
| @@ -24,6 +24,13 @@ File locking failures do no longer throw exceptions. This allows to | @@ -24,6 +24,13 @@ File locking failures do no longer throw exceptions. This allows to | ||
| 24 | operate GammaLib also on systems that do not support file locking. | 24 | operate GammaLib also on systems that do not support file locking. |
| 25 | Unsupported file locking may occur on some file systems. | 25 | Unsupported file locking may occur on some file systems. |
| 26 | 26 | ||
| 27 | +The GPar class now handles special values for integer and floating point | ||
| 28 | +parameters, such as INDEF, NONE, UNDEF, UNDEFINED (for an undefined value) | ||
| 29 | +and INF, INFINITY, NAN (for values that are not a number). If presence | ||
| 30 | +of these values can be checked using the isundefined() and the | ||
| 31 | +isnotanumber() methods. An isvalid() method has been added to check also | ||
| 32 | +if a parameter value is valid. | ||
| 33 | + | ||
| 27 | 34 | ||
| 28 | 4. Base module | 35 | 4. Base module |
| 29 | -------------- | 36 | -------------- |
| @@ -91,7 +98,14 @@ None | @@ -91,7 +98,14 @@ None | ||
| 91 | 98 | ||
| 92 | 12. Support module | 99 | 12. Support module |
| 93 | ------------------ | 100 | ------------------ |
| 94 | -None | 101 | +GNodeArray computations have been optimized in that the last interpolation |
| 102 | +result is cached, and reused if the same value is requested in a subsequent | ||
| 103 | +call. An unnecessary if statement has also been removed from the bi-section | ||
| 104 | +method. | ||
| 105 | + | ||
| 106 | +Unit tests have been added to check the GNodeArray class. In particular, | ||
| 107 | +the linear and non-linear interpolation and extrapolation code is now | ||
| 108 | +validated. | ||
| 95 | 109 | ||
| 96 | 110 | ||
| 97 | 13. XML module | 111 | 13. XML module |