Soft Recurrence as an arguments of the Min()

Solved5.34K viewsFormulas and Functions

Hi all,

Recursive computing is one of the strong properties of QM. However, I found that the Min() function incorrectly makes calculations, if its arguments are recursive expressions. If this is a bug in the program code, it would be nice to have the development team took care of it. If this is not an error code, then what has been done wrong in the attached model. Your valuable explanations are very welcome.

jlin Answered question July 7, 2018


I would say this is a bug. I’ve also tested this using the Max Function and the same results. I’ve tried multiplying by 1 the soft recursion (M1::B[~PREV]*1) no success. Even checking the help file it states:

Soft Recurrence

You can force a calculation of an item, when no previous or next value exists, by using a soft recurrence formula. You create a soft recurrence by adding a tilde (~) in front of the keyword, e.g. [~PREV]. [b:1c0ybdzy]Quantrix will assume a value of zero when calculating the first or next item[/b:1c0ybdzy].

You are viewing 1 out of 2 answers, click here to view all answers.

Latest Questions