TimesBy

x*=c

multiplies x by c and returns the new value of x.

Details

Examples

open allclose all

Basic Examples  (1)

Scope  (3)

Multiply by a numerical value:

Multiply by a symbolic value:

Multiply all values in a list by a scalar:

Multiply all values in a list by another list:

Applications  (1)

Find the first power of two above one million:

Properties & Relations  (2)

TimesBy is a short form of this assignment:

DivideBy is closely related:

Possible Issues  (1)

A variable to be multiplied must have an initial value:

Introduced in 1988
 (1.0)