Package slimpy_base.SLIMmath.slimMath


Functions

def sum
 Returns the sum of any iterable sequence.
def prod
 Returns the element wise product of any iterable sequence.

Variables

string __copyright__
string __license__


Function Documentation

def slimpy_base.SLIMmath.slimMath.prod (   alist,
  blist 
)

Returns the element wise product of any iterable sequence.

Note: to work with slimpy vectors and operators any zeros will not be summed.

Definition at line 36 of file slimMath.py.

def slimpy_base.SLIMmath.slimMath.sum (   alist  ) 

Returns the sum of any iterable sequence.

Note: to work with slimpy vectors and operators any zeros will not be summed.

Definition at line 26 of file slimMath.py.


Variable Documentation

string __copyright__

Initial value:

"""
Copyright 2008 Sean Ross-Ross
"""

Definition at line 1 of file slimMath.py.

string __license__

Initial value:

"""
This file is part of SLIMpy .

SLIMpy is free software: you can redistribute it and/or modify
it under the terms of the GNU Lesser General Public License as published by
the Free Software Foundation, either version 3 of the License, or
(at your option) any later version.

SLIMpy is distributed in the hope that it will be useful,
but WITHOUT ANY WARRANTY; without even the implied warranty of
MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
GNU Lesser General Public License for more details.

You should have received a copy of the GNU Lesser General Public License
along with SLIMpy . If not, see <http://www.gnu.org/licenses/>.
"""

Definition at line 4 of file slimMath.py.


Generated on Sun Aug 10 09:11:12 2008 for SLIMpy by  doxygen 1.5.6