Empty Arrays


Empty arrays can function as a kind of null element for certain general operations such as concatenation operations or general formulations of certain kinds of equation systems. An empty array can not be constructed by { } or [ ]. Instead an empty array is created using some other constructor from which the type can be deduced, or explicilty declared as a variable. Array variables of unspecified size can be set equal to or assigned empty array values.


1 Empty Arrays


1.1 Simulation of Empty


2 Adding Empty Arrays


2.1 Simulation of AddEmpty


3 Using Empty Arrays

The ABCDsystem model below shows how the equation section will shrink to y = D*u when some variables are empty arrays.



3.1 Simulation of ABCDsystem




Take a look at the results at time=0: