Name: symengine.rb
Owner: symengine
Description: Ruby wrappers for SymEngine
Created: 2015-08-25 03:56:20.0
Updated: 2017-10-28 10:20:01.0
Pushed: 2017-10-31 14:08:25.0
Size: 281
Language: C
GitHub Committers
User | Most Recent Commit | # Commits |
---|
Other Committers
User | Most Recent Commit | # Commits |
---|
Ruby wrappers gem for SymEngine, a fast symbolic manipulation library, written in C++. https://github.com/symengine/symengine
C++ compiler - See supported compilers
CMake - with executable folder in the PATH
variable
libsymengine - See build instructions
ruby >= 2.0.0 - Needs Ruby shared library and headers
Simply do,
gem install symengine
If libsymengine
is not found, you can give the installation directory or build directory by doing,
gem install symengine -- -DSymEngine_DIR=/path/to/symengine/root
gem install bundler
bundle install
this will install the gems requiredgem build symengine.gemspec
gem install symengine-0.1.0.gem
SciRuby mailinglist: http://groups.google.com/group/sciruby-dev
SymEngine mailinglist: http://groups.google.com/group/symengine
![Gitter](https://badges.gitter.im/Join Chat.svg)
SymEngine is a module in the extensions, and the classes are a part of it. To check if you can use them, fire up the interpreter and load the file
rb
0 :001 > require 'symengine'
true
Go ahead and try a function
0 :002 > SymEngine.ascii_art
__ _____ _
__|_ _ _____| __|___ ___|_|___ ___
| | | | __| | . | | | -_|
__|_ |_|_|_|_____|_|_|_ |_|_|_|___|
|___| |___|
nil
Please go through the IRuby notebooks for more demonstrations. If you are new to symengine.rb, please refer to the beginner notebook.