Did I find the right examples for you? yes no      Crawl my project      Python Jobs

All Samples(2)  |  Call(0)  |  Derive(0)  |  Import(2)

        def prod(l):
    return reduce(operator.mul,l,numberType.const(1.0))

src/b/b/bbchop-HEAD/BBChop/source/dag.py   bbchop(Download)
from listUtils import listSub,prod,listComb,listCond
import persistentMemo
import cse

src/b/b/bbchop-HEAD/BBChop/tests/dumbdag.py   bbchop(Download)
#    along with BBChop.  If not, see <http://www.gnu.org/licenses/>.
import dagAlg
from listUtils import listSub,prod
# class for computing over directed acyclic graphs.
# values are held outside the graph object, in lists