math_inbetweenAngle | R Documentation |
Get the angle between 2 vectors. Returns the smallest Angle between two vectors in radiant.
math_inbetweenAngle(u, v)
u |
fist vector |
v |
second vector |
https://de.wikipedia.org/wiki/Skalarprodukt
Returns the smallest angle between two vectors in radiant.
x
Florian Wagner florian.wagner@wagnius.ch
#2D
u <- c(-0,1)
v <- c( 1,0)
math_inbetweenAngle(u,v)
#3D
u <- c(-12, 13, -2.56)
v <- c( 3, 5, -100 )
math_inbetweenAngle(u,v)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.