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?

È stato utile?

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
scroll top