if (FALSE) {
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
}
Run the code above in your browser using DataLab