phystricks
Public Member Functions | Public Attributes | Private Member Functions | List of all members
phystricks.src.NonAnalytic.NonAnalyticFunctionGraph Class Reference
Inheritance diagram for phystricks.src.NonAnalytic.NonAnalyticFunctionGraph:
Inheritance graph
[legend]
Collaboration diagram for phystricks.src.NonAnalytic.NonAnalyticFunctionGraph:
Collaboration graph
[legend]

Public Member Functions

def __init__ (self, fun, mx=None, Mx=None)
 
def parametric_curve (self, mx=None, Mx=None)
 
def reverse (self)
 
def curve (self, drawpoints)
 
def get_point (self, x)
 
def graph (self, mx, Mx)
 
def latex_code (self, language=None, pspict=None)
 
def __call__ (self, x)
 

Public Attributes

 mx
 
 Mx
 
 fun
 
 old_mx
 
 old_Mx
 
 minmax_result
 
 drawpoints
 

Private Member Functions

def _math_bounding_box (self, pspict=None)
 
def _bounding_box (self, pspict=None)
 

Detailed Description

Represent a function for which one has no analytic form.

As long as one can evaluate it at points, one can draw an interpolation curve.

Constructor & Destructor Documentation

def phystricks.src.NonAnalytic.NonAnalyticFunctionGraph.__init__ (   self,
  fun,
  mx = None,
  Mx = None 
)

Member Function Documentation

def phystricks.src.NonAnalytic.NonAnalyticFunctionGraph.__call__ (   self,
  x 
)
def phystricks.src.NonAnalytic.NonAnalyticFunctionGraph._bounding_box (   self,
  pspict = None 
)
private
def phystricks.src.NonAnalytic.NonAnalyticFunctionGraph._math_bounding_box (   self,
  pspict = None 
)
private
def phystricks.src.NonAnalytic.NonAnalyticFunctionGraph.curve (   self,
  drawpoints 
)
Return the interpolation curve corresponding to self.

Since it could be cpu-consuming, this is a lazy_attribute. For that reason it should not be called by the end-user but only during the computation of the bounding box and the tikz code.
def phystricks.src.NonAnalytic.NonAnalyticFunctionGraph.get_point (   self,
  x 
)
def phystricks.src.NonAnalytic.NonAnalyticFunctionGraph.graph (   self,
  mx,
  Mx 
)
def phystricks.src.NonAnalytic.NonAnalyticFunctionGraph.latex_code (   self,
  language = None,
  pspict = None 
)
def phystricks.src.NonAnalytic.NonAnalyticFunctionGraph.parametric_curve (   self,
  mx = None,
  Mx = None 
)
def phystricks.src.NonAnalytic.NonAnalyticFunctionGraph.reverse (   self)

Member Data Documentation

phystricks.src.NonAnalytic.NonAnalyticFunctionGraph.drawpoints
phystricks.src.NonAnalytic.NonAnalyticFunctionGraph.fun
phystricks.src.NonAnalytic.NonAnalyticFunctionGraph.minmax_result
phystricks.src.NonAnalytic.NonAnalyticFunctionGraph.mx
phystricks.src.NonAnalytic.NonAnalyticFunctionGraph.Mx
phystricks.src.NonAnalytic.NonAnalyticFunctionGraph.old_mx
phystricks.src.NonAnalytic.NonAnalyticFunctionGraph.old_Mx

The documentation for this class was generated from the following file: