UDX.jl

UDX (Universal Data eXchange) is a protocol for exchanging structured numerical data—including GMP integers, MPFR floats, and MPFI intervals—over TCP or files. The UDX.jl package provides Julia bindings to the libudx C library.

The purpose of this package is to let Julia users use Julia-computed results inside Maple and MATLAB.

Packages that use UDX

PACE.jl layers UDX-based extensions so that part of PACE’s functionality is available to MATLAB and Maple.

Quick start

  1. Build or obtain libudx (see Building libudx). Pre-built support is macOS ARM only; other platforms require building from the UDX C sources yourself.
  2. Install this package: Pkg.develop / pkg> dev from your clone or registry URL (see Getting started).
  3. using UDX and open a channel with start_server or connect_to_server.
using UDX
ch = UDX.start_server()   # note the printed port

See TCP communication for a two-process Julia example.

MATLAB and Maple

To use UDX.jl together with MATLAB or Maple see Examples (MATLAB) and Examples (Maple) for a demonstation with PACE.jl functions.