diff --git a/group__elliptic_ga399581902e638b91ced137b1673ab42e.html b/group__elliptic_ga399581902e638b91ced137b1673ab42e.html index 3ce713b1f4..85f320e4d6 100644 --- a/group__elliptic_ga399581902e638b91ced137b1673ab42e.html +++ b/group__elliptic_ga399581902e638b91ced137b1673ab42e.html @@ -156,14 +156,10 @@

Header file

eve::conditional_expr
Specifies that a type is a Conditional Expression.
Definition: conditional.hpp:27
eve::floating_value
The concept floating_value<T> is satisfied if and only if T satisfies eve::value and the underlying_t...
Definition: value.hpp:95
eve::logical_value
The concept logical_value<T> is satisfied if and only if T satisfies eve::value and the underlying_ty...
Definition: value.hpp:107
-
eve::ellint_d
constexpr auto ellint_d
elementwise_callable object computing the elliptic integral.
Definition: ellint_d.hpp:99
+
eve::ellint_d
constexpr auto ellint_d
elementwise_callable object computing the elliptic integral.
Definition: ellint_d.hpp:94
eve::phi
constexpr auto phi
Callable object computing the golden ratio : .
Definition: phi.hpp:77
eve
EVE Main Namespace.
Definition: abi.hpp:18
-
    -
  1. complete \(\mbox{D}\) elliptic integrals.
  2. -
  3. incomplete \(\mbox{D}\) elliptic integrals.
  4. -
-

Parameters

+

Parameters

Example

-
#include <eve/module/elliptic.hpp>
-
#include <eve/wide.hpp>
-
+
// revision 1
+
#include <eve/module/elliptic.hpp>
#include <iostream>
- -
-
int
-
main()
-
{
-
wide_ft pf = {1.0f, 0.1f, 0.75f, 0.5f};
-
-
std::cout << "---- simd" << '\n'
-
<< "<- pf = " << pf << '\n'
-
<< "-> ellint_d(pf) = " << eve::ellint_d(pf) << '\n';
-
-
float xf = 0.1f;
+
eve::wide wf{1.0, 0.0, 0.75, 0.5};;
+
eve::wide wphi{1.0, 1.0e-30, 0.5, 0.0};
-
std::cout << "---- scalar" << '\n'
-
<< "<- xf = " << xf << '\n'
-
<< "-> ellint_d(xf) = " << eve::ellint_d(xf) << '\n';
+
int main(){
+
std::cout << "<- wf = " << wf << "\n";
+
std::cout << "<- wphi = " << wphi << "\n";
-
wide_ft phi = {0.2f, 1.0e-30f, 0.5f, 0.3f};
-
std::cout << "---- simd" << '\n'
-
<< "<- phi = " << phi << '\n'
-
<< "<- pf = " << pf << '\n'
-
<< "-> ellint_d(phi, pf) = " << eve::ellint_d(phi, pf) << '\n';
+
std::cout << "-> ellint_d(wf) = " << eve::ellint_d(wf) << "\n";
+
std::cout << "-> ellint_d(wphi, wf) = " << eve::ellint_d(wphi, wf) << "\n";
+
std::cout << "-> ellint_d[ignore_last(2)](wf)= " << eve::ellint_d[eve::ignore_last(2)](wf) << "\n";
+
std::cout << "-> ellint_d[wf != 1.0](wf) = " << eve::ellint_d[wf != -1.0f](wf) << "\n";
+
std::cout << "-> ellint_d(pio_2,wf) = " << eve::ellint_d(eve::pio_2[eve::downward](eve::as(wphi)), wf) << '\n';
}
+
constexpr downward_type const downward
Higher-order Callable Object imbuing rounding downard semantic onto other Callable Objects.
Definition: roundings.hpp:161
+
constexpr auto pio_2
Callable object computing the constant .
Definition: pio_2.hpp:77
+
Lightweight type-wrapper.
Definition: as.hpp:29
+
Conditional expression ignoring the k last lanes from a eve::simd_value.
Definition: conditional.hpp:304
Wrapper for SIMD registers.
Definition: wide.hpp:65
diff --git a/group__elliptic_ga3e59785e4e4746bfe4ad3d4c05677d14.html b/group__elliptic_ga3e59785e4e4746bfe4ad3d4c05677d14.html index 60bf72331d..6deb6157c7 100644 --- a/group__elliptic_ga3e59785e4e4746bfe4ad3d4c05677d14.html +++ b/group__elliptic_ga3e59785e4e4746bfe4ad3d4c05677d14.html @@ -157,7 +157,7 @@

Header file

eve::conditional_expr
Specifies that a type is a Conditional Expression.
Definition: conditional.hpp:27
eve::floating_value
The concept floating_value<T> is satisfied if and only if T satisfies eve::value and the underlying_t...
Definition: value.hpp:95
eve::logical_value
The concept logical_value<T> is satisfied if and only if T satisfies eve::value and the underlying_ty...
Definition: value.hpp:107
-
eve::ellint_rf
constexpr auto ellint_rf
Computes the Carlson's elliptic integral .
Definition: ellint_rf.hpp:87
+
eve::ellint_rf
constexpr auto ellint_rf
Computes the Carlson's elliptic integral .
Definition: ellint_rf.hpp:86
eve
EVE Main Namespace.
Definition: abi.hpp:18

Parameters

Example

-
#include <eve/module/elliptic.hpp>
-
#include <eve/wide.hpp>
-
+
// revision 1
+
#include <eve/module/elliptic.hpp>
#include <iostream>
- +
eve::wide pf{1.0f, 0.0f, 1.5f, 3.0f};
+
eve::wide qf{1.0f, 4.0f, 0.2f, 0.5f};
+
eve::wide rf{2.0f, 1.0f, 0.1f, 0.4f};
-
int
-
main()
+
int main()
{
-
wide_ft pf = {1.0f, 0.0f, 1.5f, 3.0f};
-
wide_ft qf = {1.0f, 4.0f, 0.2f, 0.5f};
-
wide_ft rf = {2.0f, 1.0f, 0.1f, 0.4f};
-
-
std::cout << "---- simd" << '\n'
-
<< "<- pf = " << pf << '\n'
-
<< "<- qf = " << qf << '\n'
-
<< "<- rf = " << rf << '\n'
-
<< "-> ellint_rf(pf, qf, rf) = " << eve::ellint_rf(pf, qf, rf) << '\n';
-
-
float xf = 3.0f;
-
float yf = 0.5f;
-
float zf = 1.0f;
-
-
std::cout << "---- scalar" << '\n'
-
<< "<- xf = " << xf << '\n'
-
<< "<- yf = " << yf << '\n'
-
<< "<- zf = " << zf << '\n'
-
<< "-> ellint_rf(xf, yf, zf) = " << eve::ellint_rf(xf, yf, zf) << '\n';
+
std::cout << "<- pf = " << pf << "\n";
+
std::cout << "<- qf = " << qf << "\n";
+
std::cout << "<- rf = " << rf << "\n";
-
return 0;
+
std::cout << "-> ellint_rf(pf, qf, rf) = " << eve::ellint_rf(pf, qf, rf) << "\n";
+
std::cout << "-> ellint_rf[ignore_last(2)](pf, qf, rf)= " << eve::ellint_rf[eve::ignore_last(2)](pf, qf, rf) << "\n";
+
std::cout << "-> ellint_rf[qf != 4.0f](pf, qf, rf) = " << eve::ellint_rf[qf != 4.0f](pf, qf, rf) << "\n";
}
+
Conditional expression ignoring the k last lanes from a eve::simd_value.
Definition: conditional.hpp:304
Wrapper for SIMD registers.
Definition: wide.hpp:65
diff --git a/group__elliptic_ga5d9679ef9ad8f51745ca3ec29ba89c88.html b/group__elliptic_ga5d9679ef9ad8f51745ca3ec29ba89c88.html index 5894f2b14c..307ca016b8 100644 --- a/group__elliptic_ga5d9679ef9ad8f51745ca3ec29ba89c88.html +++ b/group__elliptic_ga5d9679ef9ad8f51745ca3ec29ba89c88.html @@ -156,7 +156,7 @@

Header file

eve::conditional_expr
Specifies that a type is a Conditional Expression.
Definition: conditional.hpp:27
eve::floating_value
The concept floating_value<T> is satisfied if and only if T satisfies eve::value and the underlying_t...
Definition: value.hpp:95
eve::logical_value
The concept logical_value<T> is satisfied if and only if T satisfies eve::value and the underlying_ty...
Definition: value.hpp:107
-
eve::ellint_2
constexpr auto ellint_2
elementwise_callable object computing the elliptic integrals of the second kind.
Definition: ellint_2.hpp:94
+
eve::ellint_2
constexpr auto ellint_2
elementwise_callable object computing the elliptic integrals of the second kind.
Definition: ellint_2.hpp:93
eve::phi
constexpr auto phi
Callable object computing the golden ratio : .
Definition: phi.hpp:77
eve
EVE Main Namespace.
Definition: abi.hpp:18

Parameters

@@ -180,39 +180,27 @@

External references

  • Wolfram MathWorld
  • Example

    -
    #include <eve/as.hpp>
    +
    // revision 1
    #include <eve/module/elliptic.hpp>
    -
    #include <eve/wide.hpp>
    -
    #include <iostream>
    - -
    -
    int
    -
    main()
    -
    {
    -
    wide_ft pf = {1.0f, 0.0f, 0.75f, 0.5f};
    -
    -
    std::cout << "---- simd" << '\n'
    -
    << "<- pf = " << pf << '\n'
    -
    << "-> ellint_2(pf) = " << eve::ellint_2(pf) << '\n';
    -
    -
    float xf = 0.1f;
    -
    -
    std::cout << "---- scalar" << '\n'
    -
    << "<- xf = " << xf << '\n'
    -
    << "-> ellint_2(xf,) = " << eve::ellint_2(xf) << '\n';
    +
    eve::wide wf{1.0, 0.0, 0.75, 0.5};;
    +
    eve::wide wphi{1.0, 1.0e-30, 0.5, 0.0};
    -
    wide_ft phi = {0.2f, 1.0e-30f, 0.5f, 0.0f};
    -
    std::cout << "---- simd" << '\n'
    -
    << "<- phi = " << phi << '\n'
    -
    << "-> ellint_2(phi, pf) = " << eve::ellint_2(phi, pf) << '\n'
    -
    << "-> ellint_2(pio2,pf) = " << eve::ellint_2(eve::pio_2(eve::as(phi)), pf) << '\n';
    +
    int main(){
    +
    std::cout << "<- wf = " << wf << "\n";
    +
    std::cout << "<- wphi = " << wphi << "\n";
    -
    return 0;
    +
    std::cout << "-> ellint_2(wf) = " << eve::ellint_2(wf) << "\n";
    +
    std::cout << "-> ellint_2(wphi, wf) = " << eve::ellint_2(wphi, wf) << "\n";
    +
    std::cout << "-> ellint_2[ignore_last(2)](wf)= " << eve::ellint_2[eve::ignore_last(2)](wf) << "\n";
    +
    std::cout << "-> ellint_2[wf != 1.0](wf) = " << eve::ellint_2[wf != -1.0f](wf) << "\n";
    +
    std::cout << "-> ellint_2(pio_2,wf) = " << eve::ellint_2(eve::pio_2[eve::downward](eve::as(wphi)), wf) << '\n';
    }
    +
    constexpr downward_type const downward
    Higher-order Callable Object imbuing rounding downard semantic onto other Callable Objects.
    Definition: roundings.hpp:161
    constexpr auto pio_2
    Callable object computing the constant .
    Definition: pio_2.hpp:77
    Lightweight type-wrapper.
    Definition: as.hpp:29
    +
    Conditional expression ignoring the k last lanes from a eve::simd_value.
    Definition: conditional.hpp:304
    Wrapper for SIMD registers.
    Definition: wide.hpp:65
    diff --git a/group__elliptic_ga973c72150eb0895626950fe21e83390e.html b/group__elliptic_ga973c72150eb0895626950fe21e83390e.html index c5bd1324ba..671fe0dabf 100644 --- a/group__elliptic_ga973c72150eb0895626950fe21e83390e.html +++ b/group__elliptic_ga973c72150eb0895626950fe21e83390e.html @@ -156,7 +156,7 @@

    Header file

    eve::conditional_expr
    Specifies that a type is a Conditional Expression.
    Definition: conditional.hpp:27
    eve::floating_value
    The concept floating_value<T> is satisfied if and only if T satisfies eve::value and the underlying_t...
    Definition: value.hpp:95
    eve::logical_value
    The concept logical_value<T> is satisfied if and only if T satisfies eve::value and the underlying_ty...
    Definition: value.hpp:107
    -
    eve::ellint_1
    constexpr auto ellint_1
    elementwise_callable object computing the elliptic integrals of the first kind.
    Definition: ellint_1.hpp:95
    +
    eve::ellint_1
    constexpr auto ellint_1
    elementwise_callable object computing the elliptic integrals of the first kind.
    Definition: ellint_1.hpp:94
    eve::phi
    constexpr auto phi
    Callable object computing the golden ratio : .
    Definition: phi.hpp:77
    eve
    EVE Main Namespace.
    Definition: abi.hpp:18

    Parameters

    @@ -180,38 +180,27 @@

    External references

  • Wolfram MathWorld
  • Example

    -
    #include <eve/module/elliptic.hpp>
    -
    #include <eve/wide.hpp>
    -
    +
    // revision 1
    +
    #include <eve/module/elliptic.hpp>
    #include <iostream>
    - -
    -
    int
    -
    main()
    -
    {
    -
    wide_ft pf = {1.0f, 0.0f, 0.75f, 0.5f};
    -
    -
    std::cout << "---- simd" << '\n'
    -
    << "<- pf = " << pf << '\n'
    -
    << "-> ellint_1(pf) = " << eve::ellint_1(pf) << '\n';
    -
    -
    float xf = 0.1f;
    -
    -
    std::cout << "---- scalar" << '\n'
    -
    << "<- xf = " << xf << '\n'
    -
    << "-> ellint_1(xf,) = " << eve::ellint_1(xf) << '\n';
    +
    eve::wide wf{1.0, 0.0, 0.75, 0.5};;
    +
    eve::wide wphi{1.0, 1.0e-30, 0.5, 0.0};
    -
    wide_ft phi = {0.2f, 1.0e-30f, 0.5f, 0.0f};
    -
    std::cout << "---- simd" << '\n'
    -
    << "<- phi = " << phi << '\n'
    -
    << "-> ellint_1(phi, pf) = " << eve::ellint_1(phi, pf) << '\n'
    -
    << "-> ellint_1(pio2,pf) = " << eve::ellint_1(eve::pio_2(eve::as(phi)), pf) << '\n';
    +
    int main(){
    +
    std::cout << "<- wf = " << wf << "\n";
    +
    std::cout << "<- wphi = " << wphi << "\n";
    -
    return 0;
    +
    std::cout << "-> ellint_1(wf) = " << eve::ellint_1(wf) << "\n";
    +
    std::cout << "-> ellint_1(wphi, wf) = " << eve::ellint_1(wphi, wf) << "\n";
    +
    std::cout << "-> ellint_1[ignore_last(2)](wf)= " << eve::ellint_1[eve::ignore_last(2)](wf) << "\n";
    +
    std::cout << "-> ellint_1[wf != 1.0](wf) = " << eve::ellint_1[wf != -1.0f](wf) << "\n";
    +
    std::cout << "-> ellint_1(pio_2, wf) = " << eve::ellint_1(eve::pio_2[eve::downward](eve::as(wphi)), wf) << '\n';
    }
    +
    constexpr downward_type const downward
    Higher-order Callable Object imbuing rounding downard semantic onto other Callable Objects.
    Definition: roundings.hpp:161
    constexpr auto pio_2
    Callable object computing the constant .
    Definition: pio_2.hpp:77
    Lightweight type-wrapper.
    Definition: as.hpp:29
    +
    Conditional expression ignoring the k last lanes from a eve::simd_value.
    Definition: conditional.hpp:304
    Wrapper for SIMD registers.
    Definition: wide.hpp:65
    diff --git a/group__elliptic_gac988dfdbc128cb466584e60b61c1eeef.html b/group__elliptic_gac988dfdbc128cb466584e60b61c1eeef.html index 6cdf239e45..4a57c23d20 100644 --- a/group__elliptic_gac988dfdbc128cb466584e60b61c1eeef.html +++ b/group__elliptic_gac988dfdbc128cb466584e60b61c1eeef.html @@ -155,7 +155,7 @@

    Header file

    eve::conditional_expr
    Specifies that a type is a Conditional Expression.
    Definition: conditional.hpp:27
    eve::floating_value
    The concept floating_value<T> is satisfied if and only if T satisfies eve::value and the underlying_t...
    Definition: value.hpp:95
    eve::logical_value
    The concept logical_value<T> is satisfied if and only if T satisfies eve::value and the underlying_ty...
    Definition: value.hpp:107
    -
    eve::ellint_1
    constexpr auto ellint_1
    elementwise_callable object computing the elliptic integrals of the first kind.
    Definition: ellint_1.hpp:95
    +
    eve::ellint_1
    constexpr auto ellint_1
    elementwise_callable object computing the elliptic integrals of the first kind.
    Definition: ellint_1.hpp:94
    eve
    EVE Main Namespace.
    Definition: abi.hpp:18

    Parameters

    Example

    -
    #include <eve/module/elliptic.hpp>
    -
    #include <eve/wide.hpp>
    -
    +
    // revision 1
    +
    #include <eve/module/elliptic.hpp>
    #include <iostream>
    - +
    eve::wide pf{1.0f, 0.0f, 1.5f, 3.0f};
    +
    eve::wide qf{1.0f, 4.0f, 0.2f, 0.5f};
    -
    int
    -
    main()
    +
    int main()
    {
    -
    wide_ft pf = {1.0f, 0.0f, 1.5f, 3.0f};
    -
    wide_ft qf = {1.0f, 4.0f, 0.2f, 0.5f};
    -
    -
    std::cout << "---- simd" << '\n'
    -
    << "<- pf = " << pf << '\n'
    -
    << "<- qf = " << qf << '\n'
    -
    << "-> ellint_rc(pf, qf) = " << eve::ellint_rc(pf, qf) << '\n';
    -
    -
    float xf = 3.0f;
    -
    float yf = 0.5f;
    -
    -
    std::cout << "---- scalar" << '\n'
    -
    << "<- xf = " << xf << '\n'
    -
    << "<- yf = " << yf << '\n'
    -
    << "-> ellint_rc(xf, yf) = " << eve::ellint_rc(xf, yf) << '\n';
    +
    std::cout << "<- pf = " << pf << "\n";
    +
    std::cout << "<- qf = " << qf << "\n";
    -
    return 0;
    +
    std::cout << "-> ellint_rc(pf, qf) = " << eve::ellint_rc(pf, qf) << "\n";
    +
    std::cout << "-> ellint_rc[ignore_last(2)](pf, qf)= " << eve::ellint_rc[eve::ignore_last(2)](pf, qf) << "\n";
    +
    std::cout << "-> ellint_rc[qf != 4.0f](pf, qf) = " << eve::ellint_rc[qf != 4.0f](pf, qf) << "\n";
    }
    -
    constexpr auto ellint_rc
    elementwise_callable object computing the degenerate Carlson's elliptic integral .
    Definition: ellint_rc.hpp:82
    +
    constexpr auto ellint_rc
    elementwise_callable object computing the degenerate Carlson's elliptic integral .
    Definition: ellint_rc.hpp:81
    +
    Conditional expression ignoring the k last lanes from a eve::simd_value.
    Definition: conditional.hpp:304
    Wrapper for SIMD registers.
    Definition: wide.hpp:65
    diff --git a/group__elliptic_gace14dc365b6b985985aabdddd0a213db.html b/group__elliptic_gace14dc365b6b985985aabdddd0a213db.html index abfba02579..446878bf61 100644 --- a/group__elliptic_gace14dc365b6b985985aabdddd0a213db.html +++ b/group__elliptic_gace14dc365b6b985985aabdddd0a213db.html @@ -158,7 +158,7 @@

    Header file

    eve::conditional_expr
    Specifies that a type is a Conditional Expression.
    Definition: conditional.hpp:27
    eve::floating_value
    The concept floating_value<T> is satisfied if and only if T satisfies eve::value and the underlying_t...
    Definition: value.hpp:95
    eve::logical_value
    The concept logical_value<T> is satisfied if and only if T satisfies eve::value and the underlying_ty...
    Definition: value.hpp:107
    -
    eve::ellint_rf
    constexpr auto ellint_rf
    Computes the Carlson's elliptic integral .
    Definition: ellint_rf.hpp:87
    +
    eve::ellint_rf
    constexpr auto ellint_rf
    Computes the Carlson's elliptic integral .
    Definition: ellint_rf.hpp:86
    eve
    EVE Main Namespace.
    Definition: abi.hpp:18

    Parameters

    Example

    -
    #include <eve/module/elliptic.hpp>
    -
    #include <eve/wide.hpp>
    -
    +
    // revision 1
    +
    #include <eve/module/elliptic.hpp>
    #include <iostream>
    - -
    -
    int
    -
    main()
    +
    eve::wide pf{1.0f, 0.0f, 1.5f, 3.0f};
    +
    eve::wide qf{1.0f, 4.0f, 0.2f, 0.5f};
    +
    eve::wide rf{2.0f, 1.0f, 0.1f, 0.4f};
    +
    eve::wide sf{0.19f, 0.5f, 0.87071f, 2.4f};
    +
    int main()
    {
    -
    wide_ft pf = {1.0f, 0.0f, 1.5f, 3.0f};
    -
    wide_ft qf = {1.0f, 4.0f, 0.2f, 0.5f};
    -
    -
    std::cout << "---- simd" << '\n'
    -
    << "<- pf = " << pf << '\n'
    -
    << "<- qf = " << qf << '\n'
    -
    << "-> ellint_rc(pf, qf) = " << eve::ellint_rc(pf, qf) << '\n';
    -
    -
    float xf = 3.0f;
    -
    float yf = 0.5f;
    -
    -
    std::cout << "---- scalar" << '\n'
    -
    << "<- xf = " << xf << '\n'
    -
    << "<- yf = " << yf << '\n'
    -
    << "-> ellint_rc(xf, yf) = " << eve::ellint_rc(xf, yf) << '\n';
    +
    std::cout << "<- pf = " << pf << "\n";
    +
    std::cout << "<- qf = " << qf << "\n";
    +
    std::cout << "<- rf = " << rf << "\n";
    +
    std::cout << "<- sf = " << sf << "\n";
    -
    return 0;
    +
    std::cout << "-> ellint_rj(pf, qf, rf, sf) = " << eve::ellint_rj(pf, qf, rf, sf) << "\n";
    +
    std::cout << "-> ellint_rj[ignore_last(2)](pf, qf, rf, sf)= " << eve::ellint_rj[eve::ignore_last(2)](pf, qf, rf, sf) << "\n";
    +
    std::cout << "-> ellint_rj[qf != 4.0f](pf, qf, rf, sf) = " << eve::ellint_rj[qf != 4.0f](pf, qf, rf, sf) << "\n";
    }
    -
    constexpr auto ellint_rc
    elementwise_callable object computing the degenerate Carlson's elliptic integral .
    Definition: ellint_rc.hpp:82
    +
    constexpr auto ellint_rj
    Computes the Carlson's elliptic integral .
    Definition: ellint_rj.hpp:91
    +
    Conditional expression ignoring the k last lanes from a eve::simd_value.
    Definition: conditional.hpp:304
    Wrapper for SIMD registers.
    Definition: wide.hpp:65
    diff --git a/group__elliptic_gae014d130bf719deafe7b2879e5d8ac0e.html b/group__elliptic_gae014d130bf719deafe7b2879e5d8ac0e.html index c1c44e7281..bfa350b795 100644 --- a/group__elliptic_gae014d130bf719deafe7b2879e5d8ac0e.html +++ b/group__elliptic_gae014d130bf719deafe7b2879e5d8ac0e.html @@ -157,7 +157,7 @@

    Header file

    eve::conditional_expr
    Specifies that a type is a Conditional Expression.
    Definition: conditional.hpp:27
    eve::floating_value
    The concept floating_value<T> is satisfied if and only if T satisfies eve::value and the underlying_t...
    Definition: value.hpp:95
    eve::logical_value
    The concept logical_value<T> is satisfied if and only if T satisfies eve::value and the underlying_ty...
    Definition: value.hpp:107
    -
    eve::ellint_rg
    constexpr auto ellint_rg
    Computes the Carlson's elliptic integral .
    Definition: ellint_rg.hpp:91
    +
    eve::ellint_rg
    constexpr auto ellint_rg
    Computes the Carlson's elliptic integral .
    Definition: ellint_rg.hpp:90
    eve
    EVE Main Namespace.
    Definition: abi.hpp:18

    Parameters

    Example

    -
    #include <eve/module/elliptic.hpp>
    -
    #include <eve/wide.hpp>
    -
    +
    // revision 1
    +
    #include <eve/module/elliptic.hpp>
    #include <iostream>
    - +
    eve::wide pf{1.0f, 0.0f, 1.5f, 3.0f};
    +
    eve::wide qf{1.0f, 4.0f, 0.2f, 0.5f};
    +
    eve::wide rf{2.0f, 1.0f, 0.1f, 0.4f};
    -
    int
    -
    main()
    +
    int main()
    {
    -
    wide_ft pf = {1.0f, 0.0f, 1.5f, 3.0f};
    -
    wide_ft qf = {1.0f, 4.0f, 0.2f, 0.5f};
    -
    -
    std::cout << "---- simd" << '\n'
    -
    << "<- pf = " << pf << '\n'
    -
    << "<- qf = " << qf << '\n'
    -
    << "-> ellint_rc(pf, qf) = " << eve::ellint_rc(pf, qf) << '\n';
    -
    -
    float xf = 3.0f;
    -
    float yf = 0.5f;
    -
    -
    std::cout << "---- scalar" << '\n'
    -
    << "<- xf = " << xf << '\n'
    -
    << "<- yf = " << yf << '\n'
    -
    << "-> ellint_rc(xf, yf) = " << eve::ellint_rc(xf, yf) << '\n';
    +
    std::cout << "<- pf = " << pf << "\n";
    +
    std::cout << "<- qf = " << qf << "\n";
    +
    std::cout << "<- rf = " << rf << "\n";
    -
    return 0;
    +
    std::cout << "-> ellint_rg(pf, qf, rf) = " << eve::ellint_rg(pf, qf, rf) << "\n";
    +
    std::cout << "-> ellint_rg[ignore_last(2)](pf, qf, rf)= " << eve::ellint_rg[eve::ignore_last(2)](pf, qf, rf) << "\n";
    +
    std::cout << "-> ellint_rg[qf != 4.0f](pf, qf, rf) = " << eve::ellint_rg[qf != 4.0f](pf, qf, rf) << "\n";
    }
    -
    constexpr auto ellint_rc
    elementwise_callable object computing the degenerate Carlson's elliptic integral .
    Definition: ellint_rc.hpp:82
    +
    Conditional expression ignoring the k last lanes from a eve::simd_value.
    Definition: conditional.hpp:304
    Wrapper for SIMD registers.
    Definition: wide.hpp:65
    diff --git a/group__elliptic_gaf90bbb98375d43dd1c8a3c6c77f66d28.html b/group__elliptic_gaf90bbb98375d43dd1c8a3c6c77f66d28.html index 66a67f0760..a47a1c6108 100644 --- a/group__elliptic_gaf90bbb98375d43dd1c8a3c6c77f66d28.html +++ b/group__elliptic_gaf90bbb98375d43dd1c8a3c6c77f66d28.html @@ -156,7 +156,7 @@

    Header file

    eve::conditional_expr
    Specifies that a type is a Conditional Expression.
    Definition: conditional.hpp:27
    eve::floating_value
    The concept floating_value<T> is satisfied if and only if T satisfies eve::value and the underlying_t...
    Definition: value.hpp:95
    eve::logical_value
    The concept logical_value<T> is satisfied if and only if T satisfies eve::value and the underlying_ty...
    Definition: value.hpp:107
    -
    eve::ellint_rd
    constexpr auto ellint_rd
    elementwise_callable object computing the Carlson's elliptic integral .
    Definition: ellint_rd.hpp:84
    +
    eve::ellint_rd
    constexpr auto ellint_rd
    elementwise_callable object computing the Carlson's elliptic integral .
    Definition: ellint_rd.hpp:83
    eve
    EVE Main Namespace.
    Definition: abi.hpp:18

    Parameters

    Example

    -
    #include <eve/module/elliptic.hpp>
    -
    #include <eve/wide.hpp>
    -
    +
    // revision 1
    +
    #include <eve/module/elliptic.hpp>
    #include <iostream>
    - +
    eve::wide pf{1.0f, 0.0f, 1.5f, 3.0f};
    +
    eve::wide qf{1.0f, 4.0f, 0.2f, 0.5f};
    -
    int
    -
    main()
    +
    int main()
    {
    -
    wide_ft pf = {1.0f, 0.0f, 1.5f, 3.0f};
    -
    wide_ft qf = {1.0f, 4.0f, 0.2f, 0.5f};
    -
    -
    std::cout << "---- simd" << '\n'
    -
    << "<- pf = " << pf << '\n'
    -
    << "<- qf = " << qf << '\n'
    -
    << "-> ellint_rc(pf, qf) = " << eve::ellint_rc(pf, qf) << '\n';
    -
    -
    float xf = 3.0f;
    -
    float yf = 0.5f;
    -
    -
    std::cout << "---- scalar" << '\n'
    -
    << "<- xf = " << xf << '\n'
    -
    << "<- yf = " << yf << '\n'
    -
    << "-> ellint_rc(xf, yf) = " << eve::ellint_rc(xf, yf) << '\n';
    +
    std::cout << "<- pf = " << pf << "\n";
    +
    std::cout << "<- qf = " << qf << "\n";
    -
    return 0;
    +
    std::cout << "-> ellint_rc(pf, qf) = " << eve::ellint_rc(pf, qf) << "\n";
    +
    std::cout << "-> ellint_rc[ignore_last(2)](pf, qf)= " << eve::ellint_rc[eve::ignore_last(2)](pf, qf) << "\n";
    +
    std::cout << "-> ellint_rc[qf != 4.0f](pf, qf) = " << eve::ellint_rc[qf != 4.0f](pf, qf) << "\n";
    }
    -
    constexpr auto ellint_rc
    elementwise_callable object computing the degenerate Carlson's elliptic integral .
    Definition: ellint_rc.hpp:82
    +
    constexpr auto ellint_rc
    elementwise_callable object computing the degenerate Carlson's elliptic integral .
    Definition: ellint_rc.hpp:81
    +
    Conditional expression ignoring the k last lanes from a eve::simd_value.
    Definition: conditional.hpp:304
    Wrapper for SIMD registers.
    Definition: wide.hpp:65