MATHEMATICA GUIDE

# MathLink C Functions for Exchanging Reals

## ReferenceReference

### Sending Reals

MLPutFloat(), MLPutReal32() real numbers of type float

MLPutDouble(), MLPutReal64() real numbers of type double

### Receiving Reals

MLGetFloat(), MLGetReal32() real numbers of type float

MLGetDouble(), MLGetReal64() real numbers of type double

### Sending Lists of Reals

MLPutReal32List() list of reals (float *)

MLPutReal64List() list of reals (double *)

MLPutReal128List() list of quad-precision floating-point numbers

### Receiving Lists of Reals

MLGetReal32List() list of reals (float *)

MLGetReal64List() list of reals (double *)

MLGetReal128List() list of quad-precision floating-point numbers

### Releasing Memory for Lists of Reals

MLReleaseReal32List() list of reals (float *)

MLReleaseReal64List() list of reals (double *)

MLReleaseReal128List() list of quad-precision floating-point numbers

### Sending Arrays of Reals

MLPutRealArray(), MLPutReal32Array() array of reals (float *)

MLPutReal64Array() array of reals (double *)

MLPutReal128Array() array of quad-precision floating-point numbers

### Receiving Arrays of Reals

MLGetRealArray(), MLGetReal32Array() array of reals (float *)

MLGetReal64Array() array of reals (double *)

MLGetReal128Array() array of quad-precision floating-point numbers

### Releasing Memory for Arrays of Reals

MLReleaseReal32Array() array of reals (float *)

MLReleaseReal64Array() array of reals (double *)

MLReleaseReal128Array() array of quad-precision floating-point numbers

New to Mathematica? Find your learning path »
Have a question? Ask support »