SED-ML / sed-ml

Simulation Experiment Description Markup Language (SED-ML)
http://sed-ml.org
5 stars 2 forks source link

What are the rules for interpreting aggregate mathematical functions (min, max, sum, product)? #152

Closed jonrkarr closed 3 years ago

jonrkarr commented 3 years ago

At first glance, the semantics of these functions seem unclear because it requires symbols do have different meaning depending on their context. Example:

<math xmlns="http://www.w3.org/1998/Math/MathML">
  <apply>
    <divide/>
    <ci> task1_____PX </ci>
    <apply>
      <csymbol definitionURL="http://sed-ml.org/#max" encoding="text">max</csymbol>
      <ci> task1_____PX </ci>
    </apply>
  </apply>
</math>

Questions

<math xmlns="http://www.w3.org/1998/Math/MathML">
    <apply>
      <csymbol definitionURL="http://sed-ml.org/#max" encoding="text">max</csymbol>
      <ci> task1_____PX </ci>
      <ci> task1_____PY </ci>
    </apply>
</math>
luciansmith commented 3 years ago

Fixed with https://github.com/SED-ML/sed-ml/commit/c1b1e9bb10043c0de8ffc20473c4ae289b9e9b3a