Symbolic element-wise "complex exponential of 1j x" operation for
LazyTensor
object.
Details
exp1j(x)
returns a ComplexLazyTensor
that encodes, symbolically,
the multiplication of 1j
with x
.
Note: exp1j(x)
will exit with an error if x
is
a ComplexLazyTensor
.
Examples
if (FALSE) {
x <- matrix(runif(150 * 3), 150, 3) # arbitrary R matrix, 150 rows, 3 columns
x_i <- LazyTensor(x, "i") # creating LazyTensor from matrix x,
# indexed by 'i'
z <- exp1j(x_i) # ComplexLazyTensor object
}