Matrix software for the 41



#10

I've not been doing matrix calculations since uni, but I'm wondering about your viewpoint on which module provides the best tool set to handle matrices. We have the Advantage module, the CCD Rom, the PPC and others. Anyone up for a short review of this?


#11

The Advantage module includes the CCD module Matrix functions,

plus some more, and both can of course handle matrices in X-Memory.

The Advantage module has some more math oriented functions than the CCD module,

whereas the CCD module covers some other topics, like OS extensions, FOCAL program manipulation, etc.

A good combination would be the Advantage module and my CCD OS/X ;-)

HTH

Raymond


#12

I agree with Raymond, the Advantage's implementation is better - just because they (legally) copied the CCD's from the scratch. They (HP, that is) also added a few important utilities also in MCODE, which were sorely missing in the CCD.

In fact a Matrix-less version of the CCD Module is what I decided to do once the superiority of the Advantage in this area was clear. I took them all off and replaced them with more general-purpose functions, in an 8k module - the "Modified CCD", also at TOS.

Raymond's OS/X is of course an absolute must to have on every system, a 4k jewel with all the great OS extensions from the CCD.

I wrote a few more matrix routines using the Advantage and the Sandmath functions, they may be interesting to you as well. They're in the upper 4k of the SandMath_3 module, available at TOS. One of them I fondly remember was a brute-force eigenvalues solver using the Advantages SOLVE function, where the characteristic equation to solve involves of course calculating the determinant on each iteration... fun to watch.

Best,
'AM

#13

Quote:
A good combination would be the Advantage module and my CCD OS/X ;-)

... which incidentally is my favorite setup (CCD OS/X, ICEBOX, Advantage on a NoV-64) - but not because of the matrix functions. According to you guys I should be well set to dive into matrices once again. I should have a look at the eigenvalues solver - maybe port it to another module (ICEBOX) to not use to much memory space with the full Sandbox.


#14

Hi Geir,

The Eigenvalue solver (as well as many routines called by it and math programs) is not on the SandBox, but on the SandMath_3 - so porting it to the ICEBOX doesn't seem to be a good game plan.

There are a couple of programs in the SandMath_3 (not Valentin's) that really don't live up to the noble goal of being superb, so maybe you've got some of that kind to add to it - it'll be good. MCODE better, but not required :)

Best,

AM


#15

I will look in to this (but don't hold your breath :)

On another note, it would be great if you could help me out on filling in the blanks of the ICEBOX manual: ICEBOX page

#16

Hi, Geir Isene:

    You may also want to download and have a look at my 9-page article Long Live the Advantage ROM! in PDF format, which reviews its most important features and includes a sample program utilizing to the fullest some of them.

    It will probably give you a fair idea of what it is, what it can do, and its programming style.

Best regards from V


#17

Indeed Valentin's excellent program showcases the Advantage prowess at matrix crunching..

Just to mention that it *is* also included into the SandMath_3 rom, under the POLFIT name. - so you won't have to type it in :-)

----------------

Here's the listing of the EIGEN program for your enjoyment - don't forget it's a brute-force approach, so you won't find math artistry in here... yet it's below 40 program steps.

The idea is simply to apply the definitions: solve for x so that Det([A]-x[I])= 0; where [I] is the identity matrix of same order as [A].

01 LBL "EIGEN"
02 "ORDER=?"
03 PROMPT
04 E
05 E3/E+
06 *
07 "AA"
08 MATDIM
09 XROM "IMR
10 DIM?
11 "!!"
12 MATDIM
13 LBL 00
14 "LOW'VAL=?"
15 PROMPT
16 "HI'VAL=?"
17 PROMPT
18 "SOLVING…"
19 AVIEW
20 "*VP"
21 SOLVE
22 TONE 4
23 "VP="
24 ARCL X
25 PROMPT
26 GTO 00
27 LBL "*VP"
28 STO 00
29 "!!"
30 XROM "MIDN"
31 RCL 00
32 "X"
33 MAT*
34 "!!,AA,!!"
35 MAT-
36 "!!"
37 MDET
38 END

Best,
ÁM


Edited: 22 May 2009, 9:43 a.m.

#18

Quote:
You may also want to download and have a look at my 9-page article Long Live the Advantage ROM! in PDF format, which reviews its most important features and includes a sample program utilizing to the fullest some of them.
It will probably give you a fair idea of what it is, what it can do, and its programming style.

Now, that's a great article. Thank you very much.


Possibly Related Threads...
Thread Author Replies Views Last Post
  AFTER HP-Prime update, Shift+Matrix CRASHES Joseph Ec 3 1,048 12-06-2013, 11:06 AM
Last Post: Joseph Ec
  Hook-µP software by Rush Systems Lute Kamstra 5 1,176 11-29-2013, 01:30 AM
Last Post: Lute Kamstra
  HP Prime Matrix TERRIBLE bug and question uklo 19 2,635 11-25-2013, 12:10 PM
Last Post: Mic
  HP Prime: editing a matrix Alberto Candel 6 1,189 11-20-2013, 06:26 PM
Last Post: Helge Gabert
  Absolute Value and Matrix BruceTTT 5 1,100 11-11-2013, 11:52 PM
Last Post: Walter B
  Prime: Pedagoguery Software pop up banner Matt Kernal 1 698 10-20-2013, 01:54 AM
Last Post: Mic
  latest prime software release? Geoff Quickfall 3 877 10-12-2013, 03:53 PM
Last Post: Tim Wessman
  Does the HP Prime software only work with Win 7/ 8 ? Michael de Estrada 3 930 10-12-2013, 02:52 PM
Last Post: John Ioannidis
  Prime Software Buttons kris223 2 681 09-21-2013, 08:19 PM
Last Post: Jonathan Cameron
  WP-34S Matrix operations with routine-local registers? Tom Grydeland 1 610 09-04-2013, 10:46 AM
Last Post: Marcus von Cube, Germany

Forum Jump: