summaryrefslogtreecommitdiff
path: root/lib/orthogonal.h
diff options
context:
space:
mode:
Diffstat (limited to 'lib/orthogonal.h')
-rw-r--r--lib/orthogonal.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/orthogonal.h b/lib/orthogonal.h
index a763b08..60d5f49 100644
--- a/lib/orthogonal.h
+++ b/lib/orthogonal.h
@@ -12,13 +12,13 @@ void vector_add(q_t n, double *v1, const double *v2);
void vector_subtract(q_t n, double *v1, const double *v2);
-double *vector_rotate(q_t n, double *rot, double *vec);
+double *vector_rotate(q_t n, const double *rot, const double *vec);
double *vector_rotate_inverse(q_t n, const double *rot, const double *vec);
-double vector_dot(q_t n, double *v1, double *v2);
+double vector_dot(q_t n, const double *v1, const double *v2);
-double *orthogonal_rotate(q_t n, double *m1, double *m2);
+double *orthogonal_rotate(q_t n, const double *m1, const double *m2);
double *gen_rot(gsl_rng *r, q_t n);