
Last chance! 50% off unlimited learning
Sale ends in
Symbolic element-wise argument (or angle) of complex operation for
ComplexLazyTensor
objects or default element-wise argument (or angle) of
complex operation otherwise.
Arg(z)
See value of Arg.default()
or Arg.LazyTensor()
.
input for Arg.default()
or Arg.LazyTensor()
.
Chloe Serre-Combe, Amelie Vernay
If z
is a LazyTensor
, see Arg.LazyTensor()
, else
see Arg.default()
.
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
}
Run the code above in your browser using DataLab