@sym
: symprod (f, n, a, b) ¶@sym
: symprod (f, n, [a b]) ¶@sym
: symprod (f, a, b) ¶@sym
: symprod (f, [a b]) ¶@sym
: symprod (f, n) ¶@sym
: symprod (f) ¶Symbolic product.
The product of the expression f as variable n changes
from a to b. When n is omitted it is determined
using symvar
and defaults to x
if f is
constant. The limits a and b default to 1
and
n respectively.
Examples:
syms n m x symprod(sin(n*x), n, [1 3]) ⇒ (sym) sin(x)⋅sin(2⋅x)⋅sin(3⋅x) symprod(n, n, 1, m) ⇒ (sym) m!
Unevaluated product:
syms x m symprod(sin(x), x, [1 m]) ⇒ (sym) m ─┬─┬─ │ │ sin(x) │ │ x = 1
See also: @sym/symsum, @sym/prod.
Package: symbolic