Did I find the right examples for you? yes no

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

src/c/o/cogent-1.5.3/cogent/util/array.py   cogent(Download)
from numpy.random import randint, normal
import numpy
from cogent.util.transform import cross_comb
 
def cartesian_product(lists):
    Provided for compatibility.
    """
    return map(tuple, cross_comb(lists))
 
numerictypes = numpy.core.numerictypes.sctype2char

src/p/y/pycogent-HEAD/cogent/util/array.py   pycogent(Download)
from numpy.random import randint, normal
import numpy
from cogent.util.transform import cross_comb
 
def cartesian_product(lists):
    Provided for compatibility.
    """
    return map(tuple, cross_comb(lists))
 
numerictypes = numpy.core.numerictypes.sctype2char

src/c/o/cogent-1.5.3/tests/test_util/test_transform.py   cogent(Download)
from cogent.util.unit_test import TestCase, main
from cogent.util.misc import identity
from cogent.util.transform import apply_each, bools, bool_each, \
    conjoin, all, both,\
    disjoin, any, either, negate, none, neither, compose, compose_many, \

src/p/y/pycogent-HEAD/tests/test_util/test_transform.py   pycogent(Download)
from cogent.util.unit_test import TestCase, main
from cogent.util.misc import identity
from cogent.util.transform import apply_each, bools, bool_each, \
    conjoin, all, both,\
    disjoin, any, either, negate, none, neither, compose, compose_many, \