Symbolic computations in D

ryuukk_ ryuukk.dev at gmail.com
Sun Oct 29 10:44:03 UTC 2023


On Sunday, 29 October 2023 at 08:55:24 UTC, Dmitry Ponyatov wrote:
> Yesterday some student asked me about ability to make some dumb 
> symbolic computation in C++ the same like way as it looks in 
> the MathCAD or Maxima CAS, but run it compiled on a robot 
> platform in realtime.
>
> I have no idea about CAS design and internals, or any math at 
> all, but today I found some book:
> - _Tan Kiat Shi, Willi-Hans Steeb and Yorick Hardy_
> **SymbolicC++: An Introduction to Computer Algebra using 
> Object-Oriented Programming
> and**
> - **Computer Algebra with SymbolicC++**
>
> with the same autors (looka like an alias book from another 
> publisher)
>
> Maybe someone played in this topic, and can give some advice:
> is D language with its OOP without multiple inheritance and 
> maybe other semantic limitations able and good enough to be 
> used with these books mechanics?
>
> The theme looks complex off the shelf, and I'm not sure to 
> speak about D to this above student, especially I myself can't 
> help him anyway not knowing the language in deep.

This is sad that people recommend OOP for this

Julia doesn't have OOP and it took over, and that's what i'd 
recommend your students to check, C++ is a dead end, Julia it is 
for mathematical computing

If D had tagged union and pattern matching, it would be a great 
candidate to succeed in that field


More information about the Digitalmars-d-learn mailing list