Symbolic element-wise complex modulus (absolute value) operation for
ComplexLazyTensor objects.
Arguments
- z
A
ComplexLazyTensoror any type of values accepted by R defaultbase::Mod()function.
Details
If z is a ComplexLazyTensor, Mod(z) returns a
ComplexLazyTensor that encodes, symbolically, the element-wise conjugate of
complex z.
Note: Mod(z) will exit with an error if z is a LazyTensor but not
a ComplexLazyTensor.
Warning: Do not confuse with mod().
Examples
if (FALSE) {
z <- matrix(1i^ (-6:5), nrow = 4) # complex 4x3 matrix
z_i <- LazyTensor(z, index = 'i', is_complex = TRUE) # ComplexLazyTensor
Mod_z_i <- Mod(z_i) # symbolic matrix
}