Skip to content

a simple question about a matrix

3 messages · Liaw, Andy, Spencer Graves, Douglas Bates

#
If the matrix is real, then isn't that just
sqrt(eigen(crossprod(x))$values[1]) ??

Andy
------------------------------------------------------------------------------
Notice:  This e-mail message, together with any attachments,...{{dropped}}
#
There are many matrix norms.  The Mathematica web site 
(http://mathworld.wolfram.com/MatrixNorm.html) says the one Andy just 
gave 'is often referred to as "the" matrix norm.'  However, there many 
others.  For some purposes, any matrix norm will do.  For other 
purposes, you need to know the purpose. 

      Please excuse me if this seems like a picky, pedantic rant.  
spencer graves
Liaw, Andy wrote:

            
#
"Liaw, Andy" <andy_liaw at merck.com> writes:
The symbol ||x|| could mean many different things when x is a matrix.
I presume that you mean some kind of matrix norm.  Could you be more
specific about which norm you want?  (There are several.)

The one-norm, the Frobenius norm, and the infinity norm are all
available in the new version of the Matrix package, which is currently
available only for the development version of R (to be R-1.9.0).
[,1]       [,2]      [,3]
[1,] -1.0210873  0.9941221  2.363475
[2,] -0.5171302 -0.3243187 -1.455873
[3,] -2.3793565  0.5223258 -1.034270
[1] 4.853617
[1] 4.853617
[1] 4.378684
[1] 4.136781
[1] 2.379356