algebras checked in the front-end

1 reply [Last post]
mspiegel's picture
Offline
Joined: 07/31/2009

As of revision 769, MxAlgebra are checked for correct dimensions before the optimizer is called.

> A <- mxMatrix("Full", nrow = 1, ncol = 1, name = 'A')
> B <- mxMatrix("Full", nrow = 1, ncol = 2, name = 'B')
> C <- mxAlgebra(A + B, name = 'C')
> model <- mxModel('model', A, B, C)
> mxRun(model)
Running model 
Error: The algebra 'model.C' in model 'model' generated the error message:
non-conformable arrays

tbates's picture
Offline
Joined: 07/31/2009
very helpful!

very helpful!