{"title":"Math Formula","nodeType":"Manipulator","id":"*2fI5rIsFDCFPHc0R","factoryName":"org.knime.ext.jep.JEPNodeFactory","factoryId":"org.knime.ext.jep.JEPNodeFactory","path":["Manipulation","Column","Convert & Replace"],"owner":"knime","ownerAccountId":"account:team:b5f0848f-496d-4e6a-b869-fa3532248db7","description":"<p>This node is superseded by the &#34;Expression&#34; node. We advise to use the &#34;Expression&#34; node instead of this node.</p>\n            \t\t\t\n            <p>This node evaluates a mathematical expression based on the values in a row. The computed results can be either appended as new column or be used to replace an input column. Available variables are the values in the corresponding row of the table (left list in the dialog). Commonly used functions are shown in the list &#34;Mathematical Functions&#34;. There are also some constants available, such as <i>pi</i> (the ratio of the circumference of a circle to its diameter), <i>e</i> (the base of the natural logarithms), the total number of rows in the table, and some other column based constants ( <tt>constant</tt> category of functions).</p>\n            \t\t\t\n            <p>This node uses <i>JEP</i> , the <a href=\"http://www.singularsys.com/jep/\" rel=\"ugc nofollow noopener noreferrer\"> Java Math Expression Parser</a> .</p>\n            \t\t\t\n            <p>Column based constants such as <i>COL_MIN(col_name)</i> will be calculated in advance (if necessary).</p>\n            \t\t\t\n            <p>You can reference the integer flow variables like this: <tt>$${IflowVar}$$</tt> , the floating point flow variables like this: <tt>$${DflowVar}$$</tt> .</p>\n            \t\t\t\n            <p>Reference the columns with the form: <tt>$colName$</tt></p>\n            \t\t\t\n            <p>When any of the used columns contains a missing value, the result is missing, just like when the result would be NaN, infinite value, or outside of the 32 bit signed integer range when that is requested.</p>\n            \t\t\t\n            <p>NaN values act as value true in boolean expressions and compared to anything (including NaN) in any way (including &#61;&#61;, but not !&#61;, which is like !(... &#61;&#61; ...)) is false (0).</p>\n            \t\t\t\n            <p><i>Please note the expressions are case sensitive.</i></p>\n            \t\t\n        \n        ","shortDescription":"Evaluates mathematical formula, appending result \n\t     as a new column or replacing an input column.","keywords":[],"deprecated":false,"streamable":true,"tags":["Manipulation","Column","Convert & Replace","Streamable"],"icon":"data:image/png;base64,iVBORw0KGg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kQxMUU1ODMwRUY2QkU2OERBRUYwNiIvPiA8L3JkZjpEZXNjcmlwdGlvbj4gPC9yZGY6UkRGPiA8L3g6eG1wbWV0YT4gPD94cGFja2V0IGVuZD0iciI/PmQCLJ0AAAD8SURBVHjavFPBCoMwDE3rRJwfoJ8wwYv34QcMPPuhY6ed9wOe/QlhBwvSLNVWXNaeNvYgtKZJfHlNBSIChxDi00mgWMF9BwiAF6ai3jgJX0L4WjAEQvFeBkRPkt1M72RLW0VR+LTZNHJ7afvVtFysSLM5bJpmCSjL8o2ZTbxuLG0LuDNI0xSHYUBcD7Gua3f2sIVOayquBVwRux6jKMI9kiTBLMuQ6TWbb98tSC6s1hqUUl5BfXPwjOMY+r6HqqqA2EDXdTBNkxswk3gmU5sGrIVl37btpoHD7nrvXg1c9jiOmOc5crA5ORrXbwYpNDB/eQvB1xj6I8dLgAEAUGCrOJayVDQAAAAASUVORK5CYII=","views":[],"inPorts":[{"objectClass":"org.knime.core.node.BufferedDataTable","color":"000000","dataType":"Table","optional":false,"name":"Input data","description":"Any input data"}],"outPorts":[{"objectClass":"org.knime.core.node.BufferedDataTable","color":"000000","dataType":"Table","optional":false,"name":"Output data","description":"Input data amended with math column."}],"dynInPorts":[],"dynOutPorts":[],"additionalSiteInformation":{"url":"https://update.knime.com/analytics-platform/5.12","trusted":true,"enabledByDefault":true,"name":"KNIME Analytics Platform 5.12 Update Site","version":"5.12.0"},"dialog":[{"fields":[{"name":"Column List","description":"Available numerical columns, which can be used as variables in the expression.","optional":false},{"name":"Flow Variable List","description":"Available flow variables, which can be used as variables in the expression.","optional":false},{"name":"Category","description":"The operator categories.","optional":false},{"name":"Function","description":"A list of valid operators in the selected category.","optional":false},{"name":"Description","description":"Short help about the operator.","optional":false},{"name":"Expression","description":"The mathematical expression editor. You have completion available.","optional":false},{"name":"Append Column","description":"The name of the column to append.","optional":false},{"name":"Replace Column","description":"The column to be replaced.","optional":false},{"name":"Convert to Int","description":"The result should be converted to an integer, or kept as a floating point number.","optional":false}]}],"links":[],"kudos":[{"accountId":"account:user:b7956cc9-3fc4-433f-a749-f47eb76f81b8","user":"pedromiguel","date":"2026-11-11T00:59:46+00:00"},{"accountId":"account:user:751e2226-1074-4bf6-b7af-29a0c091d977","user":"gimbo","date":"2021-02-19T09:16:40+00:00"},{"accountId":"account:user:b66b80cb-168a-43f9-9c13-6145ca14853c","user":"alaelbariguermi","date":"2026-08-28T17:40:56+00:00"},{"accountId":"account:user:498b0732-17cb-40a8-bc35-fccbe94ac93e","user":"nborbas","date":"2023-04-27T08:35:11+00:00"},{"accountId":"account:user:1a89b8de-a1af-46a8-a907-d520758b3d19","user":"lada","date":"2020-12-29T16:19:31+00:00"}],"kudosCount":5,"bundleInformation":{"bundleVersion":"5.12.0.v202605041104","bundleName":"KNIME Math Expression Node","bundleSymbolicName":"org.knime.ext.jep","bundleVendor":"KNIME AG, Zurich, Switzerland","featureSymbolicName":"org.knime.features.ext.jep","featureName":"KNIME Math Expression (JEP)","featureVersion":"5.12.0.v202605041104","featureVendor":"KNIME AG, Zurich, Switzerland","extensionId":"*_vR9ZVJpTksGsYWP"},"frequentSuccessors":[{"id":"*2fI5rIsFDCFPHc0R","factoryName":"org.knime.ext.jep.JEPNodeFactory","probability":0.12332195676905575},{"id":"*DOkyMaii62U05xZ1","factoryName":"org.knime.base.node.preproc.filter.column.DataColumnSpecFilterNodeFactory","probability":0.0823094425483504},{"id":"*ZgYyOm1P9VJVBE9e","factoryName":"org.knime.base.node.preproc.joiner.Joiner2NodeFactory","probability":0.07986348122866894},{"id":"*5stmXk6zY_ORA4bC","factoryName":"org.knime.base.node.preproc.groupby.GroupByNodeFactory","probability":0.07764505119453925},{"id":"*jd2U-FYTI8jCbQls","factoryName":"org.knime.base.node.preproc.filter.row.RowFilterNodeFactory","probability":0.05420932878270762},{"id":"*zpGPAjDyExkFL2HB","factoryName":"org.knime.base.node.rules.engine.RuleEngineNodeFactory","probability":0.04590443686006826},{"id":"*0rhLXWO6OS1xMi8T","factoryName":"org.knime.base.node.preproc.append.row.AppendedRowsNodeFactory","probability":0.030602957906712174},{"id":"*Q-yW-3C9DumtInuz","factoryName":"org.knime.base.node.rules.engine.RuleEngineFilterNodeFactory","probability":0.02633674630261661},{"id":"*PHWv6FsABEjrSc76","factoryName":"org.knime.base.node.preproc.rename.RenameNodeFactory","probability":0.023777019340159272},{"id":"*JiJhJpgkWWuOfG2s","factoryName":"org.knime.ext.poi2.node.write2.XLSWriter2NodeFactory","probability":0.021274175199089876}]}
