math_sph2cart | R Documentation |
Transform spherical to cartesian coordinates according to international physics convention:
\theta
in range 0...pi (0...180 Deg) and \varphi
in range 0...2*pi (0...360Deg)
math_sph2cart(tpr)
tpr |
c( |
https://de.wikipedia.org/wiki/Kugelkoordinaten#Umrechnungen
named vector or matrix
Florian Wagner florian.wagner@wagnius.ch
math_sph2cart(c(1,0.5,0.1))
rbind(c(1,0.5,0.1),
c(1,0.2,0.6))|>
math_sph2cart()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.