Just an idea for equations

Discussion about CodeLite development process and patches
nezos
CodeLite Veteran
Posts: 59
Joined: Wed Dec 31, 2014 6:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Just an idea for equations

Post by nezos » Thu Jun 25, 2015 8:47 pm

I had an idea which i haven't seen in other IDEs. Would be possible to add mathematical equations inside commented lines (comments)?

User avatar
eranif
CodeLite Plugin
Posts: 6110
Joined: Wed Feb 06, 2008 9:29 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Just an idea for equations

Post by eranif » Thu Jun 25, 2015 10:00 pm

I am not sure I follow.. can you
elaborate?
Make sure you have read the HOW TO POST thread

nezos
CodeLite Veteran
Posts: 59
Joined: Wed Dec 31, 2014 6:36 pm
Genuine User: Yes
IDE Question: C++
Contact:

Re: Just an idea for equations

Post by nezos » Fri Jun 26, 2015 12:59 am

Suppose you are a scientist and your code involves many equations/formulas. On every line you would need to add a reference to a book like for example
//page 5 in 'book title'

or in an awkward way write:
//y=a^2+b^2*x (simple equation)

Wouldn't it be nice to see the equation written like in word equation editor, mathtype or latex?

This would help a lot, especially in complex equations where it is very difficult to read something like SumOf(k*Pn(cos(theta) + n*322.4^n) for n=2 to 180.

Post Reply