Ask Your Question

Podias_k's profile - activity

2018-07-08 08:38:35 -0600 received badge  Popular Question (source)
2017-10-24 04:53:12 -0600 received badge  Taxonomist
2011-02-07 01:27:07 -0600 received badge  Good Question (source)
2011-02-05 07:06:44 -0600 received badge  Nice Question (source)
2011-02-05 07:02:51 -0600 received badge  Student (source)
2011-02-05 06:34:11 -0600 asked a question Including a sage library in c code

I have a .c file implementing some calculations on lattice basis. I use NTL, GMP and MPFR for my data types and functios. I'd like to use as input for my calculations some basis matrices generated by sage.crypto.lattice.gen_lattice.

  1. Is it possible for me to include "something" so I can call this function in my code and get the matrices?

  2. Is there any other way to export this matrices and import them to my c code? (I need to do these calculations for at least 100 different basis of 200,250,500 size so the process must be as "automated" as possible)