Origin C is an ANSI C compatible programming language native to Origin, which also utilizes elements of C++ and C#. Origin C provides programmatic access to Origin's many features.
Use Origin C for any programming task, including:
- Developing analysis and simulation functions
- Automating your data analysis and graphing tasks
- Creating user-defined fitting functions to be used with Origin's curve fitting module, NLFit
- Linking to external dynamic link libraries (DLL)
- Calling computational routines from the NAG Library
- Calling C or Fortran library routines, such as the IMSL library from DIGITAL Fortran, or other public-domain libraries
- Constructing data acquisition solutions for RS-232, GPIB, and others
A sample of typical Origin C code with syntax coloring in Code Builder
Build Your Functions. Origin contains an integrated development environment for Origin C, called Code Builder. Use Code Builder to write, compile, test, and debug your code.
Use Your Functions. Once a function has been written and compiled, it can be called and executed by Origin. You can call your functions from Origin's Script window using
as well as other Origin dialogs, such as Set Column Values. You can also create interface elements such as buttons or new menu commands to provide easy access to your functions.
Extended Features. Create custom dialog boxes and user-defined classes to tailor Origin's functionality to your specific applications.
Sample Code. View examples of Origin C code at work in the Origin C Programming Guide.
NAG® Software Partner.
Origin includes the entire
Mark VII Library
Numerical Algorithms Group, Inc. (NAG).
This library offers a wide variety numerical algorithms covering many areas, including: Statistics, Fourier Transforms, Linear Algebra, Regression, Multivariate Analysis, and Principal Component Analysis. NAG functions are accessible from Origin C and allow you to develop applications that require advanced numerical computation.