Rodrigues’ rotation formula: Difference between revisions
Content added Content deleted
m (julia example) |
(→{{header|Go}}: Use arrays instead of slices.) |
||
Line 110: | Line 110: | ||
) |
) |
||
type vector []float64 |
type vector [3]float64 |
||
type matrix []vector |
type matrix [3]vector |
||
func norm(v vector) float64 { |
func norm(v vector) float64 { |