I have 3 dimensional array of floats
and i want copy them to ILArray<float>
, but how?
private float[,,] defArray = new float[10, 10, 3];
private ILArray<float> data;
Array.Copy doesn't work on this. I know i can create ILArray directly and populate it with values, but i really need copy my array to ILArray. Thank all of you.
根据http://ilnumerics.net/ArrayCreation4.html,它应该通过将System.Array分配给ILArray来工作:
data = defArray;
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.