Indco: Difference between revisions
Jump to navigation
Jump to search
m (1 revision) |
m (1 revision) |
||
Line 1: | Line 1: | ||
= indco = | |||
Synopsis: indco(''integer'') = ''integer'' | Synopsis: indco(''integer'') = ''integer'' | ||
Revision as of 19:12, 28 January 2009
indco
Synopsis: indco(integer) = integer
For the distance restraint assignment with the given index, this function retuns either the number of assignments of the restraint that has the selected assignment as its first assignment, or, if the selected assignment is not the first assignment of an ambiguous distance restraint, the difference between the indices of the first assignment and of the selected assignment, a negative number.
For instance, for an ambiguous distance restraint with three assignments, the indco function will return 3 for the first assignment, -1 for the second assignment, and -2 for the third assignment. For unambiuously assigned distance restraints, the function retuns 1.