Commit Graph

10 Commits (704f8650afdef80df194f625b03efd14e6a206c7)

Author SHA1 Message Date
Stéphane Adjemian (Telemachus) 8fedac4d5e Replaced calls to dyn_assert by calls to dassert.
This routine is used to compare objects i -n unit tests.
2014-11-08 09:28:53 +01:00
Stéphane Adjemian (Scylla) 0f28422e9f This fixes #704. 2014-07-29 18:22:10 +02:00
Stéphane Adjemian (Scylla) c5af1d43ed Removed nobs and vobs members in @dseries class.
The syntax to get the number of observations and the number of
variables remains unaffected by this commit. If ts a @dseries object,
ts.nobs and ts.vobs are respectively the number of observations and
the number of variables.
2014-07-28 17:50:15 +02:00
Stéphane Adjemian (Charybdis) 9c733de40a Added unitary tests. 2014-07-08 14:06:55 +02:00
Houtan Bastani a64ded92cd dseries: fix subtraction bug. closes #686 2014-07-08 12:06:27 +02:00
Stéphane Adjemian (Charybdis) 955dcab449 Removed init and freq members from dseries class (redundant informations).
The frequency and initial date can still be accessed with the usual syntax:

ts.freq
ts.init

It is also possible to get the last date:

ts.last

Added new methods frequency, firstdate and lastdate as alias for ts.dates.freq, ts.dates(1) and ts.dates(end)
2014-06-11 12:22:35 +02:00
Stéphane Adjemian (Charybdis) 117f338eff Implement broadcasting for operations (+,-,* and /) between dseries and scalar or vectors. Efficiency and cosmetic changes. 2014-01-16 10:06:30 +01:00
Stéphane Adjemian (Scylla) 34e5f48752 Use isdseries and fixed bug introduced in commit fbb38d5576. 2013-11-06 22:43:43 +01:00
Stéphane Adjemian (Scylla) fbb38d5576 Renamed time member as dates (in dseries class) to avoid confusion with dates class' time member. 2013-11-06 17:41:11 +01:00
Stéphane Adjemian (Charybdis) d86d713cf4 Renamed dynSeries class as dseries. 2013-10-18 17:38:43 +02:00