Redimension of a 1D MemArray inside a UDO


I have a 1D MemArray inside my UDO. I want to redimension to a multidimensional MemArray using the first few attributes of the 1D MemArray as the dimensions. What is the best way to do this? I am looking at the “redimension” operator but not sure if I am on the right track.



We suggest that you don’t try to reproduce the functionality of another operator inside your own.

The whole idea with SciDB and UDO extensibility is that it allows folk to construct complex statements by combining multiple operators, each with it’s own distinct functionality. Rather than trying to build “one operator to rule them all”, instead focus your operator’s functionality on the simplest thing is can possibly do.

Why? Because the less specific the operator is, the more applications it might be used in.

What did you have in mind?