Absolute Value and Matrix



#6

What does the absolute value do to a matrix argument? For a 2x2 identity matrix it returns the square root of 2. For [[2,0][0,2]] it returns 2 root 2.


#7

Frobenius norm perhaps?

Most likely one of the matrix norms.


- Pauli

#8

That's because it returns the Frobenius (Euclidean) norm of the matrix array, which is the square root of the sum of the squares of the matrix elements. So for a 2x2 identity matrix it's sqrt (1^2+1^2) = sqrt (2). In the special case of a 2D or 3D vector, the absolute value is interpreted as the magnitude or length of the vector.

Edited: 5 Nov 2013, 12:12 a.m.


#9

OK, thanks. Do you mean a 1D vector that || interprets as the norm? I see that [3 4] || returns 5.

Also, is there a LIST-> function?


#10

I meant a vector in 2D or 3D space, where the values are the coordinates. So it's a 1x2 or 1x3 matrix, which is commonly referred to as a vector. Regardless, it is the SRSS (square-root-of-the-sum-of-the-squares).

As to your second question I'm not sure what you are asking.

#11

Quote:
Do you mean a 1D vector that || interprets as the norm?

A 1xn or nx1 matrix is called a vector (of dimension n>1). FYI, a '1D vector' is a (scalar) number.

d:-)


Possibly Related Threads…
Thread Author Replies Views Last Post
  AFTER HP-Prime update, Shift+Matrix CRASHES Joseph Ec 3 2,071 12-06-2013, 11:06 AM
Last Post: Joseph Ec
  HP Prime Matrix TERRIBLE bug and question uklo 19 5,286 11-25-2013, 12:10 PM
Last Post: Mic
  HP Prime: editing a matrix Alberto Candel 6 2,385 11-20-2013, 06:26 PM
Last Post: Helge Gabert
  WP-34S Matrix operations with routine-local registers? Tom Grydeland 1 1,213 09-04-2013, 10:46 AM
Last Post: Marcus von Cube, Germany
  Matrix Characteristic Polynomial - Reloaded. Ángel Martin 12 3,533 08-22-2013, 05:33 PM
Last Post: Thomas Klemm
  Matrix Richard Berler 3 1,463 08-18-2013, 06:24 PM
Last Post: Paul Dale
  Advantage/CCD Matrix Challenge Ángel Martin 1 1,193 08-09-2013, 06:22 PM
Last Post: Thomas Klemm
  [HP -Prime CAS] List, Matrix, Vector as one Array? CompSystems 0 1,008 07-26-2013, 05:22 PM
Last Post: CompSystems
  ELO - Domination Matrix Kimberly Thompson 0 848 06-21-2013, 05:34 PM
Last Post: Kimberly Thompson
  Strings inside matrix editor on 50g Chris Smith 3 1,613 05-22-2013, 04:04 PM
Last Post: Chris Smith

Forum Jump: