Class: SymEngine::Basic

Inherits:
Object
  • Object
show all
Defined in:
lib/symengine/basic.rb,
lib/symengine/iruby.rb,
ext/symengine/symengine.c

Direct Known Subclasses

Integer, Rational, Symbol

Instance Method Summary collapse

Instance Method Details

#!=Object

#*Object

#**Object

#+Object

#-Object

#[email protected]Object

#/Object

#==Object

#argsObject

#coerceObject

#diffObject

#eql?Boolean

Returns:

  • (Boolean)

#expandObject

#free_symbolsObject


5
6
7
# File 'lib/symengine/basic.rb', line 5

def free_symbols
  pr_free_symbols.to_set
end

#hashObject

#subsObject

#to_irubyObject


4
5
6
# File 'lib/symengine/iruby.rb', line 4

def to_iruby
  ['text/html', self.to_s] unless self.instance_of? Basic
end

#to_sObject