Skip to content

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

A. Description
===========================================================

This library exports some functions from sympy to be available in C++


B. Installation
===========================================================

1. Easy way to install library:

	git clone https://github.com/dziadu/sympy2cpp
	mkdir sympy2cpp/build
	cd sympy2cpp/build
	cmake ..
	sudo make install

3. To install in custom location, replace two last steps with:
	cmake .. -DCMAKE_INSTALL_PREFIX=my_custom_location
	make install

4. To test library, stay in the build directory and execute
		./bin/UnitTester

5. Customize Python Version

   By default, python 3.4 is used. To change version, e.g.:

	cmake .. -DPython_ADDITIONAL_VERSIONS=2.7


C. Usage
===========================================================

To use the library, check the tests and examples.

You can either link against libsympy2cpp library, or copy
source files sympy2cpp.{h,cpp} into your project directory
and compile together with your code.

See
https://docs.python.org/3.4/extending/embedding.html#compiling-and-linking-under-unix-like-systems
for information how to compile and link agains python headers and libs.


D. Exported functions
===========================================================

a. meijerg

   see
   http://docs.sympy.org/0.6.7/modules/mpmath/functions/hypergeometric.html?highlight=meijer#mpmath.meijerg
   for details

About

Provides interface for c++ for some functions of sympy

Resources

Stars

2 stars

Watchers

1 watching

Forks

Releases

Packages

Contributors

Languages