muParser - a fast math parser library
Version 1.32
My home
page
muParser
API-doc

### Introduction

About the parser
News
Software using muParser
Licence

### Features

Features
Overview
Built in functions
Built in binary operators

### Build instructions

Building on Win32
Building on BSD/Linux
Misc build instructions
Including the files
Where to ask for help

### Math parser interface

Parser (de)initialization
Evaluating an expression
Setting the expression
Defining identifier charsets
Defining parser variables
Explicit variable definition
Implicit variable definition
Defining constants
Defining functions
Defining operators
Unary operators
Binary operators
Querying variables
Querying constants
Value recognition callbacks
Removing variables/constants
Localization
Error handling
Example code

### Current version

Release notes
Benchmarks

## Localization

Sometimes it is necessary to change decimal separator, argument separator or thousands separator to match a certain locale. The following functions can be used for this purpose:

### [DLL interface]

    // german localization
    mupSetArgSep(hParser, ';');
    mupSetDecSep(hParser, ',');
    mupSetThousandsSep(hParser, '.');

    // reset to defaults
    mupResetLocale();

See also: example2/example2.c.

### [Parser class interface]

    // german localization
    parser.SetArgSep(';');
    parser.SetDecSep(',');
    parser.SetThousandsSep('.');

    // reset to defaults
    parser.ResetLocale();

See also: example1/example1.cpp.

© 2005-2010 Ingo Berg | Privacy policy | ^ TOP