-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
17 changed files
with
202 additions
and
21 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#include <kyosu/kyosu.hpp> | ||
#include <eve/wide.hpp> | ||
#include <iostream> | ||
|
||
int main() | ||
{ | ||
std::cout.precision(16); | ||
using w_t = eve::wide<double, eve::fixed<2>>; | ||
auto z = kyosu::complex(w_t(20.0, 1.5), w_t(0.0, 1.5)); | ||
auto v = 0.0; | ||
std::cout << "z " << z << std::endl; | ||
for(int n=0; n <= 3; ++n) | ||
{ | ||
auto h1 = kyosu::cyl_bessel_h1(v, z); | ||
std::cout << "v " << v << std::endl; | ||
std::cout << "yl_bessel_h1(v, z) " << h1 << std::endl; | ||
v = v+0.25; | ||
} | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#include <kyosu/kyosu.hpp> | ||
#include <eve/wide.hpp> | ||
#include <iostream> | ||
|
||
int main() | ||
{ | ||
std::cout.precision(16); | ||
using w_t = eve::wide<double, eve::fixed<2>>; | ||
auto z = kyosu::complex(w_t(20.0, 1.5), w_t(0.0, 1.5)); | ||
auto v = 3.3; | ||
std::cout << "z " << z << std::endl; | ||
std::vector<decltype(z)> h1(4), h2(4); | ||
kyosu::cyl_bessel_h12(v, z, h1, h2); | ||
for(int n=0; n <= 3; ++n) | ||
{ | ||
std::cout << "h1[" << n << "] = " << h1[n] << std::endl; | ||
std::cout << "h2[" << n << "] = " << h2[n] << std::endl; | ||
} | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#include <kyosu/kyosu.hpp> | ||
#include <eve/wide.hpp> | ||
#include <iostream> | ||
|
||
int main() | ||
{ | ||
std::cout.precision(16); | ||
using w_t = eve::wide<double, eve::fixed<2>>; | ||
auto z = kyosu::complex(w_t(20.0, 1.5), w_t(0.0, 1.5)); | ||
std::cout << "z " << z << std::endl; | ||
std::cout << "cyl_bessel_h1_0(z) " << kyosu::cyl_bessel_h1_0(z) << std::endl; | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#include <kyosu/kyosu.hpp> | ||
#include <eve/wide.hpp> | ||
#include <iostream> | ||
|
||
int main() | ||
{ | ||
std::cout.precision(16); | ||
using w_t = eve::wide<double, eve::fixed<2>>; | ||
auto z = kyosu::complex(w_t(20.0, 1.5), w_t(0.0, 1.5)); | ||
std::cout << "z " << z << std::endl; | ||
std::cout << "cyl_bessel_h1_1(z) " << kyosu::cyl_bessel_h1_1(z) << std::endl; | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,20 @@ | ||
#include <kyosu/kyosu.hpp> | ||
#include <eve/wide.hpp> | ||
#include <iostream> | ||
|
||
int main() | ||
{ | ||
std::cout.precision(16); | ||
using w_t = eve::wide<double, eve::fixed<2>>; | ||
auto z = kyosu::complex(w_t(20.0, 1.5), w_t(0.0, 1.5)); | ||
auto v = 0.0; | ||
std::cout << "z " << z << std::endl; | ||
for(int n=0; n <= 3; ++n) | ||
{ | ||
auto h2 = kyosu::cyl_bessel_h2(v, z); | ||
std::cout << "v " << v << std::endl; | ||
std::cout << "yl_bessel_h2(v, z) " << h2 << std::endl; | ||
v = v+0.25; | ||
} | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#include <kyosu/kyosu.hpp> | ||
#include <eve/wide.hpp> | ||
#include <iostream> | ||
|
||
int main() | ||
{ | ||
std::cout.precision(16); | ||
using w_t = eve::wide<double, eve::fixed<2>>; | ||
auto z = kyosu::complex(w_t(20.0, 1.5), w_t(0.0, 1.5)); | ||
std::cout << "z " << z << std::endl; | ||
std::cout << "cyl_bessel_h2_0(z) " << kyosu::cyl_bessel_h2_0(z) << std::endl; | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
#include <kyosu/kyosu.hpp> | ||
#include <eve/wide.hpp> | ||
#include <iostream> | ||
|
||
int main() | ||
{ | ||
std::cout.precision(16); | ||
using w_t = eve::wide<double, eve::fixed<2>>; | ||
auto z = kyosu::complex(w_t(20.0, 1.5), w_t(0.0, 1.5)); | ||
std::cout << "z " << z << std::endl; | ||
std::cout << "cyl_bessel_h2_1(z) " << kyosu::cyl_bessel_h2_1(z) << std::endl; | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#include <kyosu/kyosu.hpp> | ||
#include <eve/wide.hpp> | ||
#include <iostream> | ||
|
||
int main() | ||
{ | ||
std::cout.precision(16); | ||
using w_t = eve::wide<double, eve::fixed<2>>; | ||
auto z = kyosu::complex(w_t(20.0, 1.5), w_t(0.0, 1.5)); | ||
auto v = 3.3; | ||
std::cout << "z " << z << std::endl; | ||
std::vector<decltype(z)> is(4); | ||
kyosu::cyl_bessel_i(v, z, is); | ||
for(int n=0; n <= 3; ++n) | ||
{ | ||
std::cout << "is[" << n << "] = " << is[n] << std::endl; | ||
} | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#include <kyosu/kyosu.hpp> | ||
#include <eve/wide.hpp> | ||
#include <iostream> | ||
|
||
int main() | ||
{ | ||
std::cout.precision(16); | ||
using w_t = eve::wide<double, eve::fixed<2>>; | ||
auto z = kyosu::complex(w_t(20.0, 1.5), w_t(0.0, 1.5)); | ||
auto v = 3.3; | ||
std::cout << "z " << z << std::endl; | ||
std::vector<decltype(z)> js(4); | ||
kyosu::cyl_bessel_j(v, z, js); | ||
for(int n=0; n <= 3; ++n) | ||
{ | ||
std::cout << "js[" << n << "] = " << js[n] << std::endl; | ||
} | ||
return 0; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,19 @@ | ||
#include <kyosu/kyosu.hpp> | ||
#include <eve/wide.hpp> | ||
#include <iostream> | ||
|
||
int main() | ||
{ | ||
std::cout.precision(16); | ||
using w_t = eve::wide<double, eve::fixed<2>>; | ||
auto z = kyosu::complex(w_t(20.0, 1.5), w_t(0.0, 1.5)); | ||
auto v = 3.3; | ||
std::cout << "z " << z << std::endl; | ||
std::vector<decltype(z)> ks(4); | ||
kyosu::cyl_bessel_k(v, z, ks); | ||
for(int n=0; n <= 3; ++n) | ||
{ | ||
std::cout << "ks[" << n << "] = " << ks[n] << std::endl; | ||
} | ||
return 0; | ||
} |