Symbolic element-wise argument (or angle) of complex operation for
LazyTensor objects.
Arguments
- z
A
ComplexLazyTensoror any type of values accepted by R defaultbase::Arg()function.
Details
If z is a ComplexLazyTensor, Arg(z) returns a
ComplexLazyTensor that encodes, symbolically, the element-wise imaginary
part of complex z.
Note: Arg(z) will exit with an error if z is a LazyTensor but not
a ComplexLazyTensor.
Examples
if (FALSE) {
z <- matrix(2 + 1i^ (-6:5), nrow = 4) # complex matrix
z_i <- LazyTensor(z, "i", is_complex = TRUE) # creating ComplexLazyTensor
Arg_z <- Arg(z_i) # symbolic matrix
}