Bug 161464 - RFE sm node support for Synthetic Division notation
Summary: RFE sm node support for Synthetic Division notation
Status: UNCONFIRMED
Alias: None
Product: LibreOffice
Classification: Unclassified
Component: Formula Editor (show other bugs)
Version:
(earliest affected)
Inherited From OOo
Hardware: All All
: medium enhancement
Assignee: Not Assigned
URL: https://en.wikipedia.org/wiki/Synthet...
Whiteboard:
Keywords:
Depends on:
Blocks: Formula-Editor
  Show dependency treegraph
 
Reported: 2024-06-07 21:03 UTC by thecooperativeproject
Modified: 2024-06-24 14:41 UTC (History)
4 users (show)

See Also:
Crash report or crash signature:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description thecooperativeproject 2024-06-07 21:03:39 UTC
I would like to request that a Libre Math formula layout be created for synthetic division. 

Reference:
https://en.wikipedia.org/wiki/Synthetic_division

It should look something like this but with the left and bottom line being joined and solid. Generally there is a little down arrow underneath the first coefficient in the top line.

f(x)= 2x^4 + 3x^2 + 5x + 1 / (x-2)

2 | 2  0  3  5  1
  |    4  8 22 54
  ----------------
    2  4 11 27 55

That gives 2x^3 + 4x^2 + 11x + 27 with a remainder of 55.

It would be nice if there was a way to do long polynomial division as well. That would likely be a lot trickier to implement though. 

Thank you
Comment 1 V Stuart Foote 2024-06-09 10:57:17 UTC
Not clear that MathML support directly, seems to use array of | and returns for the verticals and a hline to close. But if we implement a suitable sm node expect it would need to transform on export to follow the MathML practices.
Comment 2 Stéphane Guillou (stragu) 2024-06-24 11:36:48 UTC
Regina and Khaled, would be interested to hear you thoughts on this enhancement request.
Comment 3 Regina Henschel 2024-06-24 14:41:35 UTC
ODF uses MathML 2.0. We need at least how the requested layout is written in MathML 2.0 before we can think about a way to define a new StarMath markup. So the reporter should provide an MathML 2.0 example.