diff --git a/group__functions.html b/group__functions.html index 647a1ceb..a2b6036e 100644 --- a/group__functions.html +++ b/group__functions.html @@ -142,6 +142,9 @@ constexpr tags::callable_conj kyosu::conj = {}  Computes the conjugate value.
  +constexpr tags::callable_convert kyosu::convert = {} + Select a value between two arguments based on a logical mask.
+  constexpr tags::callable_cosh kyosu::cosh = {}  Computes the hyperbolic cosine of the argument.
  diff --git a/group__functions_gae8e08be7b28ad1cf9159ae564115867f.html b/group__functions_gae8e08be7b28ad1cf9159ae564115867f.html new file mode 100644 index 00000000..34a28d50 --- /dev/null +++ b/group__functions_gae8e08be7b28ad1cf9159ae564115867f.html @@ -0,0 +1,180 @@ + + + + + + + + +kyosu: kyosu::convert + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + +
+
kyosu v0.1.0 +
+
Complex Without Complexes
+
+ +   + + + + +
+
+
+ + + + +
+
+ +
+
+
+ +
+ +
+
+ + +
+
+
+
+
+
Loading...
+
Searching...
+
No Matches
+
+
+
+
+ +
+ +

◆ convert

+ +
+
+ + + + + +
+ + + + +
kyosu::convert = {}
+
+inlineconstexpr
+
+ +

Select a value between two arguments based on a logical mask.

+

Defined in Header

+
#include <kyosu/functions.hpp>
+

Callable Signatures

+
namespace kyosu
+
{
+
template<eve::value T, eve::value U, eve::value V>
+
constexpr auto convert(T x, U, y, V z ) noexcept;
+
}
+
constexpr tags::callable_convert convert
Select a value between two arguments based on a logical mask.
Definition: convert.hpp:75
+
Main KYOSU namespace.
Definition: types.hpp:14
+

Parameters

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

Return value

+

Example

+
+
+
+
+
+ + + + + + + + + + diff --git a/namespacekyosu.html b/namespacekyosu.html index 2c0fc25f..cef50236 100644 --- a/namespacekyosu.html +++ b/namespacekyosu.html @@ -229,12 +229,12 @@  Compute the negation of a given Caley-dickson value.
 
Binary Operators
- + template<eve::value T1, eve::value T2>
requires (concepts::cayley_dickson<T1> || concepts::cayley_dickson<T2>) -as_cayley_dickson_t< T1, T2 > operator+ (T1 const &a, T2 const &b) noexcept - Returns the sum of a Caley-dickson value and a real value in any order.
-  +auto operator+ (T1 const &a, T2 const &b) noexcept -> as_cayley_dickson_t< T1, T2 > + Returns the sum of a Caley-dickson value and a real value in any order.
template<eve::value T1, eve::value T2>
requires (concepts::cayley_dickson<T1> || concepts::cayley_dickson<T2>) @@ -270,6 +270,9 @@ constexpr tags::callable_conj conj = {}  Computes the conjugate value.
  +constexpr tags::callable_convert convert = {} + Select a value between two arguments based on a logical mask.
+  constexpr tags::callable_cosh cosh = {}  Computes the hyperbolic cosine of the argument.
  diff --git a/search/all_1.js b/search/all_1.js index 03165ad8..b46307e8 100644 --- a/search/all_1.js +++ b/search/all_1.js @@ -4,6 +4,7 @@ var searchData= ['ceil_1',['ceil',['../group__functions_ga8d6f64b6ed68055ef05917557d2e60b6.html#ga8d6f64b6ed68055ef05917557d2e60b6',1,'kyosu']]], ['complex_2',['complex',['../group__types_gad699121c78ba21aef370db14abdd67ec.html#gad699121c78ba21aef370db14abdd67ec',1,'kyosu']]], ['conj_3',['conj',['../group__functions_gad4e960a6cb254cdd741323efc8efa3a0.html#gad4e960a6cb254cdd741323efc8efa3a0',1,'kyosu']]], - ['cosh_4',['cosh',['../group__functions_gaa608876852fffef8d90a4f7280ff4549.html#gaa608876852fffef8d90a4f7280ff4549',1,'kyosu']]], - ['coth_5',['coth',['../group__functions_gaa651f9b616ad1022127142bf9cdc68e8.html#gaa651f9b616ad1022127142bf9cdc68e8',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']]] ]; diff --git a/search/all_b.js b/search/all_b.js index 6df02190..1ec7e321 100644 --- a/search/all_b.js +++ b/search/all_b.js @@ -3,7 +3,7 @@ var searchData= ['oneminus_0',['oneminus',['../group__functions_gae8a89a63722b9cdec2f2d4daf58bf025.html#gae8a89a63722b9cdec2f2d4daf58bf025',1,'kyosu']]], ['operator_2a_1',['operator*',['../namespacekyosu.html#ab9dc1aa6d08e01a9156d550b7c63b64d',1,'kyosu']]], ['operator_2a_3d_2',['operator*=',['../namespacekyosu.html#afca2e25a0166a66833f9e0b9a966bfdd',1,'kyosu::operator*=(concepts::cayley_dickson auto &self, eve::ordered_value auto other) noexcept'],['../namespacekyosu.html#a66d806634ef177162197efea5201c84a',1,'kyosu::operator*=(Self &self, Other const &other) noexcept']]], - ['operator_2b_3',['operator+',['../namespacekyosu.html#a9dbe8533599d47d325b4b3c6c43d1309',1,'kyosu::operator+(Z const &z) noexcept'],['../namespacekyosu.html#aa3fbb7e2dc607b914423a63faecbb548',1,'kyosu::operator+(T1 const &a, T2 const &b) noexcept']]], + ['operator_2b_3',['operator+',['../namespacekyosu.html#a9dbe8533599d47d325b4b3c6c43d1309',1,'kyosu::operator+(Z const &z) noexcept'],['../namespacekyosu.html#a2d6a4bba9bb2fa9899ba5a0b98300743',1,'kyosu::operator+(T1 const &a, T2 const &b) noexcept -> as_cayley_dickson_t< T1, T2 >']]], ['operator_2b_3d_4',['operator+=',['../namespacekyosu.html#a36ba6468989484acaf0706b3be6549fc',1,'kyosu::operator+=(concepts::cayley_dickson auto &self, eve::ordered_value auto other) noexcept'],['../namespacekyosu.html#a896627c7707355adad826b4dfafbd151',1,'kyosu::operator+=(Self &self, Other const &other) noexcept']]], ['operator_2d_5',['operator-',['../namespacekyosu.html#a57e104c783c5c0900bf0f73e5b16c24d',1,'kyosu::operator-(Z const &z) noexcept'],['../namespacekyosu.html#ab486c7e1ad4577bdffae36e6c8b4a616',1,'kyosu::operator-(T1 const &a, T2 const &b) noexcept']]], ['operator_2d_3d_6',['operator-=',['../namespacekyosu.html#a84d0923c18d796b6c6b899e24d9e0b77',1,'kyosu::operator-=(concepts::cayley_dickson auto &self, eve::ordered_value auto other) noexcept'],['../namespacekyosu.html#ad78329c7661638f22ba9e18e7eee8710',1,'kyosu::operator-=(Self &self, Other const &other) noexcept']]], diff --git a/search/functions_1.js b/search/functions_1.js index b970c97f..381d0a54 100644 --- a/search/functions_1.js +++ b/search/functions_1.js @@ -2,7 +2,7 @@ var searchData= [ ['operator_2a_0',['operator*',['../namespacekyosu.html#ab9dc1aa6d08e01a9156d550b7c63b64d',1,'kyosu']]], ['operator_2a_3d_1',['operator*=',['../namespacekyosu.html#afca2e25a0166a66833f9e0b9a966bfdd',1,'kyosu::operator*=(concepts::cayley_dickson auto &self, eve::ordered_value auto other) noexcept'],['../namespacekyosu.html#a66d806634ef177162197efea5201c84a',1,'kyosu::operator*=(Self &self, Other const &other) noexcept']]], - ['operator_2b_2',['operator+',['../namespacekyosu.html#a9dbe8533599d47d325b4b3c6c43d1309',1,'kyosu::operator+(Z const &z) noexcept'],['../namespacekyosu.html#aa3fbb7e2dc607b914423a63faecbb548',1,'kyosu::operator+(T1 const &a, T2 const &b) noexcept']]], + ['operator_2b_2',['operator+',['../namespacekyosu.html#a9dbe8533599d47d325b4b3c6c43d1309',1,'kyosu::operator+(Z const &z) noexcept'],['../namespacekyosu.html#a2d6a4bba9bb2fa9899ba5a0b98300743',1,'kyosu::operator+(T1 const &a, T2 const &b) noexcept -> as_cayley_dickson_t< T1, T2 >']]], ['operator_2b_3d_3',['operator+=',['../namespacekyosu.html#a36ba6468989484acaf0706b3be6549fc',1,'kyosu::operator+=(concepts::cayley_dickson auto &self, eve::ordered_value auto other) noexcept'],['../namespacekyosu.html#a896627c7707355adad826b4dfafbd151',1,'kyosu::operator+=(Self &self, Other const &other) noexcept']]], ['operator_2d_4',['operator-',['../namespacekyosu.html#a57e104c783c5c0900bf0f73e5b16c24d',1,'kyosu::operator-(Z const &z) noexcept'],['../namespacekyosu.html#ab486c7e1ad4577bdffae36e6c8b4a616',1,'kyosu::operator-(T1 const &a, T2 const &b) noexcept']]], ['operator_2d_3d_5',['operator-=',['../namespacekyosu.html#a84d0923c18d796b6c6b899e24d9e0b77',1,'kyosu::operator-=(concepts::cayley_dickson auto &self, eve::ordered_value auto other) noexcept'],['../namespacekyosu.html#ad78329c7661638f22ba9e18e7eee8710',1,'kyosu::operator-=(Self &self, Other const &other) noexcept']]], diff --git a/search/variables_1.js b/search/variables_1.js index 65ef5616..e50a58cb 100644 --- a/search/variables_1.js +++ b/search/variables_1.js @@ -2,6 +2,7 @@ var searchData= [ ['ceil_0',['ceil',['../group__functions_ga8d6f64b6ed68055ef05917557d2e60b6.html#ga8d6f64b6ed68055ef05917557d2e60b6',1,'kyosu']]], ['conj_1',['conj',['../group__functions_gad4e960a6cb254cdd741323efc8efa3a0.html#gad4e960a6cb254cdd741323efc8efa3a0',1,'kyosu']]], - ['cosh_2',['cosh',['../group__functions_gaa608876852fffef8d90a4f7280ff4549.html#gaa608876852fffef8d90a4f7280ff4549',1,'kyosu']]], - ['coth_3',['coth',['../group__functions_gaa651f9b616ad1022127142bf9cdc68e8.html#gaa651f9b616ad1022127142bf9cdc68e8',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']]] ];