Docs
NAME
createAbstractWeights - create object that represents an array of abstract weights
SYNOPSIS
function createAbstractWeights(count);
DESCRIPTION
The function is used to create an array of abstract weights with count elements.
RETURN VALUES
Upon successful completion, createAbstractWeights returns a unique id of newly created object. Otherwise, 0 is returned.
NOTES
Newly created weights have undefined values.
Don't forget to call closeId function to release the object when it is no longer needed.
EXAMPLES
To create 5 abstract weights:
weights = createAbstractWeights(5);