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

Class SchweizerUnion2

source code


Instance Methods [hide private]
 
__init__(self, param=1.0)
Initialize type and parameter
source code
float
__call__(self, *args)
Calculate result of norm(arg1,arg2,...)
source code

Inherited from ParametricNorm.ParametricNorm: __repr__

Inherited from ParametricNorm.ParametricNorm (private): _checkParam

Inherited from Norm.Norm: checkArgs2, checkArgsN, getType

Inherited from object: __delattr__, __format__, __getattribute__, __hash__, __new__, __reduce__, __reduce_ex__, __setattr__, __sizeof__, __str__, __subclasshook__

Class Variables [hide private]
  _range = [(0.0, inf)]

Inherited from Norm.Norm: S_NORM, T_NORM, UNKNOWN

Instance Variables [hide private]

Inherited from ParametricNorm.ParametricNorm: p

Properties [hide private]

Inherited from ParametricNorm.ParametricNorm: p_range

Inherited from object: __class__

Method Details [hide private]

__init__(self, param=1.0)
(Constructor)

source code 

Initialize type and parameter

Parameters:
  • param - parameter for norm
Overrides: object.__init__
(inherited documentation)

__call__(self, *args)
(Call operator)

source code 

Calculate result of norm(arg1,arg2,...)

Parameters:
  • args - list of floats as arguments for norm.
Returns: float
result of norm calulation
Raises:
  • NormException - any problem in calculation (wrong number of arguments, numerical problems)
Overrides: Norm.Norm.__call__
(inherited documentation)