This shows you the differences between two versions of the page.
documentation:ref:conjugate [2015/11/21 12:33] |
documentation:ref:conjugate [2015/11/21 12:33] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Conjugate ====== | ||
+ | ---- | ||
+ | |||
+ | ====Description==== | ||
+ | * ''Conjugate'' replaces all complex numbers in expression by their complex conjugations | ||
+ | ====Examples==== | ||
+ | <sxh groovy; gutter: false> | ||
+ | println Conjugate >> 'a + I*b'.t | ||
+ | </sxh> | ||
+ | <sxh plain; gutter: false> | ||
+ | > a - I*b | ||
+ | </sxh> | ||
+ | <sxh groovy; gutter: false> | ||
+ | println Conjugate >> '(a + I*b)*(c - I*d)'.t | ||
+ | </sxh> | ||
+ | <sxh plain; gutter: false> | ||
+ | > (a - I*b)*(c + I*d) | ||
+ | </sxh> | ||
+ | |||
+ | ====See also==== | ||
+ | * Related guides: [[documentation:guide:applying_and_manipulating_transformations]], [[documentation:guide:list_of_transformations]] | ||
+ | * JavaDocs: [[http://api.redberry.cc/redberry/1.1.9/java-api/cc/redberry/core/transformations/ComplexConjugateTransformation.html|ComplexConjugateTransformation]] | ||
+ | * Source code: [[https://bitbucket.org/redberry/redberry/src/tip/core/src/main/java/cc/redberry/core/transformations/ComplexConjugateTransformation.java|ComplexConjugateTransformation.java]] | ||