2.2.37 vri2c

Brief Information

Construct a complex vector from real and imaginary parts

Command Line Usage

1. vri2c rv:=col(1) iv:=col(2);

2. vri2c rv:=col(1) iv:=col(2) cv:=col(3);

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
Real rv

Input

vector

<active>

Specifies the input vector that has the real parts of the complex numbers.

Imaginary iv

Input

vector

Specifies the input vector that has the imaginary parts of the complex numbers.

Complex cv

Output

vector<complex>

<new>

Specifies the output vector for the complex numbers.

Description

The vri2c function constructs a complex vector from the real parts and imaginary parts of the complex numbers.

Related X-Functions

vc2ri, vap2c, mri2c