WOLFRAM SYSTEM MODELER
scalarProductScalar product of two complex vectors c1 and c2 |
SystemModel["Complex.'ast'.scalarProduct"]

This information is part of the Modelica Standard Library maintained by the Modelica Association.
This function returns the scalar product of two given vectors of Complex numbers of length n.
c3 = sum(conj(c1[k]) * c2[k] for k in 1:n)
c3 = scalarProduct(c1, c2)
| c1 |
Type: Complex[:] Description: Vector of Complex numbers 1 |
|---|---|
| c2 |
Type: Complex[size(c1, 1)] Description: Vector of Complex numbers 2 |
| c3 |
Type: Complex Description: Scalar product of c1 and c2 |
|---|
c1. This issue is fixed based on #1260.