Statische Arrays als Parameter für dynamische Arrays in Delphi übergeben
Ich habe dieses Array:
const / var
_Data : array [0..4] of array [0..3] of Double =
((0,0,0,0),
(0,0,1,1),
(1,0,1,0),
(1,1,0,0),
(1,1,1,1));
Ich möchte es als Parameterwert für diese Prozedur übergeben:
procedure NN.NetTraining(Data: TDoubleMatrix);
Woher:
TDoubleArray = array of Double;
TDoubleMatrix = array of TDoubleArray;
Gibt es eine Möglichkeit, dieses statische Array in Delphi (2009) in ein dynamisches Array umzuwandeln oder umzuwandeln?
Danke im Voraus.