Package fuzzy :: Package norm :: Module Norm
[hide private]
[frames] | no frames]

Module Norm

source code

Abstract base class for any kind of fuzzy norm.

Classes [hide private]
  NormException
Base class for any exception in norm calculations.
  Norm
Abstract Base class of any fuzzy norm
Functions [hide private]
float
product(*args)
Calculate product of args.
source code
float
sum(*args)
Calculate sum of args.
source code
Variables [hide private]
  __revision__ = '$Id: Norm.py,v 1.16 2010-02-17 19:45:00 rliebs...
  __package__ = 'fuzzy.norm'
Function Details [hide private]

product(*args)

source code 

Calculate product of args.

Parameters:
  • args (list of float) - list of floats to multiply
Returns: float
product of args

sum(*args)

source code 

Calculate sum of args.

If using numpy the builtin sum doesn't work always!

Parameters:
  • args (list of float) - list of floats to sum
Returns: float
sum of args

Variables Details [hide private]

__revision__

Value:
'$Id: Norm.py,v 1.16 2010-02-17 19:45:00 rliebscher Exp $'