Jagged array of 2D array

Hi

I have a question about object creation of jagged array in IronRuby.


C#

double[][] csArray0 = new double[100][];
double[][,] csArray1 = new double[100][,];

IronRuby

irArray0 =
System::Array.CreateInstance(System::Array.of(System::Double).to_clr_type,100)
irArray1 = ???

“csArray0” is a simple jagged array, so I could find the corresponding
code(“irArray0”).
“csArray1” is a jagged array of 2D array. I’d like to create
“csArray1” object in IronRuby.
Can someone help?

Mikami

This forum is not affiliated to the Ruby language, Ruby on Rails framework, nor any Ruby applications discussed here.

| Privacy Policy | Terms of Service | Remote Ruby Jobs