From 6e39e1f4ea5e1d4128e314ebb8dd0059b8cf9df7 Mon Sep 17 00:00:00 2001 From: Jürgen Knödlseder Date: Fri, 14 Dec 2012 23:13:12 +0100 Subject: [PATCH] Update after GPar and GNodeArray changes. --- ChangeLog | 4 +++- NEWS | 18 ++++++++++++++++-- 2 files changed, 19 insertions(+), 3 deletions(-) diff --git a/ChangeLog b/ChangeLog index 226b23d..9c5297e 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,4 +1,4 @@ -2012-12-10 Juergen Knoedlseder +2012-12-14 Juergen Knoedlseder * Version 0.7.0 released ======================== @@ -12,6 +12,8 @@ Define new instrument response interface Add GSource class File locking failures do no longer throw exceptions + Optimize GNodeArray computations and add unit tests + Add handling of undefined and NaN values to GPar class 2012-09-17 Juergen Knoedlseder diff --git a/NEWS b/NEWS index afec70a..3fdd89d 100644 --- a/NEWS +++ b/NEWS @@ -2,7 +2,7 @@ New Features and Important Changes in GammaLib 00-07-00 Author(s) : Juergen Knoedlseder -December, 8rd, 2012 +December, 14th, 2012 1. Introduction @@ -24,6 +24,13 @@ File locking failures do no longer throw exceptions. This allows to operate GammaLib also on systems that do not support file locking. Unsupported file locking may occur on some file systems. +The GPar class now handles special values for integer and floating point +parameters, such as INDEF, NONE, UNDEF, UNDEFINED (for an undefined value) +and INF, INFINITY, NAN (for values that are not a number). If presence +of these values can be checked using the isundefined() and the +isnotanumber() methods. An isvalid() method has been added to check also +if a parameter value is valid. + 4. Base module -------------- @@ -91,7 +98,14 @@ None 12. Support module ------------------ -None +GNodeArray computations have been optimized in that the last interpolation +result is cached, and reused if the same value is requested in a subsequent +call. An unnecessary if statement has also been removed from the bi-section +method. + +Unit tests have been added to check the GNodeArray class. In particular, +the linear and non-linear interpolation and extrapolation code is now +validated. 13. XML module -- libgit2 0.21.4