Commit Graph

46 Commits (e0018f8bca66263eabface151347cfa70d6989f7)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) e0018f8bca Added overload subsasgn method in dynSeries class.
Following syntax:

ts{'GDP_US'} = ts.{'GDP_US'}.log

applies the log function to the variable GDP_US in the dynSeries object ts. Note that this works on an arbitrary number of variables and that regular expressions can be used (see previous commits).
2012-12-12 16:16:11 +01:00
Stéphane Adjemian (Charybdis) 732d321606 Added the possibility to get the name of the i-th variable in a dynSeries object.
The following syntax

A.name{i}

where A is a dynSeries object, returns the name of the i-th variable in A.
2012-12-12 16:16:11 +01:00
Stéphane Adjemian (Charybdis) 1f48a2bffe Added overloaded mrdivide method in dynSeries class. 2012-12-12 16:16:11 +01:00
Stéphane Adjemian (Charybdis) b48e0a8d75 Added set_names method in dynSeries class. 2012-12-12 16:16:11 +01:00
Stéphane Adjemian (Charybdis) 65bc1f2980 Fixed texinfo header. 2012-12-12 16:16:11 +01:00
Stéphane Adjemian (Charybdis) 96dea568b1 Added overload mtimes method in dynSeries class. 2012-12-12 16:16:11 +01:00
Stéphane Adjemian (Charybdis) 7878b806d6 Cosmetic changes. 2012-12-12 16:16:11 +01:00
Stéphane Adjemian (Charybdis) 2b6915cf8f Added missing init and tex member in overload plus method (dynSerie class). 2012-12-12 16:16:10 +01:00
Stéphane Adjemian (Charybdis) ad68019a06 Added overload minus method in dynSeries class. 2012-12-12 16:16:10 +01:00
Stéphane Adjemian (Charybdis) f1a4ac5fff Added overloaded uminus method in the dynSeries class. 2012-12-12 16:16:10 +01:00
Stéphane Adjemian (Charybdis) 1de31adf34 Added overload plus method for dynSeries class. 2012-12-12 16:16:10 +01:00
Stéphane Adjemian (Charybdis) e27dd38c7f Added overloaded isempty function for dynSeries class. 2012-12-12 16:16:10 +01:00
Stéphane Adjemian (Charybdis) 2098beb089 Added save method (m, mat, csv formats) in dynSeries class. 2012-12-07 16:43:06 +01:00
Stéphane Adjemian (Charybdis) 96321a8afd Added the possibility to select variables in a dynSeries object. It is possible to use regular expressions. Examples are given in unitary test #6 of subsref overloaded method. 2012-12-07 16:43:06 +01:00
Stéphane Adjemian (Charybdis) e9458a8954 Removed useless functions (dynSeries). 2012-12-07 16:43:06 +01:00
Stéphane Adjemian (Charybdis) 78e9194fb4 Fixed horzcat overloaded method (dynSeries). 2012-12-07 16:43:06 +01:00
Stéphane Adjemian (Charybdis) 325b06de24 Updated texinfo headers. 2012-12-07 16:43:06 +01:00
Stéphane Adjemian (Charybdis) e1527b215e Added the possibility to populate an empty dynSeries object with a data file (csv, mat or m files).
For instance, the following syntax is allowed:

dbload = dynSeries();
mydata = dbload('data_file.csv');
2012-12-03 16:15:37 +01:00
Stéphane Adjemian (Charybdis) 9783060575 Removed useless path instructions. 2012-12-03 16:15:37 +01:00
Stéphane Adjemian (Charybdis) f89b5cfe38 Allow instantiation of dynSeries classw with a datafile (csv, mat or m). Fixed various bugs.
For instance, the follwing syntax is allowed:

data = dynSeries('mydata.csv');

assuming that the csv file is in the matlab's path.
2012-12-03 16:15:36 +01:00
Stéphane Adjemian (Charybdis) 7f10bccf4a Moved isweekly, ismonthly, isquaterly and isyearly routines from matlab/@dynSeries/private to matlab/utilities/dates. Adapted dynare_config conformably to these changes. 2012-12-03 16:15:36 +01:00
Stéphane Adjemian (Charybdis) d4595a85a0 Moved get_cells_id routine from matlab/@dynSeries/private to matlab. 2012-12-03 16:15:36 +01:00
Stéphane Adjemian (Charybdis) c100a04505 Moved check_file_extension routine from matlab/@dynSeries/private to matlab. 2012-12-03 16:15:36 +01:00
Stéphane Adjemian (Charybdis) 7e47128212 Added new routines to load data from m, mat or csv files. Used by dynSeries class. 2012-11-29 12:56:00 +01:00
Stéphane Adjemian (Charybdis) 93e6b41df5 Added routines that will be used to import data (csv file) in a dynSeries object. 2012-11-19 16:17:00 +01:00
Stéphane Adjemian (Charybdis) c3ff5d92d3 Cosmetic change. 2012-11-19 16:17:00 +01:00
Stéphane Adjemian (Charybdis) 50a2f94197 Updated copyright 2012-11-14 12:32:01 +01:00
Stéphane Adjemian (Charybdis) c1616872a4 Removed useless path informations in (dynSeries) horzcat overloaded method. 2012-11-14 12:32:00 +01:00
Stéphane Adjemian (Charybdis) d92a7775b9 Removed debug info in first unitary test of dynSeries constructor. 2012-11-14 12:32:00 +01:00
Stéphane Adjemian (Charybdis) bc1276a218 Removed useless path information in unitary test (dynSeries constructor). 2012-11-14 12:32:00 +01:00
Stéphane Adjemian (Charybdis) b8803c149e Added unitary test for dynSeries class. 2012-11-14 12:32:00 +01:00
Sébastien Villemot 0ab230b474 Fix copyright notices 2012-10-31 17:03:49 +01:00
Stéphane Adjemian (Charybdis) 01bfd371d2 Changed name of dynDates class to dynDate. dynDates will be used latter for irregular and unsorted sequence of dates. 2011-10-21 11:38:45 +02:00
Stéphane Adjemian (Scylla) 62d6d71cc7 Code simplification using dynTime class. 2011-09-12 11:46:14 +02:00
Stéphane Adjemian (Scylla) 8127048d81 Changed headers. 2011-09-12 11:46:14 +02:00
Stéphane Adjemian (Scylla) 29cfb00e13 Changed headers. 2011-09-12 11:46:14 +02:00
Stéphane Adjemian (Scylla) a1913d8a99 Removed (useless) private method. 2011-09-12 11:46:14 +02:00
Stéphane Adjemian (Scylla) 0bd5d17ccf Completed the overloaded subsref method. Give access to the Time member, which is an object instantiated by @dynTime/dynTime. 2011-09-12 11:46:14 +02:00
Stéphane Adjemian (Charybdis) f3652af938 Changed constructor by calling other classes (not yet commited). 2011-09-05 18:57:42 +02:00
Stéphane Adjemian (Charybdis) a730224031 Added public member. 2011-09-05 18:57:42 +02:00
Stéphane Adjemian (Charybdis) a2b1ce977f Added documentation 2011-09-05 18:57:42 +02:00
Stéphane Adjemian (Charybdis) d0fe3c8ae4 New version of the overloaded subsref method (with tests). Still need to be documented. 2011-09-05 18:57:42 +02:00
Stéphane Adjemian (Charybdis) 2c8b71ae05 Fixed bug. The initial date, when not specified by the user, had wrong format. 2011-09-05 18:57:42 +02:00
Stéphane Adjemian (Charybdis) 8982d49539 Removed subsasgn.m.old 2011-09-05 18:57:42 +02:00
Stéphane Adjemian (Charybdis) 31c6f1c998 Allow horizontal concatenation of an arbitrary number of dynSeries objects. 2011-09-05 18:57:42 +02:00
Stéphane Adjemian (Charybdis) 237744fe7e Added dynare class for time series. 2011-09-05 18:57:42 +02:00