Boost logo

Boost Users :

Subject: [Boost-users] Using boost modified bessel functions with complex arguments
From: Ross Kynch (r.m.kynch_at_[hidden])
Date: 2015-08-25 06:52:50

Dear all,

Does anyone know how to call boost's modified bessel function of the
first kind using a complex argument?

Specifically I want the positive half integer order with complex
argument so I use:

#include <boost/math/special_functions/bessel.hpp>

std::complex<double> output = boost::math::cyl_bessel_i(double nhalf,
std::complex<double> x);

but this gives me a huge list of compiler errors which seems to suggest
the std::complex<double> template isn't valid. I am able to call other
boost math library functions so I don't believe my install is to blame here.

Thanks for any help


Boost-users list run by williamkempf at, kalb at, bjorn.karlsson at, gregod at, wekempf at