This is documentation for Mathematica 8, which was
based on an earlier version of the Wolfram Language.
View current documentation (Version 11.2)

TimesBy


multiplies x by c and returns the new value of x.
  • is equivalent to .
In[1]:=
Click for copyable input
Out[1]=
In[2]:=
Click for copyable input
Out[2]=
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:
Find the first power of two above one million:
TimesBy is a short form of this assignment:
DivideBy is closely related:
A variable to be multiplied must have an initial value:
New in 1