Hello, At some point you need a C++ compiler, so unless you want to package ensmallen and provide a build for various systems (linux, macOS, windows, etc.), export the interface I don't think you can get around the C++ compiler dependecy.
But README.md does mention that "QuEST is easy to run both on laptops and supercomputers (in both C and C++)," so I'm wondering if you have to rewrite anything if you can compile the code with a C++ compiler you are good to go. Thanks, Marcus > On 21. Jan 2020, at 23:46, Rugantio Costa <[email protected]> wrote: > > Hi Marcus, > Thanks for replying. Ensmallen would be enough! > > > Il giorno mar 21 gen 2020 alle ore 21:16 Marcus Edel > <[email protected] <mailto:[email protected]>> ha scritto: > Hello Costa, > > glad you like the project since you mentioned you like to use some of mlpack's > optimizers, do you mean you like to include ensmallen or mlpack? mlpack used > to > implement optimizers, but at some point, we outsourced the optimization part > and > created an optimization framework called ensmallen > (https://github.com/mlpack/ensmallen <https://github.com/mlpack/ensmallen>). > > Thanks, > Marcus > >> On 21. Jan 2020, at 05:22, Rugantio Costa <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hello list! >> First of all thank you for this great piece of software! I'm a researcher in >> physics, I wrote a project in C for quantum system simulations (based on >> https://github.com/quest-kit/QuEST <https://github.com/quest-kit/QuEST>) and >> I'm using nlopt as my main optimization lib but I would absolutely love to >> include some of the mlpack optimizers! Is there any way to have mlpack >> functions callable from my C code? I mean, is there any way I can hack my >> way into this or should I give up and just rewrite everything in C++? >> Thanks for any eventual suggestions! >> >> Costa >> _______________________________________________ >> mlpack mailing list >> [email protected] <mailto:[email protected]> >> http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack >> <http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack> >
_______________________________________________ mlpack mailing list [email protected] http://knife.lugatgt.org/cgi-bin/mailman/listinfo/mlpack
