Discrete2DFunction¶
-
class
simtk.openmm.openmm.Discrete2DFunction(xsize, ysize, values)¶ This is a TabulatedFunction that computes a discrete two dimensional function f(x,y). To evaluate it, x and y are each rounded to the nearest integer and the table element with those indices is returned. If either index is outside the range [0, size), the result is undefined.
-
__init__(self, xsize, ysize, values) → Discrete2DFunction¶ This is a TabulatedFunction that computes a discrete two dimensional function f(x,y). To evaluate it, x and y are each rounded to the nearest integer and the table element with those indices is returned. If either index is outside the range [0, size), the result is undefined.
Methods
Copy((self) -> Discrete2DFunction)__init__((self, xsize, ysize, ...)This is a TabulatedFunction that computes a discrete two dimensional function f(x,y). getFunctionParameters(self)setFunctionParameters(self, xsize, ysize, values)-
getFunctionParameters(self)¶
-
setFunctionParameters(self, xsize, ysize, values)¶
-
Copy(self) → Discrete2DFunction¶
-
__delattr__¶ x.__delattr__(‘name’) <==> del x.name
-
__format__()¶ default object formatter
-
__getattribute__¶ x.__getattribute__(‘name’) <==> x.name
-
__hash__¶
-
__reduce__()¶ helper for pickle
-
__reduce_ex__()¶ helper for pickle
-
__sizeof__() → int¶ size of object in memory, in bytes
-
__str__¶
-