cMHN 1.1
C++ library for learning MHNs with pRC
Loading...
Searching...
No Matches
tan.hpp
Go to the documentation of this file.
1// SPDX-License-Identifier: BSD-2-Clause
2
3#ifndef pRC_CORE_COMPLEX_FUNCTIONS_TAN_H
4#define pRC_CORE_COMPLEX_FUNCTIONS_TAN_H
5
10
11namespace pRC
12{
13 template<class T>
14 static inline constexpr auto tan(Complex<T> const &a)
15 {
16 return sin(a) / cos(a);
17 }
18}
19#endif // pRC_CORE_COMPLEX_FUNCTIONS_TAN_H
Definition complex.hpp:26
Definition cholesky.hpp:18
static constexpr auto cos(Complex< T > const &a)
Definition cos.hpp:11
static constexpr auto sin(Complex< T > const &a)
Definition sin.hpp:11
static constexpr auto tan(Complex< T > const &a)
Definition tan.hpp:14