INDCUM

Contents


indcum is the total index used by default in the sigma function.

 

Class, Type, and Dimension

[S]indcum Integer

 

Examples

   # 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)))

 

Description and Comments

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.

 

Associated Errors

 

No associated error

 

Associated Keywords

SIGMA


CONTENTS


Copyright © Sage 1999 - 2007