{"title":"Math Formula (Variable)","nodeType":"Manipulator","id":"*-PBwCzm6eyeiZ2nd","factoryName":"org.knime.ext.jep.variable.JEPVariableNodeFactory","factoryId":"org.knime.ext.jep.variable.JEPVariableNodeFactory","path":["Workflow Control","Variables"],"owner":"knime","ownerAccountId":"account:team:b5f0848f-496d-4e6a-b869-fa3532248db7","description":"<p>This node is superseded by the &#34;Variable Expression&#34; node. We advise to use the &#34;Variable Expression&#34; node instead of this node.</p>\n            \t\t\t\n            <p>This node evaluates a (free-form) mathematical expression based on the values of the flow variables. The computed results can be either appended as new variable or be used to replace an input variable. 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) and <i>e</i> (the base of the natural logarithms).</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>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>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 variable or replacing an input variable.","keywords":[],"deprecated":false,"streamable":false,"tags":["Workflow Control","Variables"],"icon":"data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAABAAAAAQCAYAAAAf8/9hAAAABHNCSVQICAgIfAhkiAAAAOtJREFUOI2F0yFSBDEQBdCXWQQCcCg0EgwSictUcS/OABaJonYNFoXaKjgAnAIDBLGT3dmhs/yqiCTdv//vTpIYJThLUeBeg0ApG46UwlzQ/Zcc7SOCuZHsWnFSuVjZ2GKrFrKNx5JzXgf0fT8tuBiR/WFMK8Wh/7GcNUE3umh3agfCJlbZKSU5Z4OlWnUe5UzbXAYfpWIUsxW7c4yT8YVWu+hw+nCG/Q2ecDTk3eEtVFCT6hrwgBNc4RQXuG095WgiB3jFJY4xw2LWUhDgB4e4xhnecd+0EOALL0Plczzis/kbG/jAM/axxPcvl4NEvXwMxuAAAAAASUVORK5CYII=","views":[],"inPorts":[{"objectClass":"org.knime.core.node.port.flowvariable.FlowVariablePortObject","color":"ff4b4b","dataType":"Flow Variable","optional":true,"name":"Input Variables","description":"(Optional) input variables"}],"outPorts":[{"objectClass":"org.knime.core.node.port.flowvariable.FlowVariablePortObject","color":"ff4b4b","dataType":"Flow Variable","optional":false,"name":"Output variables","description":"Input variables with the new or replaced output variable."}],"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":"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 Variable","description":"The name of the variable to append.","optional":false},{"name":"Replace Variable","description":"The variable 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":[{"text":"KNIME Documentation: Creation and usage of flow variables in a KNIME workflow","url":"https://docs.knime.com/ap/latest/analytics_platform_flow_control_guide/#flow-variables"}],"kudos":[],"kudosCount":0,"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":"*jd2U-FYTI8jCbQls","factoryName":"org.knime.base.node.preproc.filter.row.RowFilterNodeFactory","probability":0.0896358543417367},{"id":"*-PBwCzm6eyeiZ2nd","factoryName":"org.knime.ext.jep.variable.JEPVariableNodeFactory","probability":0.06162464985994398},{"id":"*iwDu8kKWK5YB0F_q","factoryName":"org.knime.base.node.util.mergevariables.MergeVariablesNodeFactory","probability":0.058823529411764705},{"id":"*FWPUBvMqqD1vL-Pe","factoryName":"org.knime.base.node.preproc.stringmanipulation.variable.StringManipulationVariableNodeFactory","probability":0.0392156862745098},{"id":"*OshYFdKBD8-peyFW","factoryName":"org.knime.base.node.switches.startcase.StartcaseNodeFactory","probability":0.036414565826330535},{"id":"*Q-yW-3C9DumtInuz","factoryName":"org.knime.base.node.rules.engine.RuleEngineFilterNodeFactory","probability":0.03081232492997199},{"id":"*2fI5rIsFDCFPHc0R","factoryName":"org.knime.ext.jep.JEPNodeFactory","probability":0.028011204481792718},{"id":"*zpGPAjDyExkFL2HB","factoryName":"org.knime.base.node.rules.engine.RuleEngineNodeFactory","probability":0.025210084033613446},{"id":"*7jX4nMXFt_dYSgYQ","factoryName":"org.knime.base.node.meta.looper.condition.LoopEndConditionNodeFactory","probability":0.022408963585434174},{"id":"*_1IhL6RPLqPwFtkF","factoryName":"org.knime.base.node.rules.engine.RuleEngineVariableNodeFactory","probability":0.0196078431372549}]}
