Perform simple arithmetic on two complex numbers
1. vcmath2 ix1:=Col(1) ix2:=Col(2) op:=div;
Please refer to the page for additional option switches when accessing the x-function from script
| Display Name |
Variable Name |
I/O and Type |
Default Value |
Description |
|---|---|---|---|---|
| Input | ix1 |
Input vector<complex> |
|
Specifies the first complex number. The real and imaginary parts of the complex number can be saved in different columns or in the same column. |
| Input | ix2 |
Input vector<complex> |
|
Specifies the second complex number. The real and imaginary parts of the complex number can be saved in different columns or in the same column. |
| Operation | op |
Input int |
|
Operations:
|
| Output | ox |
Output vector<complex> |
|
Specifies the output column. |
Given two complex numbers:
, and
.Operations are:
Addition:

Subtraction:

Multiplication:

Division:

Keywords:calculation