Post Reply 
QPI: convert decimal to p/q, ln(p/q), p/q*pi, e^(p/q), or sqrt(p/q)
02-06-2015, 02:57 PM (This post was last modified: 02-06-2015 04:10 PM by salvomic.)
Post: #3
RE: QPI: convert decimal to p/q, ln(p/q), p/q*pi, e^(p/q), or sqrt(p/q)
Han, I like very much your program!
I'd use it almost everywhere...

It, however, should treat also matrices...
As I need this, I use QPI with this ancillary program, after your advice:

Code:

#cas
qpimat(m):=
BEGIN
local s:=dim(m);
m:=mat2list(m);
m:=QPI(m)
m:=list2mat(m,s(2));
return m;
END;
#end

Do you think to include some routine to handle matrices in your original program or it couldn't work in Home mode with "extension"?

Thank you a lot,
Salvo

***
P.S. a part of π, there is a way to rationalize also √π, π^2...?

∫aL√0mic (IT9CLU) :: HP Prime 50g 41CX 71b 42s 39s 35s 12C 15C - DM42, DM41X - WP34s Prime Soft. Lib
Visit this user's website Find all posts by this user
Quote this message in a reply
Post Reply 


Messages In This Thread
RE: QPI: convert decimal to p/q, ln(p/q), p/q*pi, e^(p/q), or sqrt(p/q) - salvomic - 02-06-2015 02:57 PM



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