Class: MathGL::MglExpr

Inherits:
Object
  • Object
show all
Defined in:
lib/mathgl/doc/libdoc_data_en.rb,
ext/mathgl/mathgl.cxx

Overview

Proxy of C++ MathGL::MglExpr class

Instance Method Summary collapse

Instance Method Details

#diff(dir, var) ⇒ Float

Evaluate expression. Evaluates the formula derivation respect to dir for variables in array var(0,…,'z'-'a').

Parameters:

  • dir (String)
  • var (Float)

Returns:

  • (Float)

1435
1436
# File 'lib/mathgl/doc/libdoc_data_en.rb', line 1435

def diff
end

#eval(var) ⇒ Float

Evaluate expression. Evaluates the formula for variables in array var(0,…,'z'-'a').

Parameters:

  • var (Float)

Returns:

  • (Float)

1412
1413
# File 'lib/mathgl/doc/libdoc_data_en.rb', line 1412

def eval
end