# 2.2.35 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); 

## 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.