Next: 6.3.1.0.6 Fortran variables with
Up: 6.3.1 Using Intersci
Previous: 6.3.1.0.4 Description of the
6.3.1.0.5 Dimensions of non scalar variables
When defining non scalar Scilab variables (vectors, matrices, polynomials and
character strings) dimensions must be given. There are a few ways to do that:
- It is possible to give the dimension as an integer (see 6.3.1).
- The dimension can be the dimension of an input argument of Scilab function. This dimension is then denoted by a formal name (see 6.3.1).
- The dimension can be defined as an output of the Fortran subroutine.
This means that the memory for the corresponding variable is allocated by the
Fortran subroutine. The corresponding Fortran variable must necessary have an
external type (see 6.3.1 and 6.3.1).
Intersci is not able to treat the case where the dimension is an algebraic
expression of other dimensions. A Scilab variable corresponding to this value
must defined.
Next: 6.3.1.0.6 Fortran variables with
Up: 6.3.1 Using Intersci
Previous: 6.3.1.0.4 Description of the
Scilab Group