HP -28S Quick Reference
Download Quick reference of HP HP-28S Calculator for Free or View it Online on All-Guides.com.
HP-28S
• 'Nam' {row col} X PUT puts the number X into the matrix named
Nam at position (row,col) and returns nothing.
Note that you cannot put a complex number into a real matrix!
Vector and matrix indices count from 1.
GET Inverse operation of PUT:
• V {idx} GET pushes the number at position idx in vector X onto the
stack.
• M {row col} GET pushes the number at position (row,col) in matrix
M onto the stack.
• 'Nam' {idx} GET pushes the number at position idx in vector named
Nam onto the stack.
• 'Nam' {row col} GET pushes the number at position (row,col) in
matrix named Nam onto the stack.
Vector and matrix indices count from 1.
PUTI This is similar to PUT but it does not discard the index value but rather
increments it (including row wrap) and returns it on stack level 1.
Example: V {idx} X PUTI puts the number X into vector V at position idx
and returns the modified vector (or its name) in level 2 and {idx+1} in level
1. This greatly simplyfies the input or modification of vectors and matrices.
GETI Reverse operation of PUTI.
Example: V {idx} GETI returns V (or its name) on stack level 3, {idx+1}
on stack level 2 and the retrieved number on stack level 1.
SIZE Returns the size of the specified vector as a length-1 list or the size of a
matrix as a length-2 list in {rows columns} format.
RDM Redimensions a matrix or vector. Added elements are set to 0. If the new
dimension is smaller than the original one then elements are discarded.
It is possible to redimension a matrix into a vector and a vector into a
matrix. Examples:
• [1] {2 2} RDM redimensions the vector V into a 2x3 matrix and
returns the resulting matrix on stack level 1: '[[1 0][0 0]]'
• 'Nam' {4} RDM redimensions the vector or matrix named Nam into a
length-4 vector and returns nothing.
TRN Transpose a nxm matrix into a mxn matrix.
When operating on a variable name the name is dropped from the stack.
For complex matrices the elements are also conjugated (imaginary part is
negated).
CON Create a "constant" matrix or vector where all elements have a specified
value.
• {3} 5 CON creates a length-3 vector with all elements set to 5.
• {2 3} 0 CON creates a 2x3 matrix with all elements set to 0.
• [1 2] 7 CON replaces all elements of the vector with value 7.
• 'Nam' 2 CON replaces all elements of the matrix or vector named Nam
with value 7 and returns nothing.
IDN Create an identity matrix (all elements 0 except for 1s in the diagonal).
• 5 IDN creates a 5x5 identity matrix
• [[1 2][3 4]] IDN sets elements of the square matrix to identity
matrix values.
• 'Nam' IDN sets elements of the square matrix named Nam to identity
matrix values and returns nothing.
9