How to delete rows or column in ILArray like Matlab, ILNumerics
-
23-12-2019 - |
Domanda
In ILArray of ILNumerics library, is there any shortcut to delete the row or columns like matlab?
Something like this (in matlab):
A(:,2)=[];
A(2,:)=[];
Since the ILNumerics is very similar with Matlab, I curious about this. Does anyone know?
Soluzione
Use Empty() method of ILMath class.
for example : A[1, ":"] = ILMath.Empty()
Autorizzato sotto: CC-BY-SA insieme a attribuzione
Non affiliato a StackOverflow