Symbolic element-wise complex imaginery part operation for
ComplexLazyTensor
objects or default element-wise complex imaginery part
operation otherwise.
Arguments
- z
input for
Im.default()
orIm.LazyTensor()
.
Value
See value of Im.default()
or Im.LazyTensor()
.
Details
If z
is a LazyTensor
, see Im.LazyTensor()
, else
see Im.default()
.
Examples
if (FALSE) {
# R base operation
Im(1)
Im(1+1i)
# LazyTensor symbolic element-wise complex imaginery part
z <- matrix(2 + 1i^ (-6:5), nrow = 4) # complex matrix
z_i <- LazyTensor(z, "i", is_complex = TRUE) # creating ComplexLazyTensor
Im_z <- Im(z_i) # symbolic matrix
}