You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Rename Latexise to Latexize, so the library has one spelling (#840) (#842)
Stringize and Latexise do the same kind of thing, are declared next to each
other and are overridden per node in the same files -- one American, one
British. Everything else public is -ize: Stringize, Factorize, Serialize,
Deserialize.
Renamed across every surface the name reaches: the method and its 61
overrides, ILatexiseable, the string extension, MathS.Latex's parameter, the
native entry point entity_latexise, the C++ Entity::Latexise, the F#
latexise, and the notebook extension. No forwarding member is left behind.
Sources/Samples/SampleNet5 keeps the old name deliberately: it compiles
against PackageReference AngouriMath 1.3.0, not against this source.
MathS.Quantum.Factorise keeps its spelling; renaming it to Factorize would
give the library two unrelated public Factorize methods. It needs a
distinguishing name instead, which is
#843.
Also corrects a claim in BREAKING-CHANGES.md that nothing parses LaTeX, and
regenerates the PublicApi.txt baseline that
#841 introduced.
reads LaTeX back into an `Entity`, and says so in its own source: *"CSharpMath must handle all LaTeX
98
-
coming from AngouriMath or a bug is present!"* So a change to what `Latexise` emits — a new node, a
98
+
coming from AngouriMath or a bug is present!"* So a change to what `Latexize` emits — a new node, a
99
99
different command, a changed bracketing — can break a downstream project, and no test here will say
100
100
so.
101
101
102
102
That is weaker than `Stringize`'s contract, not stronger. `StringizeRoundTripTest` fails in this
103
103
repository the moment the printed form stops parsing; the LaTeX contract fails as a bug report from
104
-
someone else, months later. When you change `Latexise` output, check it against CSharpMath and open
104
+
someone else, months later. When you change `Latexize` output, check it against CSharpMath and open
105
105
a PR there as well ([#822](https://github.com/asc-community/AngouriMath/issues/822)).
106
106
107
107
The syntax the parser accepts is written down in
@@ -217,7 +217,7 @@ the *basis* is, and it is made differently on purpose:
217
217
218
218
|| basis | why |
219
219
|---|---|---|
220
-
| quantum |`Entity`-backed | the state is then an ordinary expression, so `Simplify`, `Substitute`, `Latexise` and the rest work on it without anything being taught about quantum |
220
+
| quantum |`Entity`-backed | the state is then an ordinary expression, so `Simplify`, `Substitute`, `Latexize` and the rest work on it without anything being taught about quantum |
221
221
| polynomials, series | a generic `TBasis` struct | exponent vectors never enter the expression tree, and the internal layers stay allocation-free and type-safe |
222
222
223
223
One generic spine, instantiated twice. That is less tidy than picking a single answer, and the
Copy file name to clipboardExpand all lines: Sources/AngouriMath/Docs/Contributing/AddingNode.cs
+1-1Lines changed: 1 addition & 1 deletion
Original file line number
Diff line number
Diff line change
@@ -30,7 +30,7 @@
30
30
/// 3. A few essential methods
31
31
/// a. InnerEval and InnerSimplify (<see cref="AngouriMath.Entity.Sinf.InnerEval"/> for numerical and <see cref="AngouriMath.Entity.Andf.InnerEval"/> for boolean)
32
32
/// b. Stringize (<see cref="AngouriMath.Entity.Sinf.Stringize"/>) (and tests to CircleTest.cs)
33
-
/// c. Latexise (<see cref="AngouriMath.Entity.Sinf.Latexise"/>) (and tests to LatexTest.cs)
33
+
/// c. Latexize (<see cref="AngouriMath.Entity.Sinf.Latexize"/>) (and tests to LatexTest.cs)
34
34
/// d. Limit computation (<see cref="AngouriMath.Entity.Sinf.ComputeLimitDivideEtImpera"/>) (and tests to LimitTest.cs)
35
35
/// e. Hash for sorting (<see cref="AngouriMath.Entity.Sinf.SortHashName"/>)
36
36
/// f. Default domain <see cref="AngouriMath.Entity.Sinf.Codomain"/>
0 commit comments