"David Barron" <[EMAIL PROTECTED]> writes:

> For inner product see ?"%*%".  There is a norm function in the Matrix package.

Or crossprod(). Notice that this gives _squared_ norms when applied to
a single vector.

 
> On 30/09/06, Sonal Darbari <[EMAIL PROTECTED]> wrote:
> > Hi,
> >
> > How do we find out the inner product & norm of eigen vectors in R?
> >
> > Lets say we have eigen vectors :
> > x1 = 1,2,3 and x2 = 2,-3,4
> >
> > are there any functions buit in R which directly calculate the inner product
> > & norm of vectors?
> >
> > Thanks,
> > Sonal.
> >
> >         [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > [email protected] mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> >
> 
> 
> -- 
> =================================
> David Barron
> Said Business School
> University of Oxford
> Park End Street
> Oxford OX1 1HP
> 
> ______________________________________________
> [email protected] mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
> 

-- 
   O__  ---- Peter Dalgaard             Ă˜ster Farimagsgade 5, Entr.B
  c/ /'_ --- Dept. of Biostatistics     PO Box 2099, 1014 Cph. K
 (*) \(*) -- University of Copenhagen   Denmark          Ph:  (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])                  FAX: (+45) 35327907

______________________________________________
[email protected] mailing list
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to