| NORSYS SOFTWARE © 2010 | NETICA API | C VERSION 4.18

void SetNthNode_bn ( | nodelist_bn* nodes, int index, node_bn* node )

Puts node at position index of list nodes without changing the length of the list.

If index is 0 the node is put at the beginning of the list, and if it is LengthNodeList_bn(nodes) - 1, the node will be put at the end.

If index is outside of these bounds, nodes will not be modified, and an error will be generated.

Version:

This function is available in all versions.

See also:

AddNodeToList_bn |  | Insert a node in a list, increasing its length
NthNode_bn |  | Retrieve the node at the given index
LengthNodeList_bn |  | Find maximum node index for SetNthNode_bn
DupNodeList_bn |  | To duplicate a list before modifying it