12-27-2013, 05:29 PM
So I'm pretty deep into a program that has some heavy matrix calculations at its core. I've coded the UI and the data structures and now I want to do the really simple part: the matrix math. Should be a piece of cake, right?
Except that nothing works because many of the matrix functions I need aren't available from HP PPL. Try to get this simple program to run:
EXPORT test()
begin
local m1,m2,m3;
print;
m1:=[[1,2],[3,4],[5,6]];
m2:=[[2,2],[2,2],[2,2]];
m3:= m1.*m2;
print("m3= ",string(m3));
end;
This won't even compile because the ".*" operator isn't part of HPPPL!!! Apparently, none of the functions in Bernard's CAS system are available.
Am I missing something? I never dreamed that the basic math functionality of the calculator wouldn't be available from a program.
Except that nothing works because many of the matrix functions I need aren't available from HP PPL. Try to get this simple program to run:
EXPORT test()
begin
local m1,m2,m3;
print;
m1:=[[1,2],[3,4],[5,6]];
m2:=[[2,2],[2,2],[2,2]];
m3:= m1.*m2;
print("m3= ",string(m3));
end;
This won't even compile because the ".*" operator isn't part of HPPPL!!! Apparently, none of the functions in Bernard's CAS system are available.
Am I missing something? I never dreamed that the basic math functionality of the calculator wouldn't be available from a program.