Discrete1DFunction

class simtk.openmm.openmm.Discrete1DFunction(values)

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.

__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.

Methods

Copy(self)
__init__(self, values) This is a TabulatedFunction that computes a discrete one dimensional function f(x).
getFunctionParameters(self)
setFunctionParameters(self, values)
getFunctionParameters(self)
setFunctionParameters(self, values)
Copy(self) → Discrete1DFunction

Deprecated

This will be removed in a future release.
__copy__(self) → TabulatedFunction