GitHub - symengine/symengine.rb: Ruby wrappers for SymEngine (original) (raw)

SymEngine Ruby Wrappers

Build Status Build status

Ruby wrappers gem for SymEngine, a fast symbolic manipulation library, written in C++. https://github.com/symengine/symengine

Installation

Prerequisites

Installing

  gem install symengine -- -DSymEngine_DIR=/path/to/symengine/root  

Development

Mailinglist, Chat

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)

Using the extensions

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

~$ irb 2.2.0 :001 > require 'symengine' => true

Go ahead and try a function

2.2.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.