sum

Return sum of complex vector

Information

This information is part of the Modelica Standard Library maintained by the Modelica Association.

This function returns the Complex sum of the Complex input vector

Syntax

result = sum(v)

Inputs (1)

v

Type: Complex[:]

Description: Vector

Outputs (1)

result

Type: Complex

Description: Complex sum of vector elements