| OpenMM
   
    | 
This is a TabulatedFunction that computes a discrete one dimensional function f(x). More...
 Inheritance diagram for Discrete1DFunction:
 Inheritance diagram for Discrete1DFunction:| Public Member Functions | |
| def | __init__ | 
| __init__(self, values) -> Discrete1DFunction | |
| def | getFunctionParameters | 
| def | setFunctionParameters | 
| def | Copy | 
| Copy(self) -> Discrete1DFunction. | |
| Public Attributes | |
| this | |
This is a TabulatedFunction that computes a discrete one dimensional function f(x).
To evaluate it, x is rounded to the nearest integer and the table element with that index is returned. If the index is outside the range [0, size), the result is undefined.
| def __init__ | ( | self, | |
| values | |||
| ) | 
__init__(self, values) -> Discrete1DFunction
This is a TabulatedFunction that computes a discrete one dimensional function f(x). To evaluate it, x is rounded to the nearest integer and the table element with that index is returned. If the index is outside the range [0, size), the result is undefined.
| def Copy | ( | self | ) | 
Copy(self) -> Discrete1DFunction.
Reimplemented from TabulatedFunction.
| def getFunctionParameters | ( | self | ) | 
| def setFunctionParameters | ( | self, | |
| values | |||
| ) |