<< pyBuiltin Python Interaction Mechanism in Scilab pyDeff >>

Python Interaction Mechanism in Scilab >> Python Interaction Mechanism in Scilab > pyByCopy

pyByCopy

Enable/disable the copy of function arguments.

Calling Sequence

[isByCopy = ] pyByCopy([mustUseCopy])

Arguments

mustUseCopy

A boolean.

isByCopy

A boolean.

Description

When set to false, Numpy wrapping must be enabled with pyUseNumpy(%t).

By default all the Scilab data are copied in the Python environment. In setting byCopy to false, all the arguments (when it is possible) will be passed by reference in using a Numpy wrapping.

More information can be found in pyWrapAsRef.

See Also

History

VersionDescription
5.4.0 Python module.

Report an issue
<< pyBuiltin Python Interaction Mechanism in Scilab pyDeff >>