
5.5.3.10. NewPopVector Function
NewPopVector Function
Creates a new population vector.
Syntax
variableReference NewPopVector(doc, type)
Parameters
Parameter Type Description
doc documentReference Reference to the document.
type double if type = 0, all weights of the new vector are equal to
zero.
Returns
Returns a reference to the new vector.
Comments
None
Usage
NexScript
doc = GetActiveDocument()
doc.neuronAverage = NewPopVector(doc, 1)
See Also
Introduction to NexScript Programming
NexScript Function Categories
Page 176
Kommentare zu diesen Handbüchern