Re: 3 dimension arrays

2015-02-27 Thread Andrey via Digitalmars-d-learn
On Thursday, 26 February 2015 at 23:25:22 UTC, Ali Çehreli wrote: On 02/26/2015 12:01 PM, Andrey wrote:> HI guys!!! > > Have a problem with 3d array memory allocation in next code: > > // > class NeuronNet(T, const uint layersNum) > { >

Re: 3 dimension arrays

2015-02-26 Thread Ali Çehreli via Digitalmars-d-learn
On 02/26/2015 12:01 PM, Andrey wrote:> HI guys!!! > > Have a problem with 3d array memory allocation in next code: > > // > class NeuronNet(T, const uint layersNum) > { > T[]_inputs; > T[][layersNum - 2]_hidd

3 dimension arrays

2015-02-26 Thread Andrey via Digitalmars-d-learn
HI guys!!! Have a problem with 3d array memory allocation in next code: // class NeuronNet(T, const uint layersNum) { T[] _inputs; T[][layersNum - 2] _hidden; T[]