<< sym_getNumElements Symphony Native Functions sym_getObjCoeff >>

Symphony Toolbox >> Symphony Toolbox > Symphony Native Functions > sym_getNumVar

sym_getNumVar

To get the number of the variables of the current problem.

Calling Sequence

sym_getNumVar()

Description

This routine is used to get the number of the variables of the current problem.

Arguments

This function takes no arguments

Return value

If there was an error it prints error message to Scilab console and returns -1, else it returns a number ( >=0 ) as number of variables.

Examples

ans=sym_getNumVar()

Authors


Report an issue
<< sym_getNumElements Symphony Native Functions sym_getObjCoeff >>