Auto-convert Vector{Type} to special container type
Julia Programming Language
Auto-convert Vector{Type} to special container type
I’m trying to use this unofficial CasADi interface in Julia since the official interface seems to be a long way from working (couldn’t get it installed in Julia 1.10, as stated in Project.toml). I’m having a hard time handling the fact that CasADi’s main number type, SX, is supposed to behave both as a scalar and as an array, since this leads to vector expressions mixing Array{SX} and SX. As an example, the following code errors: using CasADi v = SX("v", 2) [v[2]; v[1]] + v because it actually...
0 comments
No comments yet.