|
OpenMM
|
This is a TabulatedFunction that computes a discrete two dimensional function f(x,y). More...
Inheritance diagram for Discrete2DFunction:Public Member Functions | |
| def | __init__ |
| __init__(self, xsize, ysize, values) -> Discrete2DFunction | |
| def | getFunctionParameters |
| def | setFunctionParameters |
| def | Copy |
| Copy(self) -> Discrete2DFunction. | |
Public Attributes | |
| this | |
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.
| def __init__ | ( | self, | |
| xsize, | |||
| ysize, | |||
| values | |||
| ) |
__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.
| def Copy | ( | self | ) |
Copy(self) -> Discrete2DFunction.
Reimplemented from TabulatedFunction.
| def getFunctionParameters | ( | self | ) |
| def setFunctionParameters | ( | self, | |
| xsize, | |||
| ysize, | |||
| values | |||
| ) |