You are here

ranges and subranges implemented in MxAlgebra expressions

2 posts / 0 new
Last post
mspiegel's picture
Offline
Joined: 07/31/2009 - 15:24
ranges and subranges implemented in MxAlgebra expressions

In the next binary release** you will be able to use ranges and subranges in MxAlgebra expression. The range operator "x : y" creates a column vector of elements [x, x+1, x+2, ..., y]. In addition, the square bracket operator now supports subranges. The following are now valid MxAlgebra expressions:

foo foo foo foo foo foo foo

The square bracket operator is quite versatile. We have 25 test cases in our test suite devoted to this operator. If we missed a case, and you figure out some way to break the operator, please let us know.

** OpenMx 0.2.6. Version 0.2.5 has been released without a news announcement.

Jeff's picture
Offline
Joined: 07/31/2009 - 05:40
Very nice! This is becoming

Very nice! This is becoming quite a powerful operator.

Log in or register to post comments