Skip to content

Commit

Permalink
deta to dot
Browse files Browse the repository at this point in the history
  • Loading branch information
jtlap committed Sep 27, 2023
1 parent 4f38db0 commit b9cbb4c
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 21 deletions.
10 changes: 5 additions & 5 deletions include/kyosu/complex/deta.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace kyosu
//! @addtogroup functions
//! @{
//! @var deta
//! @brief Computes the Dirichlet sums \f$ \displaystyle \sum_0^\infty \frac{(-1)^n}{(kn+1)^z}\f$.
//! @brief Computes the Dirichlet sums \f$ \displaystyle \sum_{n = 0}^\infty \frac{(-1)^n}{(kn+1)^z}\f$.
//!
//! **Defined in Header**
//!
Expand All @@ -56,19 +56,19 @@ namespace kyosu
//! @code
//! namespace kyosu
//! {
//! template<unsigned_scalar_value K, eve::ordered_value T> constexpr auto deta(K, k, T z) noexcept; //1
//! template<unsigned_scalar_value K, kyosu::concepts::complex T> constexpr auto deta(K, k, T z) noexcept; //2
//! template<unsigned_scalar_value K, eve::ordered_value T> constexpr auto deta(K k, T z) noexcept; //1
//! template<unsigned_scalar_value K, kyosu::concepts::complex T> constexpr auto deta(K k, T z) noexcept; //2
//! }
//! @endcode
//!
//! **Parameters**
//!
//! * `k` : scalar unsigned value, parameter of the sum.
//! * `z` : Vcomplex or real value to process.
//! * `z` : complex or real value to process.
//!
//! **Return value**
//!
//! Returns the Dirichlet sum \f$ \displaystyle \sum_0^\infty \frac{(-1)^n}{(kn+1)^z}\f$
//! Returns the Dirichlet sum \f$ \displaystyle \sum_{n = 0}^\infty \frac{(-1)^n}{(kn+1)^z}\f$
//!
//! @groupheader{Example}
//!
Expand Down
4 changes: 2 additions & 2 deletions include/kyosu/complex/digamma.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ namespace kyosu
//! @addtogroup functions
//! @{
//! @var digamma
//! @brief Computes the Digamma function i.e. the logarithmic derivative of the \f$\Gamma\f$
//! @brief Computes the Digamma function i.e. the logarithmic derivative of the \f$\Gamma\f$ function
//!
//! **Defined in Header**
//!
Expand All @@ -59,7 +59,7 @@ namespace kyosu
//!
//! **Parameters**
//!
//! * `z` : Value to process.
//! * `z` : rel or complex value to process.
//!
//! **Return value**
//!
Expand Down
4 changes: 2 additions & 2 deletions include/kyosu/functions/dec.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ namespace kyosu
//! **Defined in Header**
//!
//! @code
//! #declude <kyosu/functions.hpp>
//! #include <kyosu/functions.hpp>
//! @endcode
//!
//! @groupheader{Callable Signatures}
Expand All @@ -52,7 +52,7 @@ namespace kyosu
//! namespace kyosu
//! {
//! template<kyosu::concepts::cayley_dickson T> constexpr T dec(T z) noexcept;
//! template<eve::floating_ordered_value T> constexpr T dec(T z) noexcept;
//! template<eve::floating_ordered_value T> constexpr T dec(T z) noexcept;
//! }
//! @endcode
//!
Expand Down
10 changes: 4 additions & 6 deletions include/kyosu/functions/dist.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,18 @@ namespace kyosu
//! @code
//! namespace kyosu
//! {
//! template<kyosu::concepts::cayley_dickson T0, kyosu::concepts::cayley_dickson T1 > constexpr auto dist(T0 z0, T1, z1) noexcept;
//! template<eve::floating_ordered_value T0, kyosu::concepts::cayley_dickson T1> > constexpr auto dist(T0 z0, T1, z1) noexcept;
//! template<kyosu::concepts::cayley_dickson T0, eve::floating_ordered_value T1 > constexpr auto dist(T0 z0, T1, z1) noexcept;
//! template<eve::floating_ordered_value T0, floating_ordered_value T1> > constexpr auto dist(T0 z0, T1, z1) noexcept;
///! }
//! constexpr auto dist(auto z0, auto z1) noexcept;
//! }
//! @endcode
//!
//! **Parameters**
//!
//! * `z0, z1` : Value to process.
//! * `z0, z1` : Values to process.
//!
//! **Return value**
//!
//! Returns the distance between the two arguments computed as the absolute value of the arguments difference.
//! Arguments can be a mix of floting or Cayley-Dicson values.
//!
//! @groupheader{Example}
//!
Expand Down
10 changes: 4 additions & 6 deletions include/kyosu/functions/dot.hpp
Original file line number Diff line number Diff line change
Expand Up @@ -55,20 +55,18 @@ namespace kyosu
//! @code
//! namespace kyosu
//! {
//! template<kyosu::concepts::cayley_dickson T0, kyosu::concepts::cayley_dickson T1 > constexpr auto dot(T0 z0, T1, z1) noexcept;
//! template<eve::floating_ordered_value T0, kyosu::concepts::cayley_dickson T1> > constexpr auto dot(T0 z0, T1, z1) noexcept;
//! template<kyosu::concepts::cayley_dickson T0, eve::floating_ordered_value T1 > constexpr auto dot(T0 z0, T1, z1) noexcept;
//! template<eve::floating_ordered_value T0, floating_ordered_value T1> > constexpr auto dot(T0 z0, T1, z1) noexcept;
///! }
//! constexpr auto dot(auto z0, auto z1) noexcept;
//! }
//! @endcode
//!
//! **Parameters**
//!
//! * `z0, z1` : Value to process.
//! * `z0, z1` : Values to process.
//!
//! **Return value**
//!
//! Returns the dot product of z0 and z1. If z0 and z1 are floating point this is equivalent to z0*z1.
//! Arguments can be a mix of floting or Cayley-Dicson values.
//!
//! `dot(z0, z0)` is always semantically equivalent to `sqr_abs(z0)`.
//!
Expand Down

0 comments on commit b9cbb4c

Please sign in to comment.