Package SLIMutils.Steppers


Classes

class  OneDimStep1
 One-dimensional stepper w/ abs(increment)=1. More...
class  OneDimStepF
 One-dimensional stepper w/ float abs(increment) Object holds float values to be used only in 'for * in [Stepper]:' loop. More...
class  OneDimStepN
 One-dimensional stepper w/ fixed number of elements Object holds float values to be used only in 'for * in [Stepper]:' loop. More...
class  MultiDimStep1
 Multi-dimensional stepper w/ abs(increments)=1. More...
class  MultiDimStepF
 Multi-dimensional stepper w/ float abs(increments). More...
class  MultiDimStepN
 Multi-dimensional stepper w/ fixed number of elements. More...

Functions

def Sign
 Module-internal sign function.
def SignDiff
 Module-internal sign function.

Variables

string __copyright__
string __license__
tuple Ns = OneDimStep1(0,-3)
list limits = [[0,1],[4,2]]
tuple NNs = MultiDimStep1(limits)


Function Documentation

def SLIMutils.Steppers.Sign (   a  ) 

Module-internal sign function.

Returns sign(a).

Definition at line 34 of file Steppers.py.

def SLIMutils.Steppers.SignDiff (   a,
  b 
)

Module-internal sign function.

Returns sign(b-a).

Definition at line 43 of file Steppers.py.


Variable Documentation

string __copyright__

Initial value:

"""
Copyright 2008 Henryk Modzelewski
"""

Definition at line 1 of file Steppers.py.

string __license__

Initial value:

"""
This file is part of SLIMpy .

SLIMpy is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

SLIMpy is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with SLIMpy . If not, see <http://www.gnu.org/licenses/>.
"""

Definition at line 4 of file Steppers.py.

list limits = [[0,1],[4,2]]

Definition at line 282 of file Steppers.py.

Definition at line 285 of file Steppers.py.

tuple Ns = OneDimStep1(0,-3)

Definition at line 260 of file Steppers.py.


Generated on Sun Aug 10 09:11:13 2008 for SLIMpy by  doxygen 1.5.6