Removing an array dimension where the elements sum to zero
- by James
Hi,
I am assigning a 3D array, which contains some information for a number of different loadcases. Each row in the array defines a particular loadcase (of which there are 3) and I would like to remove the loadcase (i.e. the row) if ALL the elements of the row (in 3D) are equal to zero.
The code I have at the moment is:
Array =…