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)
__init__(self, xsize, ysize, values) 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

Deprecated

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