@seqm |

Vector containing geometric sequence.

Syntax: @seqm(d1, d2, n)

d1: number

d2: number

n: integer

Return: vector

Returns a vector holding a geometric sequence of n elements. The initial element has value d1, and the ratio between each subsequent element and its predecessor is d2.

Examples

vector v1 = @seqm(1, 2, 10)

creates a V1, a 10-element vector with first element 1, and each subsequent element representing a power of 2.

Cross-references