How to easy set size of multi dimentional dynamic array? for example: class Foo{ private double[][] m_array; this(uint o_length, uint o_width){ // hard way: this.m_data.length = o_length; for(uint i = 0; i < this.m_array.length; i++){ this.m_array[i] = new double[o_width]; } } }