INDCUM |
indcum is the total index used by default in the sigma function.
[S]indcum Integer
# Sum of the integers from one (1) to N
SOMME_ENT = sigma(1, N, indcum)
# Sum of the square numbers of the integers from one (1) to N
SOMME_CAR = sigma(1, N, indcum*indcum)
# Embedding of Sums
SOMME_COMPLEXE = sigma(I = 1, N, sigma(J = 1, I,sigma(K = 1, J,K*K)))
When you use the sigma function with the following syntax:
sigma(beginning_index, ending_index, expression)
The expression is recalculated for indcum that varies by integers from one (1) to one (1) from the beginning_index value to the ending_index value, inclusive.
Syntax:
sigma(variable = beginning_index, ending_index, expression)
Allows you to use any of the user's variables as a loop variable This is also used to embed several sigmas recursively.
On the other hand, the sigma syntax that uses indcum is quicker in execution than the one that uses a variable.
No associated error
|
|