Vectors on 15c?


I know the 15c did matrices but could it do vector math as well. Or did it have to be programed to do the cross product, spherical, and angle between vectors?


Hi, Ron;

it may seem obvious, but if you are dealing with 2D vectors (plain), you can use some complex functions that will give equivalent NUMERICAL results. Just for the records: do you already use complex numbers in the HP15C?

If you are dealing with 3D vectors (as you mention spherical), I think some small programs would help.

What I am not sure is if some matrix operations could help if you consider [1×3] or [3×1] matrices as 3D vectors. I don't remember it well (it takes a long time since I needed it), but I think some matrix operations apply to 3D vectors and give numerical equivalent results as well. One of the contributors that has one of the deepest knowledge about the HP15C and applied math is Valentim. I know that others know it as well, but Valentim is always bringing some tricky challenges to this forum and his answers are quite clever and thoughtful.

For sure someone else will post something more. Sorry not helping that much.


Luiz (Brazil)


Ron --

No, unfortunately, the HP-15C did not have specific vector-calculus functions built in, as did the HP-42S. However, one could use the built-in matrix functions for performing dot product and angle between vectors of any dimension within memory limits:

  1. Load vectors into two (n x 1) row-vector matrices.
  2. "A dot B" (e.g.) would be ATB -- use "MATRIX 5".
  3. Angle between A and B would be cos-1 of ("A dot B" over the product of magnitudes of A and B) -- use "MATRIX 8" (Frobenius norm) to get the magnitudes.

Vector cross product could be calculated using built-in determinant function ("MATRIX 9") three times, but it would be faster and more space-efficient to calculate it directly from stored vectors. Use "RCL g {A-E}" and "STO g {A-E}".

Coordinate conversion would be a programming task. I'd recommend getting a HP-48* for that. (HP-41C* with Math Pac would also work.)

Possibly Related Threads...
Thread Author Replies Views Last Post
  HP 50g - question about matrices arrays vectors etc. Sean Freeman 6 1,038 11-14-2013, 01:44 PM
Last Post: peacecalc
  HP Prime SIZE and OBJ-> with matrices/vectors/lists Helge Gabert 8 1,095 09-27-2013, 05:44 PM
Last Post: Helge Gabert
  [HP-prime] Parallel Processing, vectors, matrices as a only data type =( CompSystems 1 475 08-08-2013, 04:48 PM
Last Post: peacecalc
  Original 15C Keyboard Test Works With 15C LE!!! DigiGal 5 970 09-26-2011, 07:33 PM
Last Post: M. Joury
  HP-41C/CV/CX Eigenvalues/Vectors help mbrethen 2 485 02-06-2011, 02:41 AM
Last Post: Ángel Martin
  Vectors on 35s reto 8 889 10-09-2007, 03:27 PM
Last Post: John Wasilewski
  HP-35S vectors Antonio Maschio (Italy) 5 680 07-16-2007, 10:51 AM
Last Post: Antonio Maschio (Italy)
  hp49g+ and vectors Chelsey 2 394 04-05-2006, 04:41 PM
Last Post: Vieira, Luiz C. (Brazil)
  eigen values and eigen vectors Lorena 2 463 11-17-2005, 07:28 PM
Last Post: I, Claudius
  Vectors addition on HP28S JuanMi 2 413 09-29-2004, 10:12 AM
Last Post: JuanMi

Forum Jump: