This shows you the differences between two versions of the page.
documentation:ref:numerator [2015/11/21 12:33] |
documentation:ref:numerator [2015/11/21 12:33] (current) |
||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Numerator ====== | ||
+ | ---- | ||
+ | ====Description==== | ||
+ | * ''Numerator'' gives the numerator of expression. | ||
+ | ====Examples==== | ||
+ | Extract numerator of a rational expression: | ||
+ | <sxh groovy;gutter: false> | ||
+ | println Numerator >> '(x - 1)*(x - 2)/(x - 3)**2'.t | ||
+ | </sxh> | ||
+ | <sxh plain; gutter: false> | ||
+ | > (x-1)*(x-2) | ||
+ | </sxh> | ||
+ | |||
+ | ====See also==== | ||
+ | * Related guides: [[documentation:guide:applying_and_manipulating_transformations]], [[documentation:guide:list_of_transformations]] | ||
+ | * Related transformations: [[documentation:ref:Denominator]] | ||
+ | * JavaDocs: [[http://api.redberry.cc/redberry/1.1.9/java-api/cc/redberry/core/transformations/fractions/GetNumeratorTransformation.html| GetNumeratorTransformation]] | ||
+ | * Source code: [[https://bitbucket.org/redberry/redberry/src/tip/core/src/main/java/cc/redberry/core/transformations/fractions/GetNumeratorTransformation.java| GetNumeratorTransformation.java]] | ||