Opened 7 years ago
Last modified 7 years ago
#11706 new Bugs
The Bessel function can not support to use complex parameter
Reported by: | Owned by: | John Maddock | |
---|---|---|---|
Milestone: | To Be Determined | Component: | math |
Version: | Boost 1.57.0 | Severity: | Problem |
Keywords: | Cc: |
Description
Codes are following:
#include <boost/math/special_functions/bessel.hpp> #include <iostream> /*using namespace std;*/ int main(){
std::complex<double> c(1,1); std::cout<<boost::math::cyl_bessel_i(1,5)<<std::endl; std::cout<<boost::math::cyl_bessel_i(1,c)<<std::endl;
}
the std::cout<<boost::math::cyl_bessel_i(1,5)<<std::endl; can implement; But if the second parameter is complex number, it doesn't work.
Attachments (2)
Change History (3)
by , 7 years ago
Attachment: | besseltest.cpp added |
---|
comment:1 by , 7 years ago
Component: | None → math |
---|---|
Owner: | set to |
Note:
See TracTickets
for help on using tickets.
Sorry, the cpp file should be this.