~ruther/guix-local

d721c83a6310bcb2ded092e20afb3954b21038fb — Eric Bavier 9 years ago b006ba5
gnu: Add libhilbert.

* gnu/packages/maths.scm (libhilbert): New variable.
1 files changed, 22 insertions(+), 0 deletions(-)

M gnu/packages/maths.scm
M gnu/packages/maths.scm => gnu/packages/maths.scm +22 -0
@@ 2538,3 2538,25 @@ structured and unstructured grid problems.")))
    (description "Matio is a library for reading and writing MAT files.  It
supports compressed MAT files, as well as newer (version 7.3) MAT files.")
    (license license:bsd-2)))

(define-public libhilbert
  (package
    (name "libhilbert")
    (version "0.2-1")
    (source
     (origin
       (method url-fetch)
       (uri (string-append "http://web.cs.dal.ca/~chamilto/hilbert/"
                           "libhilbert-" version ".tar.gz"))
       (sha256
        (base32
         "0v48x8405dj95gjn2saja4bzhw86d6zl6d3dg8h7dzac2qr97s34"))))
    (build-system gnu-build-system)
    (home-page "http://web.cs.dal.ca/~chamilto/hilbert")
    (synopsis "Hilbert indices for multidimensional data")
    (description "The libhilbert library can efficiently calculate Hilbert
curves and order-preserving representations of Hilbert curve indices that use
the same amount of space as the original point representation.  This is useful
when using the Gilbert curve as a space filling curve through a
high-dimensional space where not all demensions have the same cardinality.")
    (license license:lgpl2.1+)))