Post Reply 
from hp50g expression 2 latex
06-23-2015, 02:09 PM
Post: #17
RE: from hp50g expression 2 latex
Hey LaTeX fans,

now I implemented into my little package the support for 2-, 3 dim vectors, 2x2 and 3x3 matrices. That wasn't easy, because with the hp 50g you can't put an vector or matrix into an algebraic expression (you only can put algebraic expressions for components of vektors or matrices). The object vektor or matrix is a kind of superior stucture. So I created the program V->F which transformed a vector or matrix in a function i. e.: [ 1 A ] becomes O2(1;2) or for [[1 0] [2 A]] you get M2(1;0;2;A).

The function O2, O3, M2 or M3 doesn't exist (they aren't defined), but you can build algeraic expressions in your hp 50g i. e.: 'O2(3;B)+O2(-2;3*B)'. With normal vector representation you cannot do that when you put [ 3 'B' ] on stack 2 and [ - 2 '3*B' ] on stack 1 and press "+" you get immediately [ 1 '4*B' ]. On the other hand the hp 50g will never perform the addition of two non defined functions, but the hp 50g is mighty: 'O2(3;B)+O2(3;B)' is reduced to '2*O2(3;B)' if you press EVAL.

With the functional representation you can build nested vectors or matrices and a lot of more astonishing: LaTeX accepts this (we are not asking for wether it is useful or not). The whole package is in the subforum HERE post #3
Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
from hp50g expression 2 latex - peacecalc - 05-23-2015, 01:35 PM
RE: from hp50g expression 2 latex - Gilles - 05-27-2015, 09:24 PM
RE: from hp50g expression 2 latex - pier4r - 03-25-2017, 09:51 PM
RE: from hp50g expression 2 latex - peacecalc - 06-23-2015 02:09 PM
RE: from hp50g expression 2 latex - pier4r - 02-19-2017, 07:59 PM



User(s) browsing this thread: 1 Guest(s)