as_complex: Converting to complex by casting dim into real/imaginary

View source: R/helper_functions.R

as_complexR Documentation

Converting to complex by casting dim into real/imaginary

Description

Converting to complex by casting dim into real/imaginary

Usage

as_complex(x, .margin = 2)

Arguments

x

an object of class matrix or array.

.margin

the dimension to interpret as real and imaginary numbers

Value

complex vector, matrix, or array


Almond-S/manifoldboost documentation built on June 23, 2022, 11:06 a.m.