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) -> Discrete1DFunction)
__init__((self, values) -> Discrete1DFunction) 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
__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__