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
{{ message }}
Repository navigation
Commit d958901
Browse filesBrowse the repository at this point in the historyBrowse files
Rename Latexise to Latexize, so the library has one spelling
`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 spelled
American, one British. Everything else public is `-ize`: `Stringize`,
`Factorize`, `Serialize`, `Deserialize`. `Latexise` and `ILatexiseable` were
the only members a caller had to remember the other spelling for.
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++ wrapper's
`Entity::Latexise`, the F# `latexise`, and the notebook extension. No
forwarding member is left behind -- this release removed 28 members that
accumulated exactly that way, so adding a permanent one here would undo that.
`Sources/Samples/SampleNet5` is deliberately untouched: it compiles against
`PackageReference AngouriMath 1.4.0`, not against this source, so the old
name is correct there until it is repointed at 2.0.
`MathS.Quantum.Factorise` keeps its spelling. Renaming it to `Factorize`
would give the library two unrelated public `Factorize` methods, which is
worse than the inconsistency; it wants a distinguishing name instead, and
that is not decided here.
Also corrects a claim in BREAKING-CHANGES.md that nothing parses LaTeX.
CSharpMath does, which is what #822
established and what AGENTS.md already says.
Co-Authored-By: Claude Opus 5 (1M context) <noreply@anthropic.com>
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