26 Sep
2016
26 Sep
'16
3:22 a.m.
On 9/25/2016 6:30 PM, Christopher Kormanyos wrote: > >> I'm working on a C++ implementation of the Lambert W >> (a.k.a. product logarithm or Omega function) and I wanted to ask >> the Boost developer community if there is interest in adding it to the >> library. > >> The current version can be found on GitHub: > In my opinion, this is an interesting function. > After a very quick look at the code, I noticed three potentialissues. > 1) There are instances of constexpr commented outin the code. The macro BOOST_CONSTEXPR is availablein. This macro selects the appropriateversion of constexpr (or none at all) for the given compilerat compile time. > 2) There is use of std::arrayin the code. I believe that one ofthe strengths of Boost.Math is compatibility with C++03.You might consider replacing and std::arraywith and boost::array. This is because and std::array are only available in C++11 or beyond. You could also pretty easily use my CXX Dual library ( https://github.com/eldiener/cxx_dual.git) to use std::array when it is available, otherwise boost::array. > 3) Testing is required for inclusion the the library. > John might have more to say. > > Thank you for your interest, Chris. > > > On Sunday, September 25, 2016 2:33 PM, Balázs Cziráki wrote: > > > Greetings! > > I'm working on a C++ implementation of the Lambert W > (a.k.a. product logarithm or Omega function) and I wanted to ask > the Boost developer community if there is interest in adding it to the > library. > > The current version can be found on GitHub: > > https://github.com/CzB404/lambert_w/ > > I've successfully tested it with Cygwin GCC v5.4, v6.2 > and with MinGW GCC that is supplied with Code::Blocks, > and also on Visual Studio 2015. > A test on a Linux based OS (probably Ubuntu) is also going to happen. > > Any suggestions or constructive criticism is welcome. > > Best regards, > Balázs Cziráki > > _______________________________________________ > Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost > > > > _______________________________________________ > Unsubscribe & other changes: http://lists.boost.org/mailman/listinfo.cgi/boost >