2.8.31 vcmath2

Brief Information

Perform simple arithmetic on two complex numbers

Command Line Usage

1. vcmath2 ix1:=Col(1) ix2:=Col(2) op:=div;

X-Function Execution Options

Please refer to the page for additional option switches when accessing the x-function from script

Variables

Display
Name
Variable
Name
I/O
and
Type
Default
Value
Description
Input ix1

Input

vector<complex>

<active>

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>

<unassigned>

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

Add

Operations:
Option list

  • Add:Add
    Addition
  • Sub:Subtract
    Subtraction
  • Mul:Multiply
    Multiplication
  • Div:Divide
    Division
Output ox

Output

vector<complex>

<new>

Specifies the output column.

Description

Given two complex numbers:

Vcmath2 help English files image002.gif, and Vcmath2 help English files image004.gif.

Operations are:

Addition:

Vcmath2 help English files image006.gif

Subtraction:

Vcmath2 help English files image008.gif

Multiplication:

Vcmath2 help English files image010.gif

Division:

Vcmath2 help English files image012.gif

Related X-Functions

vcmath1


Keywords:calculation