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

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

src/p/y/PyPursuit-1.1.0/PyMP/mp.py   PyPursuit(Download)
    else:
        max_thread_flag = -1
    if parproj.initialize_plans(np.array(dictionary.sizes),
                                np.array([2] * len(dictionary.sizes)),
                                max_thread_flag) != 1:
    # FFTW Optimization for C code: initialize module global variables
    try:
        if parproj.initialize_plans(np.array(dictionary.sizes), np.array(dictionary.tolerances)) != 1:
            raise ValueError(
                "Something failed during FFTW initialization step ")