View Full Version : LaTeX Computations?

May 2nd, 2007, 03:11 PM
If this has already been invented, I've had a hell of a time trying to find it...

Wouldn't it be great to combine the abilities of two software packages, say LaTeX and Octave, to aid in computing stuff? This would be something analogous to the functionality of MathCad. So if I typed something like

A = [1, 2, 3 ; 2, -1, 1 ; 3, 0, 1 ];
B = [ 9; 8; 3 ];
X = (A^-1)*B

then automatically my dvi/ps/pdf file would contain the output corresponding to

X=\left( 2 \\ -1 \\ 3 \right)

Pardon any syntax errors; point them out if needed; I don't have a TeX compiler available at this particular moment.

May 2nd, 2007, 03:50 PM
If you done have latex installed then do:

sudo apt-get install tetex-dev

That'll put everything you need on your pc. The check out
for documentation

May 2nd, 2007, 03:55 PM
I meant I'm on a Win box (no linux) on a corporate machine (no installations allowed). I have a great tetex installation on my home pc. :lolflag: