Learn R Programming

rkeops (version 2.2.2)

Conj: Element-wise complex conjugate operation

Description

Symbolic element-wise complex conjugate operation for ComplexLazyTensor objects or default element-wise complex conjugate operation otherwise.

Usage

Conj(z)

Value

See value of Conj.default() or Conj.LazyTensor().

Arguments

z

input for Conj.default() or Conj.LazyTensor().

Author

Chloe Serre-Combe, Amelie Vernay

Details

If z is a LazyTensor, see Conj.LazyTensor(), else see Conj.default().

See Also

Conj.default(), Conj.LazyTensor(), Re(), Im(), Arg(), Mod()

Examples

Run this code
if (FALSE) {
# R base operation
Conj(1)
Conj(1+1i)
# LazyTensor symbolic element-wise complex conjugate
z <- matrix(1i^ (-6:5), nrow = 4)                     # complex 4x3 matrix
z_i <- LazyTensor(z, index = 'i', is_complex = TRUE)  # ComplexLazyTensor
Conj_z_i <- Conj(z_i)                                 # symbolic matrix
}

Run the code above in your browser using DataLab