Aptech Systems, Inc. Worldwide Headquarters
Aptech Systems, Inc.
2350 East Germann Road, Suite #21
Chandler, AZ 85286
Ready to Get Started?
Request Quote & Product Information
Training & Events
Step-by-step, informative lessons for those who want to dive into GAUSS and achieve their goals, fast.
Have a Specific Question?
Q&A: Register and Login
Premier Support and Platinum Premier Support are annually renewable membership programs that provide you with important benefits including technical support, product maintenance, and substantial cost-saving features for your GAUSS System or the GAUSS Engine.
Join our community to see why our users are considered some of the most active and helpful in the industry!
Where to Buy
Recent Tagsapplications character vectors CML CMLMT Constrained Optimization datasets dlibrary dllcall error error codes error handling errors Excel file i/o floating network GAUSS Engine GAUSS Light graphics GUI hotkeys installation Java API license licensing linux loading data loops matrices matrix manipulation Maxlik MaxLikMT Memory multidimensional array optimization Optmum output PQG graphics procs RAM random numbers string functions strings structures threading writing data
Time Series 2.0 MT
Find out more now
Time Series MT 2.1
Find out more now
Gauss Engine Examples
I am new to Gauss Engine and would like to compile a project to run without Gauss. Are there simple examples or documentation?
Python and PHP examples
If you want to create a program with PHP or Python, the open source project GSOOP (download here) is a great option. GSOOP allows you to easily integrate GAUSS Engine examples into programs written in Python or PHP. It includes example files.
If you would like to interact with GAUSS though Java, the Java API produced by Aptech systems, comes with several example files.
The GAUSS Engine comes with a few C example files. The files eng2d.c, mtcall.c and mtexpr.c use the engine shared library that must be run on a computer with a valid GAUSS license. If you are going to be using the GAUSS Engine with a C-language program, you should start with these.
Next up in complexity are the files grte01.c and grte02.c. These files use the GAUSS Run-time Engine shared library. This is the version that can be redistributed to others. This version can only run compiled GAUSS code. You must compile your GAUSS code into .gcg files before they can be run with the Run-time Engine.
The GAUSS Engine comes with a Makefile for these examples. To compile and run these examples on Windows, you would open a Visual Studio command prompt, then chdir to your GAUSS Engine installation directory. Then you can build any of the examples by entering: nmake
This will create an executable named
Chapter 2 of the GAUSS Engine manual (mtengine_14.pdf located in your GAUSS Engine installation directory) has a brief discussion of this. Chapter 4 of the manual discusses creating applications that can be redistributed to other computers.