Commit Graph

85 Commits (e36516f76699d9df18344df92f73d62ca681538a)

Author SHA1 Message Date
Stéphane Adjemian (Charybdis) ddd95361ba Cosmetic changes. Added isoctave function to replace exist('OCTAVE_VERSION'). 2013-11-04 10:54:45 +01:00
Stéphane Adjemian (Charybdis) 7518a46de0 Fixed bug. Function isdates should not be located in @dates folder, otherwise the function is not found if the input argument is not a dates object (which makes the function useless). 2013-11-04 08:18:18 +01:00
Stéphane Adjemian (Charybdis) 901ab2758c Fixed bug (dates constructor of the form dates(FREQ, YEAR, SUBPERIOD) when FREQ is given by a character). 2013-10-24 09:42:15 +02:00
Stéphane Adjemian (Charybdis) 14640275d8 Cosmetic change. 2013-10-18 15:06:36 +02:00
Stéphane Adjemian (Charybdis) 868c3c6a5e Renamed dynDates class as dates. 2013-10-15 15:36:21 +02:00
Stéphane Adjemian (Charybdis) f813702b32 Added a routine to test if an integer (a vector of integers) can be interpreted as a subperiod (a vector of subperiods). 2013-10-15 15:03:43 +02:00
Stéphane Adjemian (Charybdis) 068564628d Added condition (input must be a string) in isyearly, isquaterly, ismonthly and isweekly functions. 2013-10-14 18:17:32 +02:00
Stéphane Adjemian (Charybdis) db7f431010 Added routine. 2013-10-14 18:12:50 +02:00
Stéphane Adjemian (Charybdis) 04c206a9b6 Routine string2freq should not be case sensitive. Character 'A' is allowed for yearly (annual) dates. 2013-10-12 23:47:51 +02:00
Stéphane Adjemian (Charybdis) 586aa13e41 Added routines for manipulating dates. 2013-10-12 23:42:12 +02:00
Stéphane Adjemian (Charybdis) f9315f1409 Added missing commented string (first line) for triggering the unitary tests. 2013-10-11 23:36:29 +02:00
Stéphane Adjemian (Charybdis) fe28887409 Added new (low level) routine to add periods to a date or vector of dates (using the internal representation of dates). 2013-10-11 17:49:42 +02:00
Stéphane Adjemian (Charybdis) 1543a380c6 Expanded unitary test in compare_vectors routine to cover more cases. 2013-10-11 13:39:16 +02:00
Stéphane Adjemian (Charybdis) af4005f836 Fixed bugs. 2013-10-11 13:38:19 +02:00
Stéphane Adjemian (Charybdis) 6fff2fe75b Changed logic in the routine performing lexicographic comparison of vectors. 2013-10-11 12:09:31 +02:00
Stéphane Adjemian (Charybdis) c37c34a102 Fixed typo. 2013-10-10 18:27:31 +02:00
Stéphane Adjemian (Charybdis) a22852afad Added routine to compare vectors of common length by lexicographical order. 2013-10-10 16:56:42 +02:00
Stéphane Adjemian (Charybdis) 22144ef359 Added a routine for converting a string into a date structure.
A date structure has two fields:

 o freq, an integer scalar (=1, 4, 12, 52) specifying the frequency.

 o time, a 1*2 matrix of integers, time(1) is the year and time(2) the subperiod number.
2013-10-10 14:33:31 +02:00
Stéphane Adjemian (Charybdis) adcc218a0d Added new routine to test if a string can be interpreted as a date. 2013-10-10 14:30:38 +02:00
Stéphane Adjemian (Charybdis) 5a1b5aaf73 Fixed bug (month number 10 was missing). 2013-10-10 14:05:12 +02:00
Stéphane Adjemian (Charybdis) f4e32dbd6f Efficiency improvements. Rewrote some routines using regular expressions. 2013-10-10 12:52:27 +02:00
Stéphane Adjemian (Charybdis) 2e2315611c Fixed bug (conversion of variable names in tex).
(cherry picked from commit 80218a1b65)
2013-09-09 12:16:19 +02:00
Stéphane Adjemian (Charybdis) b76b0c8add Moved the commented first line, used to declare that the routine has unitary tests, after the declaration of the function, otherwise help is not displayed. 2013-09-05 11:34:19 +02:00
Stéphane Adjemian (Charybdis) 1d6ea1556d Fixed bug (missing condition on the number of returned arguments). 2013-09-02 23:27:04 +02:00
Stéphane Adjemian (Charybdis) 4052d4ccaf Cosmetic changes. Use skipline() instead of disp(' '). 2013-07-10 17:12:34 +02:00
Stéphane Adjemian (Charybdis) 305869f5e1 Cosmetic change. 2013-07-08 16:43:38 +02:00
Stéphane Adjemian (Charybdis) 3fd2a9845a Added routine. 2013-07-08 16:43:17 +02:00
Stéphane Adjemian (Charybdis) 44961e3408 Cosmetic change. Display the cell report in the log file. 2013-07-05 18:07:28 +02:00
Stéphane Adjemian (Charybdis) 6d440fbe56 Added a human readable version of the report (log file). 2013-07-05 18:02:39 +02:00
Stéphane Adjemian (Charybdis) b997febc92 Added matlab version and system name in the generated report. 2013-07-05 16:11:46 +02:00
Stéphane Adjemian (Charybdis) dc57706b55 Cosmetic change. 2013-07-05 15:56:14 +02:00
Stéphane Adjemian (Charybdis) 0f48674771 Added name2tex to the unitary tests suite. 2013-07-05 15:33:46 +02:00
Stéphane Adjemian (Charybdis) f2d0da4d80 Merge branch 'master' into experimental-unitary-tests 2013-07-05 14:28:56 +02:00
Stéphane Adjemian (Charybdis) a80ed38f5b Moved name2tex in matlab/utilities/general 2013-07-05 13:56:48 +02:00
Stéphane Adjemian (Charybdis) 35c4debfc5 Cosmetic change. 2013-07-05 00:30:01 +02:00
Stéphane Adjemian (Charybdis) f8e5cc7b49 Cosmetic change. 2013-07-05 00:24:17 +02:00
Stéphane Adjemian (Charybdis) 1b35bfb211 Fixed bug (wrong syntax for scp). 2013-07-05 00:02:15 +02:00
Stéphane Adjemian (Charybdis) d428124ac9 Send the report on the web. 2013-07-04 22:12:04 +02:00
Stéphane Adjemian (Charybdis) 89474d5e44 Reorganization of the code with respect to the production of the summary report. 2013-07-04 21:28:08 +02:00
Stéphane Adjemian (Charybdis) 71e8cb569d Added one output argument (return the output of clock). 2013-07-04 21:21:45 +02:00
Stéphane Adjemian (Charybdis) 11bda09860 Fixed typo. 2013-07-04 21:17:54 +02:00
Stéphane Adjemian (Charybdis) fb5c5d4ea6 Added a routine to produce and send a summary report about unitary tests. 2013-07-04 18:06:12 +02:00
Stéphane Adjemian (Charybdis) 42ed03048b Added option for saving the produced detailed report about unitary tests. 2013-07-04 15:57:31 +02:00
Stéphane Adjemian (Charybdis) 6bfda327b3 Fixed bug related to the presence of temporary files (begining with .#) in a folder. 2013-07-04 15:35:55 +02:00
Stéphane Adjemian (Charybdis) 4913413896 Fixed bug. Set elapsed time to NaN if the unitary test fails. 2013-07-04 15:34:50 +02:00
Stéphane Adjemian (Charybdis) bbfe68a09d Fixed bug + Cosmetic change. 2013-07-04 15:06:05 +02:00
Stéphane Adjemian (Charybdis) 479cf5bf8b Added routines to run matlab's unitary tests. 2013-07-04 14:36:31 +02:00
Stéphane Adjemian (Charybdis) fcef6e83b5 Fixed bug related to the name of the tested matlab routine. 2013-07-04 14:10:17 +02:00
Stéphane Adjemian (Charybdis) c83b047aa0 If mtest is called with one input then it must return two arguments (with detailed information about unitary tests). 2013-07-04 11:54:27 +02:00
Stéphane Adjemian (Charybdis) b4a8155f5b Adapted mtest routine so that it can be used in the matlab routines test suite.
mtest can now return more informations about the unitary tests.
2013-07-04 11:52:07 +02:00