Skip to contents

Multiplicative reductions of an expression.

Usage

sd_prod(c)
sd_prod_axis_zero(c)
sd_prod_axis_one(c)

Arguments

c

an expression handle.

Value

An expression handle.

Details

sd_prod

product of all entries.

sd_prod_axis_zero

column-wise products (reduce down rows).

sd_prod_axis_one

row-wise products (reduce across columns).

The argument must be a variable (sd_variable), not a composite expression: the engine differentiates the product of a variable only. A composite argument is an error.