OpenGLContext.browser.vector
index
/home/mcfletch/pylive/OpenGLContext/browser/vector.py

 
Modules
       
numpy.add_newdocs
numpy.core.defchararray
numpy.ctypeslib
numpy.lib.scimath
numpy.fft
vrml_accelerate.frustcullaccel
numpy.linalg
numpy.ma
math
numpy.random
numpy.core.records
vrml_accelerate.tmatrixaccel
OpenGLContext.triangleutilities

 
Classes
       
object
vector

 
class vector(object)
     Methods defined here:
__abs__ = x(self, *args)
Perform given function on our base and other
__add__ = x(self, *args)
Perform given function on our base and other
__cmp__ = x(self, *args)
Perform given function on our base and other
__div__ = x(self, *args)
Perform given function on our base and other
__floordiv__ = x(self, *args)
Perform given function on our base and other
__getitem__(self, index)
__init__(self, x=0.0, y=None, z=None)
Initialise the vector with a set of items
__iter__(self)
__len__ = x(self, *args)
Perform given function on our base and other
__list__ = x(self, *args)
Perform given function on our base and other
__mod__ = x(self, *args)
Perform given function on our base and other
__mul__ = x(self, *args)
Perform given function on our base and other
__neg__ = x(self, *args)
Perform given function on our base and other
__nonzero__(self)
Is the vector non-null
__pow__ = x(self, *args)
Perform given function on our base and other
__radd__ = x(self, other, *args)
Perform given function on our base and other
__rdiv__ = x(self, other, *args)
Perform given function on our base and other
__repr__ = x(self, *args)
Perform given function on our base and other
__rfloordiv__ = x(self, other, *args)
Perform given function on our base and other
__rmod__ = x(self, other, *args)
Perform given function on our base and other
__rmul__ = x(self, other, *args)
Perform given function on our base and other
__rpow__ = x(self, other, *args)
Perform given function on our base and other
__rsub__ = x(self, other, *args)
Perform given function on our base and other
__rtruediv__ = x(self, other, *args)
Perform given function on our base and other
__setitem__(self, index, value)
__str__ = x(self, *args)
Perform given function on our base and other
__sub__ = x(self, *args)
Perform given function on our base and other
__truediv__ = x(self, *args)
Perform given function on our base and other
cross = x(self, *args)
Perform given function on our base and other
mag = x(self, *args)
Perform given function on our base and other
mag2 = x(self, *args)
Perform given function on our base and other
norm = x(self, *args)
Perform given function on our base and other

Data descriptors defined here:
__dict__
dictionary for instance variables (if defined)
__weakref__
list of weak references to the object (if defined)
w
Get/Set item 3 of '_base' for the client
x
Get/Set item 0 of '_base' for the client
y
Get/Set item 1 of '_base' for the client
z
Get/Set item 2 of '_base' for the client

 
Functions
       
_itemAccess(index, name)
cross(first, second)
Get cross-product of two vectors
mag(sequence)
Get magnitude for vector sequence
mag2(sequence)
Get magnitude squared for vector sequence
norm(sequence)
Get normalised vector for vector sequence

 
Data
        __all__ = ('mag', 'mag2', 'norm', 'cross', 'vector')
__file__ = '/home/mcfletch/pylive/OpenGLContext/browser/vector.py'
__name__ = 'OpenGLContext.browser.vector'
__package__ = 'OpenGLContext.browser'
divide_safe = <ufunc 'divide'>
implementation_name = 'numpy'