diff --git a/group__functions.html b/group__functions.html index a2b6036e..c5905e19 100644 --- a/group__functions.html +++ b/group__functions.html @@ -145,12 +145,24 @@ constexpr tags::callable_convert kyosu::convert = {}  Select a value between two arguments based on a logical mask.
  +constexpr tags::callable_cos kyosu::cos = {} + Computes the cosine of the argument.
+  constexpr tags::callable_cosh kyosu::cosh = {}  Computes the hyperbolic cosine of the argument.
  +constexpr tags::callable_cot kyosu::cot = {} + Computes the cotangent of the argument.
+  constexpr tags::callable_coth kyosu::coth = {}  Computes the hyperbolic cotangent of the argument.
  +constexpr tags::callable_csc kyosu::csc = {} + Computes the cosecant of the argument.
+  +constexpr tags::callable_csch kyosu::csch = {} + Computes the hyperbolic cscant of the argument.
+  constexpr tags::callable_dec kyosu::dec = {}  decrements the argument by 1.
  @@ -247,6 +259,18 @@ constexpr tags::callable_lerp kyosu::lerp = {}  Computes the linear interpolation.
  +constexpr tags::callable_log kyosu::log = {} + Computes the natural logarithm of the argument.
+  +constexpr tags::callable_log10 kyosu::log10 = {} + Computes the base 10 logarithm of the argument.
+  +constexpr tags::callable_log1p kyosu::log1p = {} + Computes the natural logarithm of the argument plus 1.
+  +constexpr tags::callable_log2 kyosu::log2 = {} + Computes the base 2 logarithm of the argument.
+  constexpr tags::callable_minus kyosu::minus = {}  Computes the opposite value.
  @@ -268,6 +292,21 @@ constexpr tags::callable_reldist kyosu::reldist = {}  Computes the relative distance between the two parameters.
  +constexpr tags::callable_sec kyosu::sec = {} + Computes the secant of the argument.
+  +constexpr tags::callable_sech kyosu::sech = {} + Computes the hyperbolic secant of the argument.
+  +constexpr tags::callable_sign kyosu::sign = {} + Computes tne normalized value z/abs(z) if z is not zero else 0.
+  +constexpr tags::callable_sin kyosu::sin = {} + Computes the sine of the argument.
+  +constexpr tags::callable_sincos kyosu::sincos = {} + Computes simultaneously the sine and cosine of the argument.
+  constexpr tags::callable_sinh kyosu::sinh = {}  Computes the hyperbolic sine of the argument.
  @@ -280,6 +319,12 @@ constexpr tags::callable_sqr_abs kyosu::sqr_abs = {}  Computes the squared absolute value of the parameter.
  +constexpr tags::callable_sqrt kyosu::sqrt = {} + Computes a square root value.
+  +constexpr tags::callable_tan kyosu::tan = {} + Computes the tangent of the argument.
+  constexpr tags::callable_tanh kyosu::tanh = {}  Computes the hyperbolic tangent of the argument.
  diff --git a/group__functions_ga26c8821ba25972647692322f5236a370.html b/group__functions_ga26c8821ba25972647692322f5236a370.html new file mode 100644 index 00000000..a1b64f45 --- /dev/null +++ b/group__functions_ga26c8821ba25972647692322f5236a370.html @@ -0,0 +1,181 @@ + + + + + + + + +kyosu: kyosu::sin + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
kyosu v0.1.0 +
+
Complex Without Complexes
+
+ +   + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ sin

+ +
+
+ + + + + +
+ + + + +
kyosu::sin = {}
+
+inlineconstexpr
+
+ +

Computes the sine of the argument.

+

Defined in Header

+
#include <kyosu/functions.hpp>
+

Callable Signatures

+
namespace kyosu
+
{
+
template<kyosu::concepts::cayley_dickson T> constexpr T sin(T z) noexcept;
+
template<eve::ordered_value T> constexpr T sin(T z) noexcept;
+
}
+
constexpr tags::callable_sin sin
Computes the sine of the argument.
Definition: sin.hpp:73
+
Main KYOSU namespace.
Definition: types.hpp:14
+

Parameters

+
    +
  • z : Value to process.
  • +
+

Return value

+

Returns the sine of the argument.

+

Example

+
+
+
+
+
+ + + + + + + + + + diff --git a/group__functions_ga2f8614d64bb1b781e4496b56b0accfa1.html b/group__functions_ga2f8614d64bb1b781e4496b56b0accfa1.html new file mode 100644 index 00000000..25e744da --- /dev/null +++ b/group__functions_ga2f8614d64bb1b781e4496b56b0accfa1.html @@ -0,0 +1,181 @@ + + + + + + + + +kyosu: kyosu::tan + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
kyosu v0.1.0 +
+
Complex Without Complexes
+
+ +   + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ tan

+ +
+
+ + + + + +
+ + + + +
kyosu::tan = {}
+
+inlineconstexpr
+
+ +

Computes the tangent of the argument.

+

Defined in Header

+
#include <kyosu/functions.hpp>
+

Callable Signatures

+
namespace kyosu
+
{
+
template<kyosu::concepts::cayley_dickson T> constexpr T tan(T z) noexcept;
+
template<eve::ordered_value T> constexpr T tan(T z) noexcept;
+
}
+
constexpr tags::callable_tan tan
Computes the tangent of the argument.
Definition: tan.hpp:73
+
Main KYOSU namespace.
Definition: types.hpp:14
+

Parameters

+
    +
  • z : Value to process.
  • +
+

Return value

+

Returns the tangent of the argument.

+

Example

+
+
+
+
+
+ + + + + + + + + + diff --git a/group__functions_ga308a170dbf61d3a4aba52d975abf902e.html b/group__functions_ga308a170dbf61d3a4aba52d975abf902e.html new file mode 100644 index 00000000..68ab58d7 --- /dev/null +++ b/group__functions_ga308a170dbf61d3a4aba52d975abf902e.html @@ -0,0 +1,181 @@ + + + + + + + + +kyosu: kyosu::sec + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
kyosu v0.1.0 +
+
Complex Without Complexes
+
+ +   + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ sec

+ +
+
+ + + + + +
+ + + + +
kyosu::sec = {}
+
+inlineconstexpr
+
+ +

Computes the secant of the argument.

+

Defined in Header

+
#include <kyosu/functions.hpp>
+

Callable Signatures

+
namespace kyosu
+
{
+
template<kyosu::concepts::cayley_dickson T> constexpr T sec(T z) noexcept;
+
template<eve::ordered_value T> constexpr T sec(T z) noexcept;
+
}
+
constexpr tags::callable_sec sec
Computes the secant of the argument.
Definition: sec.hpp:73
+
Main KYOSU namespace.
Definition: types.hpp:14
+

Parameters

+
    +
  • z : Value to process.
  • +
+

Return value

+

Returns the secant of the argument.

+

Example

+
+
+
+
+
+ + + + + + + + + + diff --git a/group__functions_ga398aa088354c3b9d0a0a1b5d6b7145f9.html b/group__functions_ga398aa088354c3b9d0a0a1b5d6b7145f9.html new file mode 100644 index 00000000..effa00e5 --- /dev/null +++ b/group__functions_ga398aa088354c3b9d0a0a1b5d6b7145f9.html @@ -0,0 +1,181 @@ + + + + + + + + +kyosu: kyosu::log + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
kyosu v0.1.0 +
+
Complex Without Complexes
+
+ +   + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ log

+ +
+
+ + + + + +
+ + + + +
kyosu::log = {}
+
+inlineconstexpr
+
+ +

Computes the natural logarithm of the argument.

+

Defined in Header

+
#include <kyosu/functions.hpp>
+

Callable Signatures

+
namespace kyosu
+
{
+
template<kyosu::concepts::cayley_dickson T> constlogr T log(T z) noexcept;
+
template<eve::ordered_value T> constlogr T log(T z) noexcept;
+
}
+
constexpr tags::callable_log log
Computes the natural logarithm of the argument.
Definition: log.hpp:78
+
Main KYOSU namespace.
Definition: types.hpp:14
+

Parameters

+
    +
  • z : Value to process.
  • +
+

Return value

+

Returns the log(z). If z is an ordered value log returns a complex typed value.

+

Example

+
+
+
+
+
+ + + + + + + + + + diff --git a/group__functions_ga42fce115bbd07cb330a84af0213c656d.html b/group__functions_ga42fce115bbd07cb330a84af0213c656d.html new file mode 100644 index 00000000..a99c7b95 --- /dev/null +++ b/group__functions_ga42fce115bbd07cb330a84af0213c656d.html @@ -0,0 +1,181 @@ + + + + + + + + +kyosu: kyosu::log1p + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
kyosu v0.1.0 +
+
Complex Without Complexes
+
+ +   + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ log1p

+ +
+
+ + + + + +
+ + + + +
kyosu::log1p = {}
+
+inlineconstexpr
+
+ +

Computes the natural logarithm of the argument plus 1.

+

Defined in Header

+
#include <kyosu/functions.hpp>
+

Callable Signatures

+
namespace kyosu
+
{
+
template<kyosu::concepts::cayley_dickson T> constexpr T log1p(T z) noexcept;
+
template<eve::ordered_value T> constexpr as_complex_t<T> log1p(T z) noexcept;
+
}
+
constexpr tags::callable_log1p log1p
Computes the natural logarithm of the argument plus 1.
Definition: log1p.hpp:78
+
Main KYOSU namespace.
Definition: types.hpp:14
+

Parameters

+
    +
  • z : Value to process.
  • +
+

Return value

+

Returns the log1p(1+z). If z is an ordered value log1p returns a complex typed value.

+

Example

+
+
+
+
+
+ + + + + + + + + + diff --git a/group__functions_ga6061b321a4cb255fbbcae1992d42aafa.html b/group__functions_ga6061b321a4cb255fbbcae1992d42aafa.html new file mode 100644 index 00000000..fead3d2c --- /dev/null +++ b/group__functions_ga6061b321a4cb255fbbcae1992d42aafa.html @@ -0,0 +1,181 @@ + + + + + + + + +kyosu: kyosu::csch + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
kyosu v0.1.0 +
+
Complex Without Complexes
+
+ +   + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ csch

+ +
+
+ + + + + +
+ + + + +
kyosu::csch = {}
+
+inlineconstexpr
+
+ +

Computes the hyperbolic cscant of the argument.

+

Defined in Header

+
#include <kyosu/functions.hpp>
+

Callable Signatures

+
namespace kyosu
+
{
+
template<kyosu::concepts::cayley_dickson T> constexpr T csch(T z) noexcept;
+
template<eve::ordered_value T> constexpr T csch(T z) noexcept;
+
}
+
constexpr tags::callable_csch csch
Computes the hyperbolic cscant of the argument.
Definition: csch.hpp:73
+
Main KYOSU namespace.
Definition: types.hpp:14
+

Parameters

+
    +
  • z : Value to process.
  • +
+

Return value

+

Returns the hyperbolic cscant of the argument.

+

Example

+
+
+
+
+
+ + + + + + + + + + diff --git a/group__functions_ga6d65485712648eb40b8dc0453d9c3baf.html b/group__functions_ga6d65485712648eb40b8dc0453d9c3baf.html index 4a09e3b1..40270792 100644 --- a/group__functions_ga6d65485712648eb40b8dc0453d9c3baf.html +++ b/group__functions_ga6d65485712648eb40b8dc0453d9c3baf.html @@ -159,7 +159,27 @@

Example

-
+
#include <kyosu/kyosu.hpp>
+
#include <eve/wide.hpp>
+
#include <iostream>
+
+
int main()
+
{
+
using kyosu::complex;
+
using kyosu::quaternion;
+
+
+
auto c = complex<float>(3.5f,-2.9f);
+
auto q = quaternion<float>(1.f,2.f,3.f,4.f);
+
auto t = 1.0f;
+
auto r = kyosu::if_else(t > 2.0f, q, c);
+
std::cout << r << std::endl;
+
+
return 0;
+
}
+
cayley_dickson< T, 4 > quaternion
Type alias for quaternion numbers.
Definition: quaternion.hpp:26
+
cayley_dickson< T, 2 > complex
Type alias for complex numbers.
Definition: complex.hpp:26
+
diff --git a/group__functions_ga6f78a4312ac7bd38e25d0b09b18fe3e6.html b/group__functions_ga6f78a4312ac7bd38e25d0b09b18fe3e6.html new file mode 100644 index 00000000..137a7bf5 --- /dev/null +++ b/group__functions_ga6f78a4312ac7bd38e25d0b09b18fe3e6.html @@ -0,0 +1,181 @@ + + + + + + + + +kyosu: kyosu::sqrt + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
kyosu v0.1.0 +
+
Complex Without Complexes
+
+ +   + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ sqrt

+ +
+
+ + + + + +
+ + + + +
kyosu::sqrt = {}
+
+inlineconstexpr
+
+ +

Computes a square root value.

+

Defined in Header

+
#include <kyosu/functions.hpp>
+

Callable Signatures

+
namespace kyosu
+
{
+
template<kyosu::concepts::cayley_dickson T> constexpr T sqrt(T z) noexcept;
+
template<eve::ordered_value T> constexpr T sqrt(T z) noexcept;
+
}
+
constexpr tags::callable_sqrt sqrt
Computes a square root value.
Definition: sqrt.hpp:79
+
Main KYOSU namespace.
Definition: types.hpp:14
+

Parameters

+
    +
  • z : Value to for which square root is computed.
  • +
+

Return value

+

Returns a square root of its argument.

+

Example

+
+
+
+
+
+ + + + + + + + + + diff --git a/group__functions_ga783725b137881f9e6e60e1f9b3bae9fc.html b/group__functions_ga783725b137881f9e6e60e1f9b3bae9fc.html new file mode 100644 index 00000000..f99eada0 --- /dev/null +++ b/group__functions_ga783725b137881f9e6e60e1f9b3bae9fc.html @@ -0,0 +1,181 @@ + + + + + + + + +kyosu: kyosu::cot + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
kyosu v0.1.0 +
+
Complex Without Complexes
+
+ +   + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ cot

+ +
+
+ + + + + +
+ + + + +
kyosu::cot = {}
+
+inlineconstexpr
+
+ +

Computes the cotangent of the argument.

+

Defined in Header

+
#include <kyosu/functions.hpp>
+

Callable Signatures

+
namespace kyosu
+
{
+
template<kyosu::concepts::cayley_dickson T> constexpr T cot(T z) noexcept;
+
template<eve::ordered_value T> constexpr T cot(T z) noexcept;
+
}
+
constexpr tags::callable_cot cot
Computes the cotangent of the argument.
Definition: cot.hpp:73
+
Main KYOSU namespace.
Definition: types.hpp:14
+

Parameters

+
    +
  • z : Value to process.
  • +
+

Return value

+

Returns the cotangent of the argument.

+

Example

+
+
+
+
+
+ + + + + + + + + + diff --git a/group__functions_ga788b51ca9d3366567828c74d46f12168.html b/group__functions_ga788b51ca9d3366567828c74d46f12168.html new file mode 100644 index 00000000..98ab238a --- /dev/null +++ b/group__functions_ga788b51ca9d3366567828c74d46f12168.html @@ -0,0 +1,181 @@ + + + + + + + + +kyosu: kyosu::cos + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
kyosu v0.1.0 +
+
Complex Without Complexes
+
+ +   + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ cos

+ +
+
+ + + + + +
+ + + + +
kyosu::cos = {}
+
+inlineconstexpr
+
+ +

Computes the cosine of the argument.

+

Defined in Header

+
#include <kyosu/functions.hpp>
+

Callable Signatures

+
namespace kyosu
+
{
+
template<kyosu::concepts::cayley_dickson T> constexpr T cos(T z) noexcept;
+
template<eve::ordered_value T> constexpr T cos(T z) noexcept;
+
}
+
constexpr tags::callable_cos cos
Computes the cosine of the argument.
Definition: cos.hpp:73
+
Main KYOSU namespace.
Definition: types.hpp:14
+

Parameters

+
    +
  • z : Value to process.
  • +
+

Return value

+

Returns the cosine of the argument.

+

Example

+
+
+
+
+
+ + + + + + + + + + diff --git a/group__functions_ga961299cde75efe464ea2e3f9944d1f33.html b/group__functions_ga961299cde75efe464ea2e3f9944d1f33.html new file mode 100644 index 00000000..1d407ddd --- /dev/null +++ b/group__functions_ga961299cde75efe464ea2e3f9944d1f33.html @@ -0,0 +1,181 @@ + + + + + + + + +kyosu: kyosu::sign + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
kyosu v0.1.0 +
+
Complex Without Complexes
+
+ +   + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ sign

+ +
+
+ + + + + +
+ + + + +
kyosu::sign = {}
+
+inlineconstexpr
+
+ +

Computes tne normalized value z/abs(z) if z is not zero else 0.

+

Defined in Header

+
#include <kyosu/functions.hpp>
+

Callable Signatures

+
namespace kyosu
+
{
+
template<kyosu::concepts::cayley_dickson T> constexpr T sign(T z) noexcept;
+
template<eve::ordered_value T> constexpr T sign(T z) noexcept;
+
}
+
constexpr tags::callable_sign sign
Computes tne normalized value z/abs(z) if z is not zero else 0.
Definition: sign.hpp:75
+
Main KYOSU namespace.
Definition: types.hpp:14
+

Parameters

+
    +
  • z : Value to for which square root is computed.
  • +
+

Return value

+

Returns the "sign" of the argument i.e. its normalized value.

+

Example

+
+
+
+
+
+ + + + + + + + + + diff --git a/group__functions_ga9b2e4c2e043be340f42910dbf5ec54ed.html b/group__functions_ga9b2e4c2e043be340f42910dbf5ec54ed.html new file mode 100644 index 00000000..5eb73955 --- /dev/null +++ b/group__functions_ga9b2e4c2e043be340f42910dbf5ec54ed.html @@ -0,0 +1,181 @@ + + + + + + + + +kyosu: kyosu::sech + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
kyosu v0.1.0 +
+
Complex Without Complexes
+
+ +   + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ sech

+ +
+
+ + + + + +
+ + + + +
kyosu::sech = {}
+
+inlineconstexpr
+
+ +

Computes the hyperbolic secant of the argument.

+

Defined in Header

+
#include <kyosu/functions.hpp>
+

Callable Signatures

+
namespace kyosu
+
{
+
template<kyosu::concepts::cayley_dickson T> constexpr T sech(T z) noexcept;
+
template<eve::ordered_value T> constexpr T sech(T z) noexcept;
+
}
+
constexpr tags::callable_sech sech
Computes the hyperbolic secant of the argument.
Definition: sech.hpp:73
+
Main KYOSU namespace.
Definition: types.hpp:14
+

Parameters

+
    +
  • z : Value to process.
  • +
+

Return value

+

Returns the hyperbolic secant of the argument.

+

Example

+
+
+
+
+
+ + + + + + + + + + diff --git a/group__functions_gabe8cd1a34e2b6559105a1c6c101d52f7.html b/group__functions_gabe8cd1a34e2b6559105a1c6c101d52f7.html new file mode 100644 index 00000000..68bf5f3f --- /dev/null +++ b/group__functions_gabe8cd1a34e2b6559105a1c6c101d52f7.html @@ -0,0 +1,181 @@ + + + + + + + + +kyosu: kyosu::log10 + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
kyosu v0.1.0 +
+
Complex Without Complexes
+
+ +   + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ log10

+ +
+
+ + + + + +
+ + + + +
kyosu::log10 = {}
+
+inlineconstexpr
+
+ +

Computes the base 10 logarithm of the argument.

+

Defined in Header

+
#include <kyosu/functions.hpp>
+

Callable Signatures

+
namespace kyosu
+
{
+
template<kyosu::concepts::cayley_dickson T> constexpr T log10(T z) noexcept;
+
template<eve::ordered_value T> constexpr as_complex_t<T> log10(T z) noexcept;
+
}
+
constexpr tags::callable_log10 log10
Computes the base 10 logarithm of the argument.
Definition: log10.hpp:78
+
Main KYOSU namespace.
Definition: types.hpp:14
+

Parameters

+
    +
  • z : Value to process.
  • +
+

Return value

+

Returns the log10(z). If z is an ordered value log10 returns a complex typed value.

+

Example

+
+
+
+
+
+ + + + + + + + + + diff --git a/group__functions_gaecbb072c068e6effd78aa84c6e65b329.html b/group__functions_gaecbb072c068e6effd78aa84c6e65b329.html new file mode 100644 index 00000000..239bf9fe --- /dev/null +++ b/group__functions_gaecbb072c068e6effd78aa84c6e65b329.html @@ -0,0 +1,181 @@ + + + + + + + + +kyosu: kyosu::csc + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
kyosu v0.1.0 +
+
Complex Without Complexes
+
+ +   + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ csc

+ +
+
+ + + + + +
+ + + + +
kyosu::csc = {}
+
+inlineconstexpr
+
+ +

Computes the cosecant of the argument.

+

Defined in Header

+
#include <kyosu/functions.hpp>
+

Callable Signatures

+
namespace kyosu
+
{
+
template<kyosu::concepts::cayley_dickson T> constexpr T csc(T z) noexcept;
+
template<eve::ordered_value T> constexpr T csc(T z) noexcept;
+
}
+
constexpr tags::callable_csc csc
Computes the cosecant of the argument.
Definition: csc.hpp:73
+
Main KYOSU namespace.
Definition: types.hpp:14
+

Parameters

+
    +
  • z : Value to process.
  • +
+

Return value

+

Returns the cosecant of the argument.

+

Example

+
+
+
+
+
+ + + + + + + + + + diff --git a/group__functions_gaf34684f4a02ca7468c2f7cb440779a6d.html b/group__functions_gaf34684f4a02ca7468c2f7cb440779a6d.html new file mode 100644 index 00000000..e3ec558b --- /dev/null +++ b/group__functions_gaf34684f4a02ca7468c2f7cb440779a6d.html @@ -0,0 +1,181 @@ + + + + + + + + +kyosu: kyosu::sincos + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
kyosu v0.1.0 +
+
Complex Without Complexes
+
+ +   + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ sincos

+ +
+
+ + + + + +
+ + + + +
kyosu::sincos = {}
+
+inlineconstexpr
+
+ +

Computes simultaneously the sine and cosine of the argument.

+

Defined in Header

+
#include <kyosu/functions.hpp>
+

Callable Signatures

+
namespace kyosu
+
{
+
template<kyosu::concepts::cayley_dickson T> constexpr auto sincos(T z) noexcept;
+
template<eve::ordered_value T> constexpr auto sincos(T z) noexcept;
+
}
+
constexpr tags::callable_sincos sincos
Computes simultaneously the sine and cosine of the argument.
Definition: sincos.hpp:73
+
Main KYOSU namespace.
Definition: types.hpp:14
+

Parameters

+
    +
  • z : Value to process.
  • +
+

Return value

+

Returns simultaneously the sine and cosine of the argument.

+

Example

+
+
+
+
+
+ + + + + + + + + + diff --git a/group__functions_gafb007a0b170f27331d8aa088e9f8f0b0.html b/group__functions_gafb007a0b170f27331d8aa088e9f8f0b0.html new file mode 100644 index 00000000..00cb86ec --- /dev/null +++ b/group__functions_gafb007a0b170f27331d8aa088e9f8f0b0.html @@ -0,0 +1,181 @@ + + + + + + + + +kyosu: kyosu::log2 + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
kyosu v0.1.0 +
+
Complex Without Complexes
+
+ +   + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ log2

+ +
+
+ + + + + +
+ + + + +
kyosu::log2 = {}
+
+inlineconstexpr
+
+ +

Computes the base 2 logarithm of the argument.

+

Defined in Header

+
#include <kyosu/functions.hpp>
+

Callable Signatures

+
namespace kyosu
+
{
+
template<kyosu::concepts::cayley_dickson T> constexpr T log2(T z) noexcept;
+
template<eve::ordered_value T> constexpr as_complex_t<T> log2(T z) noexcept;
+
}
+
constexpr tags::callable_log2 log2
Computes the base 2 logarithm of the argument.
Definition: log2.hpp:78
+
Main KYOSU namespace.
Definition: types.hpp:14
+

Parameters

+
    +
  • z : Value to process.
  • +
+

Return value

+

Returns the log2(z). If z is an ordered value log2 returns a complex typed value.

+

Example

+
+
+
+
+
+ + + + + + + + + + diff --git a/namespacekyosu.html b/namespacekyosu.html index cef50236..d0c5499d 100644 --- a/namespacekyosu.html +++ b/namespacekyosu.html @@ -273,12 +273,24 @@ constexpr tags::callable_convert convert = {}  Select a value between two arguments based on a logical mask.
  +constexpr tags::callable_cos cos = {} + Computes the cosine of the argument.
+  constexpr tags::callable_cosh cosh = {}  Computes the hyperbolic cosine of the argument.
  +constexpr tags::callable_cot cot = {} + Computes the cotangent of the argument.
+  constexpr tags::callable_coth coth = {}  Computes the hyperbolic cotangent of the argument.
  +constexpr tags::callable_csc csc = {} + Computes the cosecant of the argument.
+  +constexpr tags::callable_csch csch = {} + Computes the hyperbolic cscant of the argument.
+  constexpr tags::callable_dec dec = {}  decrements the argument by 1.
  @@ -379,6 +391,18 @@ constexpr tags::callable_lerp lerp = {}  Computes the linear interpolation.
  +constexpr tags::callable_log log = {} + Computes the natural logarithm of the argument.
+  +constexpr tags::callable_log10 log10 = {} + Computes the base 10 logarithm of the argument.
+  +constexpr tags::callable_log1p log1p = {} + Computes the natural logarithm of the argument plus 1.
+  +constexpr tags::callable_log2 log2 = {} + Computes the base 2 logarithm of the argument.
+  constexpr tags::callable_minus minus = {}  Computes the opposite value.
  @@ -400,6 +424,21 @@ constexpr tags::callable_reldist reldist = {}  Computes the relative distance between the two parameters.
  +constexpr tags::callable_sec sec = {} + Computes the secant of the argument.
+  +constexpr tags::callable_sech sech = {} + Computes the hyperbolic secant of the argument.
+  +constexpr tags::callable_sign sign = {} + Computes tne normalized value z/abs(z) if z is not zero else 0.
+  +constexpr tags::callable_sin sin = {} + Computes the sine of the argument.
+  +constexpr tags::callable_sincos sincos = {} + Computes simultaneously the sine and cosine of the argument.
+  constexpr tags::callable_sinh sinh = {}  Computes the hyperbolic sine of the argument.
  @@ -412,6 +451,12 @@ constexpr tags::callable_sqr_abs sqr_abs = {}  Computes the squared absolute value of the parameter.
  +constexpr tags::callable_sqrt sqrt = {} + Computes a square root value.
+  +constexpr tags::callable_tan tan = {} + Computes the tangent of the argument.
+  constexpr tags::callable_tanh tanh = {}  Computes the hyperbolic tangent of the argument.
  diff --git a/search/all_1.js b/search/all_1.js index b46307e8..589e5216 100644 --- a/search/all_1.js +++ b/search/all_1.js @@ -5,6 +5,10 @@ var searchData= ['complex_2',['complex',['../group__types_gad699121c78ba21aef370db14abdd67ec.html#gad699121c78ba21aef370db14abdd67ec',1,'kyosu']]], ['conj_3',['conj',['../group__functions_gad4e960a6cb254cdd741323efc8efa3a0.html#gad4e960a6cb254cdd741323efc8efa3a0',1,'kyosu']]], ['convert_4',['convert',['../group__functions_gae8e08be7b28ad1cf9159ae564115867f.html#gae8e08be7b28ad1cf9159ae564115867f',1,'kyosu']]], - ['cosh_5',['cosh',['../group__functions_gaa608876852fffef8d90a4f7280ff4549.html#gaa608876852fffef8d90a4f7280ff4549',1,'kyosu']]], - ['coth_6',['coth',['../group__functions_gaa651f9b616ad1022127142bf9cdc68e8.html#gaa651f9b616ad1022127142bf9cdc68e8',1,'kyosu']]] + ['cos_5',['cos',['../group__functions_ga788b51ca9d3366567828c74d46f12168.html#ga788b51ca9d3366567828c74d46f12168',1,'kyosu']]], + ['cosh_6',['cosh',['../group__functions_gaa608876852fffef8d90a4f7280ff4549.html#gaa608876852fffef8d90a4f7280ff4549',1,'kyosu']]], + ['cot_7',['cot',['../group__functions_ga783725b137881f9e6e60e1f9b3bae9fc.html#ga783725b137881f9e6e60e1f9b3bae9fc',1,'kyosu']]], + ['coth_8',['coth',['../group__functions_gaa651f9b616ad1022127142bf9cdc68e8.html#gaa651f9b616ad1022127142bf9cdc68e8',1,'kyosu']]], + ['csc_9',['csc',['../group__functions_gaecbb072c068e6effd78aa84c6e65b329.html#gaecbb072c068e6effd78aa84c6e65b329',1,'kyosu']]], + ['csch_10',['csch',['../group__functions_ga6061b321a4cb255fbbcae1992d42aafa.html#ga6061b321a4cb255fbbcae1992d42aafa',1,'kyosu']]] ]; diff --git a/search/all_10.js b/search/all_10.js index 2989574d..9c0a7252 100644 --- a/search/all_10.js +++ b/search/all_10.js @@ -1,9 +1,10 @@ var searchData= [ - ['tanh_0',['tanh',['../group__functions_gad65d1920bd1721b78982441aeb5b4036.html#gad65d1920bd1721b78982441aeb5b4036',1,'kyosu']]], - ['to_5fcomplex_1',['to_complex',['../group__functions_ga467a58e50ffba284e333fac35f5cc93c.html#ga467a58e50ffba284e333fac35f5cc93c',1,'kyosu']]], - ['to_5fquaternion_2',['to_quaternion',['../group__functions_ga4169785cc523f33d0cb1f8615f1d1323.html#ga4169785cc523f33d0cb1f8615f1d1323',1,'kyosu']]], - ['traits_3',['Traits',['../group__traits.html',1,'']]], - ['trunc_4',['trunc',['../group__functions_ga57a5e1064f03073d3e81144181f6ac71.html#ga57a5e1064f03073d3e81144181f6ac71',1,'kyosu']]], - ['types_5',['Types',['../group__types.html',1,'']]] + ['tan_0',['tan',['../group__functions_ga2f8614d64bb1b781e4496b56b0accfa1.html#ga2f8614d64bb1b781e4496b56b0accfa1',1,'kyosu']]], + ['tanh_1',['tanh',['../group__functions_gad65d1920bd1721b78982441aeb5b4036.html#gad65d1920bd1721b78982441aeb5b4036',1,'kyosu']]], + ['to_5fcomplex_2',['to_complex',['../group__functions_ga467a58e50ffba284e333fac35f5cc93c.html#ga467a58e50ffba284e333fac35f5cc93c',1,'kyosu']]], + ['to_5fquaternion_3',['to_quaternion',['../group__functions_ga4169785cc523f33d0cb1f8615f1d1323.html#ga4169785cc523f33d0cb1f8615f1d1323',1,'kyosu']]], + ['traits_4',['Traits',['../group__traits.html',1,'']]], + ['trunc_5',['trunc',['../group__functions_ga57a5e1064f03073d3e81144181f6ac71.html#ga57a5e1064f03073d3e81144181f6ac71',1,'kyosu']]], + ['types_6',['Types',['../group__types.html',1,'']]] ]; diff --git a/search/all_8.js b/search/all_8.js index c54b4e91..5fa8ac9a 100644 --- a/search/all_8.js +++ b/search/all_8.js @@ -1,5 +1,9 @@ var searchData= [ ['lerp_0',['lerp',['../group__functions_gaf190a649d5907b9f6c177bb100a73c8d.html#gaf190a649d5907b9f6c177bb100a73c8d',1,'kyosu']]], - ['licence_1',['Licence',['../licence.html',1,'']]] + ['licence_1',['Licence',['../licence.html',1,'']]], + ['log_2',['log',['../group__functions_ga398aa088354c3b9d0a0a1b5d6b7145f9.html#ga398aa088354c3b9d0a0a1b5d6b7145f9',1,'kyosu']]], + ['log10_3',['log10',['../group__functions_gabe8cd1a34e2b6559105a1c6c101d52f7.html#gabe8cd1a34e2b6559105a1c6c101d52f7',1,'kyosu']]], + ['log1p_4',['log1p',['../group__functions_ga42fce115bbd07cb330a84af0213c656d.html#ga42fce115bbd07cb330a84af0213c656d',1,'kyosu']]], + ['log2_5',['log2',['../group__functions_gafb007a0b170f27331d8aa088e9f8f0b0.html#gafb007a0b170f27331d8aa088e9f8f0b0',1,'kyosu']]] ]; diff --git a/search/all_f.js b/search/all_f.js index 1cbe9a73..2bf93dfa 100644 --- a/search/all_f.js +++ b/search/all_f.js @@ -1,7 +1,13 @@ var searchData= [ - ['sinh_0',['sinh',['../group__functions_ga1e253b4aba99259dbb98d891247c2a38.html#ga1e253b4aba99259dbb98d891247c2a38',1,'kyosu']]], - ['sinhcosh_1',['sinhcosh',['../group__functions_ga3aa2bb7847bd2885618e263ed0f0cd82.html#ga3aa2bb7847bd2885618e263ed0f0cd82',1,'kyosu']]], - ['sqr_2',['sqr',['../group__functions_ga6ead34ff89aeb18c2380188af5f83dcd.html#ga6ead34ff89aeb18c2380188af5f83dcd',1,'kyosu']]], - ['sqr_5fabs_3',['sqr_abs',['../group__functions_ga297cbe86ab12760ec934f76879f805d0.html#ga297cbe86ab12760ec934f76879f805d0',1,'kyosu']]] + ['sec_0',['sec',['../group__functions_ga308a170dbf61d3a4aba52d975abf902e.html#ga308a170dbf61d3a4aba52d975abf902e',1,'kyosu']]], + ['sech_1',['sech',['../group__functions_ga9b2e4c2e043be340f42910dbf5ec54ed.html#ga9b2e4c2e043be340f42910dbf5ec54ed',1,'kyosu']]], + ['sign_2',['sign',['../group__functions_ga961299cde75efe464ea2e3f9944d1f33.html#ga961299cde75efe464ea2e3f9944d1f33',1,'kyosu']]], + ['sin_3',['sin',['../group__functions_ga26c8821ba25972647692322f5236a370.html#ga26c8821ba25972647692322f5236a370',1,'kyosu']]], + ['sincos_4',['sincos',['../group__functions_gaf34684f4a02ca7468c2f7cb440779a6d.html#gaf34684f4a02ca7468c2f7cb440779a6d',1,'kyosu']]], + ['sinh_5',['sinh',['../group__functions_ga1e253b4aba99259dbb98d891247c2a38.html#ga1e253b4aba99259dbb98d891247c2a38',1,'kyosu']]], + ['sinhcosh_6',['sinhcosh',['../group__functions_ga3aa2bb7847bd2885618e263ed0f0cd82.html#ga3aa2bb7847bd2885618e263ed0f0cd82',1,'kyosu']]], + ['sqr_7',['sqr',['../group__functions_ga6ead34ff89aeb18c2380188af5f83dcd.html#ga6ead34ff89aeb18c2380188af5f83dcd',1,'kyosu']]], + ['sqr_5fabs_8',['sqr_abs',['../group__functions_ga297cbe86ab12760ec934f76879f805d0.html#ga297cbe86ab12760ec934f76879f805d0',1,'kyosu']]], + ['sqrt_9',['sqrt',['../group__functions_ga6f78a4312ac7bd38e25d0b09b18fe3e6.html#ga6f78a4312ac7bd38e25d0b09b18fe3e6',1,'kyosu']]] ]; diff --git a/search/variables_1.js b/search/variables_1.js index e50a58cb..5154d7ec 100644 --- a/search/variables_1.js +++ b/search/variables_1.js @@ -3,6 +3,10 @@ var searchData= ['ceil_0',['ceil',['../group__functions_ga8d6f64b6ed68055ef05917557d2e60b6.html#ga8d6f64b6ed68055ef05917557d2e60b6',1,'kyosu']]], ['conj_1',['conj',['../group__functions_gad4e960a6cb254cdd741323efc8efa3a0.html#gad4e960a6cb254cdd741323efc8efa3a0',1,'kyosu']]], ['convert_2',['convert',['../group__functions_gae8e08be7b28ad1cf9159ae564115867f.html#gae8e08be7b28ad1cf9159ae564115867f',1,'kyosu']]], - ['cosh_3',['cosh',['../group__functions_gaa608876852fffef8d90a4f7280ff4549.html#gaa608876852fffef8d90a4f7280ff4549',1,'kyosu']]], - ['coth_4',['coth',['../group__functions_gaa651f9b616ad1022127142bf9cdc68e8.html#gaa651f9b616ad1022127142bf9cdc68e8',1,'kyosu']]] + ['cos_3',['cos',['../group__functions_ga788b51ca9d3366567828c74d46f12168.html#ga788b51ca9d3366567828c74d46f12168',1,'kyosu']]], + ['cosh_4',['cosh',['../group__functions_gaa608876852fffef8d90a4f7280ff4549.html#gaa608876852fffef8d90a4f7280ff4549',1,'kyosu']]], + ['cot_5',['cot',['../group__functions_ga783725b137881f9e6e60e1f9b3bae9fc.html#ga783725b137881f9e6e60e1f9b3bae9fc',1,'kyosu']]], + ['coth_6',['coth',['../group__functions_gaa651f9b616ad1022127142bf9cdc68e8.html#gaa651f9b616ad1022127142bf9cdc68e8',1,'kyosu']]], + ['csc_7',['csc',['../group__functions_gaecbb072c068e6effd78aa84c6e65b329.html#gaecbb072c068e6effd78aa84c6e65b329',1,'kyosu']]], + ['csch_8',['csch',['../group__functions_ga6061b321a4cb255fbbcae1992d42aafa.html#ga6061b321a4cb255fbbcae1992d42aafa',1,'kyosu']]] ]; diff --git a/search/variables_8.js b/search/variables_8.js index b6128962..3f12778b 100644 --- a/search/variables_8.js +++ b/search/variables_8.js @@ -1,4 +1,8 @@ var searchData= [ - ['lerp_0',['lerp',['../group__functions_gaf190a649d5907b9f6c177bb100a73c8d.html#gaf190a649d5907b9f6c177bb100a73c8d',1,'kyosu']]] + ['lerp_0',['lerp',['../group__functions_gaf190a649d5907b9f6c177bb100a73c8d.html#gaf190a649d5907b9f6c177bb100a73c8d',1,'kyosu']]], + ['log_1',['log',['../group__functions_ga398aa088354c3b9d0a0a1b5d6b7145f9.html#ga398aa088354c3b9d0a0a1b5d6b7145f9',1,'kyosu']]], + ['log10_2',['log10',['../group__functions_gabe8cd1a34e2b6559105a1c6c101d52f7.html#gabe8cd1a34e2b6559105a1c6c101d52f7',1,'kyosu']]], + ['log1p_3',['log1p',['../group__functions_ga42fce115bbd07cb330a84af0213c656d.html#ga42fce115bbd07cb330a84af0213c656d',1,'kyosu']]], + ['log2_4',['log2',['../group__functions_gafb007a0b170f27331d8aa088e9f8f0b0.html#gafb007a0b170f27331d8aa088e9f8f0b0',1,'kyosu']]] ]; diff --git a/search/variables_e.js b/search/variables_e.js index 1cbe9a73..2bf93dfa 100644 --- a/search/variables_e.js +++ b/search/variables_e.js @@ -1,7 +1,13 @@ var searchData= [ - ['sinh_0',['sinh',['../group__functions_ga1e253b4aba99259dbb98d891247c2a38.html#ga1e253b4aba99259dbb98d891247c2a38',1,'kyosu']]], - ['sinhcosh_1',['sinhcosh',['../group__functions_ga3aa2bb7847bd2885618e263ed0f0cd82.html#ga3aa2bb7847bd2885618e263ed0f0cd82',1,'kyosu']]], - ['sqr_2',['sqr',['../group__functions_ga6ead34ff89aeb18c2380188af5f83dcd.html#ga6ead34ff89aeb18c2380188af5f83dcd',1,'kyosu']]], - ['sqr_5fabs_3',['sqr_abs',['../group__functions_ga297cbe86ab12760ec934f76879f805d0.html#ga297cbe86ab12760ec934f76879f805d0',1,'kyosu']]] + ['sec_0',['sec',['../group__functions_ga308a170dbf61d3a4aba52d975abf902e.html#ga308a170dbf61d3a4aba52d975abf902e',1,'kyosu']]], + ['sech_1',['sech',['../group__functions_ga9b2e4c2e043be340f42910dbf5ec54ed.html#ga9b2e4c2e043be340f42910dbf5ec54ed',1,'kyosu']]], + ['sign_2',['sign',['../group__functions_ga961299cde75efe464ea2e3f9944d1f33.html#ga961299cde75efe464ea2e3f9944d1f33',1,'kyosu']]], + ['sin_3',['sin',['../group__functions_ga26c8821ba25972647692322f5236a370.html#ga26c8821ba25972647692322f5236a370',1,'kyosu']]], + ['sincos_4',['sincos',['../group__functions_gaf34684f4a02ca7468c2f7cb440779a6d.html#gaf34684f4a02ca7468c2f7cb440779a6d',1,'kyosu']]], + ['sinh_5',['sinh',['../group__functions_ga1e253b4aba99259dbb98d891247c2a38.html#ga1e253b4aba99259dbb98d891247c2a38',1,'kyosu']]], + ['sinhcosh_6',['sinhcosh',['../group__functions_ga3aa2bb7847bd2885618e263ed0f0cd82.html#ga3aa2bb7847bd2885618e263ed0f0cd82',1,'kyosu']]], + ['sqr_7',['sqr',['../group__functions_ga6ead34ff89aeb18c2380188af5f83dcd.html#ga6ead34ff89aeb18c2380188af5f83dcd',1,'kyosu']]], + ['sqr_5fabs_8',['sqr_abs',['../group__functions_ga297cbe86ab12760ec934f76879f805d0.html#ga297cbe86ab12760ec934f76879f805d0',1,'kyosu']]], + ['sqrt_9',['sqrt',['../group__functions_ga6f78a4312ac7bd38e25d0b09b18fe3e6.html#ga6f78a4312ac7bd38e25d0b09b18fe3e6',1,'kyosu']]] ]; diff --git a/search/variables_f.js b/search/variables_f.js index ed690987..6e9e08db 100644 --- a/search/variables_f.js +++ b/search/variables_f.js @@ -1,7 +1,8 @@ var searchData= [ - ['tanh_0',['tanh',['../group__functions_gad65d1920bd1721b78982441aeb5b4036.html#gad65d1920bd1721b78982441aeb5b4036',1,'kyosu']]], - ['to_5fcomplex_1',['to_complex',['../group__functions_ga467a58e50ffba284e333fac35f5cc93c.html#ga467a58e50ffba284e333fac35f5cc93c',1,'kyosu']]], - ['to_5fquaternion_2',['to_quaternion',['../group__functions_ga4169785cc523f33d0cb1f8615f1d1323.html#ga4169785cc523f33d0cb1f8615f1d1323',1,'kyosu']]], - ['trunc_3',['trunc',['../group__functions_ga57a5e1064f03073d3e81144181f6ac71.html#ga57a5e1064f03073d3e81144181f6ac71',1,'kyosu']]] + ['tan_0',['tan',['../group__functions_ga2f8614d64bb1b781e4496b56b0accfa1.html#ga2f8614d64bb1b781e4496b56b0accfa1',1,'kyosu']]], + ['tanh_1',['tanh',['../group__functions_gad65d1920bd1721b78982441aeb5b4036.html#gad65d1920bd1721b78982441aeb5b4036',1,'kyosu']]], + ['to_5fcomplex_2',['to_complex',['../group__functions_ga467a58e50ffba284e333fac35f5cc93c.html#ga467a58e50ffba284e333fac35f5cc93c',1,'kyosu']]], + ['to_5fquaternion_3',['to_quaternion',['../group__functions_ga4169785cc523f33d0cb1f8615f1d1323.html#ga4169785cc523f33d0cb1f8615f1d1323',1,'kyosu']]], + ['trunc_4',['trunc',['../group__functions_ga57a5e1064f03073d3e81144181f6ac71.html#ga57a5e1064f03073d3e81144181f6ac71',1,'kyosu']]] ];