This is an old version, view current version.

7.7 Complex reductions

7.7.1 Sums and products

complex sum(complex_vector x)
The sum of the values in x, or 0 if x is empty
Available since 2.30

complex sum(complex_row_vector x)
The sum of the values in x, or 0 if x is empty
Available since 2.30

complex sum(complex_matrix x)
The sum of the values in x, or 0 if x is empty
Available since 2.30

complex prod(complex_vector x)
The product of the values in x, or 1 if x is empty
Available since 2.30

complex prod(complex_row_vector x)
The product of the values in x, or 1 if x is empty
Available since 2.30

complex prod(complex_matrix x)
The product of the values in x, or 1 if x is empty
Available since 2.30