SIMION® Industry standard charged particle optics simulation software.
Newsflash: SIMION 8.1.1 is here: dielectrics, new examples + preview of permeability; ASMS2012 posters; major improvements to enhanced surface accuracy feature coming soon (details in Check for Updates).
About | Documentation | Community/Support | Downloads | Ordering

simionx.SpecialFunctions - Special mathematical functions

simionx.SpecialFunctions - Special mathematical functions (e.g. elliptic integrals, error function, ...).

SYNOPSIS

local SF = require "simionx.SpecialFunctions"
assert(SF.erf(0) == 0)
assert(SF.elliptic_k(0) == math.pi/2)
assert(SF.elliptic_e(0) == math.pi/2)

DESCRIPTION

This module provides various special mathematical functions. They include elliptic integrals and the error function.

The complete elliptic integrals of the first and second kind are implemented in terms of the more general Carlson symmetric forms of elliptic integrals. The implementation of these functions are quite efficient and accurate (using optimized algorithms). By default, they define a maximum relative error of approximately 1e-7.

Note

See these additional sections in this topic in the offline SIMION 8.1.0 help file:
  • INTERFACE

SOURCE

(c) 2007 Scientific Instrument Services, Inc. Licensed under the terms of SIMION 8. www.simion.com. D.Manura-2007.

version: 20070816

Any comments on this web page? (will be sent to SIS)
[Optional] Your name: email: phone/fax:
(c) 2003-2006 Scientific Instrument Services, Inc. (SIS). Contact SIS.