About Install Documentation Problems Tree Forum Save your money
via IT outsourcing!

Ukrainian HI-TECH Initiative

FuncDesigner

From OpenOpt

Jump to: navigation, search
FuncDesigner

FuncDesigner is a computer algebra system (CAS) written in Python + NumPy, that makes it cross-platform (Linux, Windows, Mac OS X etc), with completely free license: BSD.

  • Enhances RAD abilities of Python language for developing scientific software, especially for numerical optimization and solving systems of linear/non-linear equations
  • Perfectly stacks with NumPy arrays and other Python functions and code, thus you can connect parts of code written in C, Fortran, MATLAB etc and import/export data in formats of text, HDF5, xml/xls, weka arff, mtx, netcdf, MATLAB mat files etc (via numpy.io and scipy.io modules)
  • Key feature of the framework is Automatic differentiation (AD) (not to be confused with Numerical differentiation via finite-differences derivatives approximation and symbolic differentiation provided by Maxima, SymPy etc). It seriously benefits some numerical optimization solvers. BTW, commercial tool TOMLAB / MAD for automatic differentiation costs over 4000$
See FuncDesigner AD usage Example
  • You can use "for" cycle in FuncDesigner code Example
  • If some your functions had been written on other languages (C, Fortran, etc), or are beyond FuncDesigner AD capabilities due to any other reason (has "for"/"while" loops, routines for solving systems of nonlinear, mb differential equations etc), you can define your own oofun with wrapper around the function, and the missing derivatives will be covered up by finite-differences derivatives approximation via DerApproximator
  • New! (coming) You can use operator "ifThenElse" where ordinary Python language operator if-then-else can't deal with condition because it has type oofun (that hasn't been invoked on a point yet and thus preliminary unknown) instead of boolean Example
If your condition has type boolean when Python loads it (for example when you have "if myOOFun(startPoint)"), then you can use ordinary python if-elif-...-then-else in spite of type of other data involved
  • You can solve systems of linear equations (SLE), dense and sparse (examples)
  • You can solve systems of non-linear equations (examples)
  • FuncDesigner as well as DerApproximator was excluded from OpenOpt framework as independent Python module.
    OpenOpt can optimize FuncDesigner models with no needs to provide 1st derivatives Example
Made by Dmitrey


See also:

Personal tools
Latest OOSuite 0.27