Real1 | Real2 | → | (Real1, Real2) |
Array1 | Array2 | → | Array3 |
Symbol1 | Symbol2 | → | Expression3 |
Expression1 | Expression2 | → | Expression3 |
This function takes two real values and returns a complex value. One real value is used as the real component of the complex result while the other real value is used as the imaginary component.
This operation can also take two real valued vectors or matrices and produce a complex valued vector or matrix. The two input arrays must be the same dimension. They must both be vectors or both be matrices. The input arrays must be real valued. The result will be a complex array where the real component of each value comes from Array1 and the imaginary component of each value comes from Array2.