Matrices, tables and arrays are handled by an external library Nuiton-matrix.
A special version of the sparse matrix CSV format is used to import matrices, complete with their semantics.:
[dimension,dimension...] DefaultValue class:instance,instance... class:instance,instance... ... index1;...indexN;Value index1;...indexN;Value ...
For example:
[2,3] 0 Population:merluccius,nephrops Zone:zone_hake1,zone_hake2,zone_langust 0;0;42 1;2;24 1;0;0.5
This file defines three non-zero values for (merluccius,zone_hake1), (nephrops,zone_hake2) and (nephrops,zone_hake1) all the other cells having the default value (0).
The class and instances must correspond to existing objects.
The types may be Java classes
or ISIS-Fish classes
Each instance must be identified by its name. For example, the populations “merluccius” and nephrops should be declared as Population:merluccius,nephrops.
However, age and size groups do not have a name – they are identified by number (starting at 0). To identify a group, the population name must be suffixed by “+” and the group number: PopulationName+GroupNumber, e.g.:
PopulationGroup:nephrops+0,nephrops+1,nephrops+2,nephrops+3,nephrops+4,nephrops+5,nephrops+6