Cremona’s mwrank C++ library

sage.libs.mwrank.all.mwrank_initprimes(filename, verb=False)

mwrank_initprimes(filename, verb=False):


  • filename - (string) the name of a file of primes
  • verb - (bool: default False) verbose or not?


sage: file = tmp_filename()
sage: open(file,'w').write(' '.join([str(p) for p in prime_range(10^6)]))
sage: mwrank_initprimes(file, verb=False)

Previous topic

Victor Shoup’s NTL C++ Library

Next topic

Cython interface to Cremona’s eclib library (also known as mwrank)

This Page