Skip to content

Faster plug-in multi-threaded enumeration library for fplll

License

Notifications You must be signed in to change notification settings

cr-marcstevens/fplll-extenum

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 

Repository files navigation

fplll-extenum

External enumeration library for fplll

Building

  • Install fplll & fpylll in a virtualenv, ensure $VIRTUAL_ENV is set to the virtual environment directory

  • make -C lib install

Usage

In a C++ program:

#include <fplll/enumlib.hpp>

void activate_enumlib()
{
  fplll_register_enumlib();
  // enumlib_set_numthreads(4); // default is to use all logical cores
}

In a Python program using fpylll:

import ctypes
enumlib = ctypes.cdll.LoadLibrary("libfplll_enumlib.so")
enumlib.fplll_register_enumlib()
#enumlib.enumlib_set_numthreads(4) # default is to use all logical cores

About

Faster plug-in multi-threaded enumeration library for fplll

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published