Symbolic element-wise argument (or angle) of complex operation for
ComplexLazyTensor
objects or default element-wise argument (or angle) of
complex operation otherwise.
Arguments
- z
input for
Arg.default()
orArg.LazyTensor()
.
Value
See value of Arg.default()
or Arg.LazyTensor()
.
Details
If z
is a LazyTensor
, see Arg.LazyTensor()
, else
see Arg.default()
.
Examples
if (FALSE) {
# R base operation
Arg(1)
Arg(1+1i)
# LazyTensor symbolic element-wise argument (or angle) of complex
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
}