Alexandre Brown
02/27/2023, 4:53 PMcat
on an "empty" multik array?
In Numpy we can do the following : https://stackoverflow.com/questions/22732589/concatenating-empty-array-in-numpy
Currently I have the following :
Peusdo code:
val a = mutableListOf<List<Int>>()
for loop
multikArray = function()
a.add(multikArray.toList())
val b = mk.ndarray(a)
But It would be nice if I could do :
val a = mk.ndarray(mk[])
for loop
multikArray = function()
a.cat(multikArray)
Alexandre Brown
02/27/2023, 5:25 PMPavel Gorgulov
02/28/2023, 8:19 PM