From ffe6b792dadb7f4667dd5797da9e2e16182c751d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?St=C3=A9phane=20Adjemian=20=28Charybdis=29?= Date: Fri, 11 Oct 2013 18:47:20 +0200 Subject: [PATCH] Rewrote header of dynDates/plus. --- matlab/@dynDates/plus.m | 27 +++------------------------ 1 file changed, 3 insertions(+), 24 deletions(-) diff --git a/matlab/@dynDates/plus.m b/matlab/@dynDates/plus.m index 07f52928a..73220a8e0 100644 --- a/matlab/@dynDates/plus.m +++ b/matlab/@dynDates/plus.m @@ -1,29 +1,8 @@ function C = plus(A,B) % --*-- Unitary tests --*-- -%@info: -%! @deftypefn {Function File} {@var{C} =} plus (@var{A},@var{B}) -%! @anchor{@dynDates/plus} -%! @sp 1 -%! Overloads the plus (addition) operator for the @ref{dynDates} class. Combines two dynDates objects, A and B, without removing repetitions -%! if A and B are not disjoints. -%! @sp 2 -%! @strong{Inputs} -%! @sp 1 -%! @table @ @var -%! @item A -%! @ref{dynDates} object. -%! @item B -%! @ref{dynDates} object. -%! @end table -%! @sp 2 -%! @strong{Outputs} -%! @sp 1 -%! @table @ @var -%! @item C -%! @ref{dynDates} object. -%! @end table -%! @end deftypefn -%@eod: +% Overloads the plus operator. If A and B are dynDates objects the method combines A and B without removing repetitions. If +% one of the inputs is an integer or a vector of integers, the method shifts the dynDates object by X (the interger input) +% periods forward. % Copyright (C) 2013 Dynare Team %