commands → concatenate

concatenate(X,i)

The concatenate command allows you to programatically create variables Xi where X is a variable and i is a non-negative integer.

Examples

# generate a polynomial in 10 variables
for (f=0, i=0; i < 10; i=i+1) f = f + concatenate(x,i);
f;
	x9+x8+x7+x6+x5+x4+x3+x2+x1+x0