Matrix Library



#2

Hi Marcus
I have found an error (finger trouble probably) in the matrix library - namely in wp34s-1.dat.
The first 'M-' label should read 'M-0'. The real 'M-' appears further down.
For Pauli - in the 'M-y' routine you execute a [cmplx]DROP, which does not leave
a descriptor on the stack. Should this not be just a DROP?
Regards John

BTW- Thanks for these routines. The LU routine (if included) would be great :)


Edited: 19 Oct 2011, 4:25 a.m.


#3

Quote:
I have found an error (finger trouble probably) in the matrix library - namely in wp34s-1.dat.

Won't be finger trouble -- these are generated by the assembler from the sources in the library. Still, the source only has one 'M-' label so something has gone awry.


Quote:
For Pauli - in the 'M-y' routine you execute a [cmplx]DROP, which does not leave a descriptor on the stack. Should this not be just a DROP?

The matrix descriptor is saved in L. The value on the stack isn't the descriptor anymore -- it is a loop index for ISG that has finished. Thus, complex DROP is correct here.


Quote:
BTW- Thanks for these routines. The LU routine (if included) would be great :)

The LU routine will be back if we can find enough space for the wrapper. We're working on it.


- Pauli


#4

Thanks Pauli, should have checked L - I just looked at the comments which said the descriptor was returned in X.
Thanks for the prompt response. I am really enjoying this calculator :)
Regards John


#5

There wasn't a comment on this routine about stack and register use????

I've added some clarification nonetheless. The documentation for these is in the doc directory.


- Pauli


#6

My apologies then, I mistook the comments above, applying to the functions below. Still love this wp34s - great effort and thanks!
Regards John

#7

Quote:
Still, the source only has one 'M-' label so something has gone awry.

This must have been my fault when changing names from M. to M- in the (wrong) hope that would ease the navigation of the built-in matrix commands in the catalogs. I assume it has been fixed by Pauli now.

#8

... and at least some of these routines/commands will be renamed soon.


Possibly Related Threads...
Thread Author Replies Views Last Post
  AFTER HP-Prime update, Shift+Matrix CRASHES Joseph Ec 3 712 12-06-2013, 11:06 AM
Last Post: Joseph Ec
  HP Prime Matrix TERRIBLE bug and question uklo 19 1,891 11-25-2013, 12:10 PM
Last Post: Mic
  HP Prime: editing a matrix Alberto Candel 6 745 11-20-2013, 06:26 PM
Last Post: Helge Gabert
  Absolute Value and Matrix BruceTTT 5 732 11-11-2013, 11:52 PM
Last Post: Walter B
  Library#4 Modules mass-update and New Overlays Ángel Martin 0 454 11-09-2013, 05:55 AM
Last Post: 'Angel Martin
  [HP Prime] Constants Library Values Timothy Roche 24 2,305 11-02-2013, 04:17 PM
Last Post: Les Koller
  [HP-Prime CAS] Vector Calculus Library CompSystems 7 966 10-31-2013, 12:48 PM
Last Post: Han
  Equation Library/App for the Prime Harold A Climer 3 584 10-30-2013, 10:14 AM
Last Post: CompSystems
  Equation Library on the PRIME Harold A Climer 0 335 10-26-2013, 10:01 AM
Last Post: Harold A Climer
  CASplus Library for HP-Prime CompSystems 1 411 10-05-2013, 12:44 AM
Last Post: CompSystems

Forum Jump: