Coverage for src/pymor/parameters/interfaces : 79%
Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
|
# This file is part of the pyMOR project (http://www.pymor.org). # Copyright Holders: Rene Milk, Stephan Rave, Felix Schindler # License: BSD 2-Clause License (http://opensource.org/licenses/BSD-2-Clause)
'''Interface for parameter spaces.
Attributes ---------- parameter_type |ParameterType| of the space. '''
def contains(self, mu): '''`True` if `mu` is contained in the space.''' pass
'''Interface for parameter functionals.
A parameter functional is simply a function mapping a |Parameter| to a number. '''
'''Evaluate the functional for the given |Parameter| `mu`.''' pass
return self.evaluate(mu) |