[R] Inner product

David Barron mothsailor at googlemail.com
Sat Sep 30 23:33:08 CEST 2006


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

On 30/09/06, Sonal Darbari <darbarisonal at gmail.com> 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]]
>
> ______________________________________________
> R-help at stat.math.ethz.ch 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



More information about the R-help mailing list