Drexel dragonThe Math ForumDonate to the Math Forum



Search All of the Math Forum:

Views expressed in these public forums are not endorsed by Drexel University or The Math Forum.


Math Forum » Discussions » Software » comp.soft-sys.matlab

Topic: Financial toolbox assumes dates are sorted?
Replies: 2   Last Post: Jan 27, 2013 3:43 AM

Advanced Search

Back to Topic List Back to Topic List Jump to Tree View Jump to Tree View   Messages: [ Previous | Next ]
Phil Goddard

Posts: 342
Registered: 1/27/12
Re: Financial toolbox assumes dates are sorted?
Posted: Jan 26, 2013 4:08 PM
  Click to see the message monospaced in plain text Plain Text   Click to reply to this topic Reply

If you look at the constructor
>> edit fints/fints
you'll see that it sorts the dates when the object is constructed.

Also, looking at the methods, for instance,
>> edit fints/plus
you'll see that fints of the latest version are assumed to be sorted (as they will be sorted by the constructor) and that fints of older versions get sorted.

You are right in that the documentation for the constructor doesn't explicitly say that a sort takes place (except for fints with duplicate dates -- in a note near the end of the help).

Phil.



Point your RSS reader here for a feed of the latest messages in this topic.

[Privacy Policy] [Terms of Use]

© Drexel University 1994-2014. All Rights Reserved.
The Math Forum is a research and educational enterprise of the Drexel University School of Education.