aboutsummaryrefslogtreecommitdiffstats
path: root/chilbert
diff options
context:
space:
mode:
Diffstat (limited to 'chilbert')
-rw-r--r--chilbert/chilbert.hpp34
1 files changed, 14 insertions, 20 deletions
diff --git a/chilbert/chilbert.hpp b/chilbert/chilbert.hpp
index 2954cf3..7a69ab2 100644
--- a/chilbert/chilbert.hpp
+++ b/chilbert/chilbert.hpp
@@ -34,10 +34,7 @@ namespace chilbert {
* @param[out] h Hilbert Index.
*/
template <class P, class H>
-inline void coords_to_index(const P* const p,
- const size_t m,
- const size_t n,
- H& h);
+inline void coords_to_index(const P* p, size_t m, size_t n, H& h);
/** Map the Hilbert Index `p` to a point.
*
@@ -50,10 +47,7 @@ inline void coords_to_index(const P* const p,
* @param h Hilbert Index.
*/
template <class P, class H>
-inline void index_to_coords(P* const p,
- const size_t m,
- const size_t n,
- const H& h);
+inline void index_to_coords(P* p, size_t m, size_t n, const H& h);
/** Map the point `p` to a Compact Hilbert Index.
*
@@ -68,12 +62,12 @@ inline void index_to_coords(P* const p,
* @param m Optional largest precision in `m`.
*/
template <class P, class H>
-inline void coords_to_compact_index(const P* const p,
- const size_t* const ms,
- const size_t n,
- H& hc,
- const size_t M = 0,
- const size_t m = 0);
+inline void coords_to_compact_index(const P* p,
+ const size_t* ms,
+ size_t n,
+ H& hc,
+ size_t M = 0,
+ size_t m = 0);
/** Map the Compact Hilbert Index `hc` to a point.
*
@@ -88,12 +82,12 @@ inline void coords_to_compact_index(const P* const p,
* @param m Optional largest precision in `m`.
*/
template <class P, class H>
-inline void compact_index_to_coords(P* const p,
- const size_t* const ms,
- const size_t n,
- const H& hc,
- const size_t M = 0,
- const size_t m = 0);
+inline void compact_index_to_coords(P* p,
+ const size_t* ms,
+ size_t n,
+ const H& hc,
+ size_t M = 0,
+ size_t m = 0);
} // namespace chilbert