Add new Function CmpId(n) the index of the component under calculation
MathMod - https://sourceforge.net/p/mathmod/tickets/94
Authored by: virtualmeet 2018-02-10
Parent: [r475]
Child: [r477]