OpenMM
Discrete3DFunction Class Reference

This is a TabulatedFunction that computes a discrete three dimensional function f(x,y,z). More...

+ Inheritance diagram for Discrete3DFunction:

List of all members.

Public Member Functions

def __init__
 __init__(self, xsize, ysize, zsize, values) -> Discrete3DFunction
def getFunctionParameters
def setFunctionParameters
def Copy
 Copy(self) -> Discrete3DFunction.

Public Attributes

 this

Detailed Description

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.


Constructor & Destructor Documentation

def __init__ (   self,
  xsize,
  ysize,
  zsize,
  values 
)

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


Member Function Documentation

def Copy (   self)

Copy(self) -> Discrete3DFunction.

Reimplemented from TabulatedFunction.

def getFunctionParameters (   self)
def setFunctionParameters (   self,
  xsize,
  ysize,
  zsize,
  values 
)

Member Data Documentation


The documentation for this class was generated from the following file:
 All Classes Functions Variables