AccumulateLayer

Declaration: TMat4D.AccumulateLayer (Layer, TimeSlot: integer; Src: TDouble2DArray): integer;
The method AccumulateLayer adds the data in Src to the layer specified by the parameters Layer and TimeSlot.

The function returns the following error codes:

 0 ... everything is OK
-1 ... Src does not match the data cube
-2 ... Layer out of range
-3 ... TimeSlot out of range