Open dpsanders opened 9 years ago
You can then use metaprogramming to define all of these functions in one go.
Done, but not yet with metaprogramming.
David Sanders wrote:
You can then use metaprogramming to define all of these functions in one go.
— Reply to this email directly or view it on GitHub https://github.com/kriukov/interval-methods/issues/7#issuecomment-60642831.
For the
MultiDimInterval
stuff, instead of creating an empty array and usingpush!
, you can just usemap
, e.g.