# Discrete3DFunction¶

class simtk.openmm.openmm.Discrete3DFunction(xsize, ysize, zsize, values)

This is a TabulatedFunction that computes a discrete three dimensional function f(x,y,z). To evaluate it, x, y, and z are each rounded to the nearest integer and the table element with those indices is returned. If any index is outside the range [0, size), the result is undefined.

__init__(self, xsize, ysize, zsize, values) → Discrete3DFunction

This is a TabulatedFunction that computes a discrete three dimensional function f(x,y,z). To evaluate it, x, y, and z are each rounded to the nearest integer and the table element with those indices is returned. If any index is outside the range [0, size), the result is undefined.

Methods

 Copy((self) -> Discrete3DFunction) __init__((self, xsize, ysize, zsize, ...) This is a TabulatedFunction that computes a discrete three dimensional function f(x,y,z). getFunctionParameters(self) setFunctionParameters(self, xsize, ysize, ...)
getFunctionParameters(self)
setFunctionParameters(self, xsize, ysize, zsize, values)
Copy(self) → Discrete3DFunction

Deprecated

This will be removed in a future release.
__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__