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.
Absolute Value and Matrix
|
11-04-2013, 11:51 PM
11-05-2013, 12:01 AM
Frobenius norm perhaps? Most likely one of the matrix norms.
11-05-2013, 12:04 AM
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.
11-11-2013, 07:55 PM
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?
11-11-2013, 08:19 PM
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-11-2013, 11:52 PM
Quote:A 1xn or nx1 matrix is called a vector (of dimension n>1). FYI, a '1D vector' is a (scalar) number. d:-) |
« Next Oldest | Next Newest »
|