Graph Framework
Loading...
Searching...
No Matches
trigonometry.hpp File Reference

Trigonometry functions. More...

#include "node.hpp"

Go to the source code of this file.

Classes

class  graph::sine_node< T, SAFE_MATH >
 Class representing a sine_node leaf. More...
 
class  graph::cosine_node< T, SAFE_MATH >
 Class representing a cosine_node leaf. More...
 
class  graph::arctan_node< T, SAFE_MATH >
 Class representing a sine_node leaf. More...
 

Namespaces

namespace  graph
 Name space for graph nodes.
 

Typedefs

template<jit::float_scalar T, bool SAFE_MATH = false>
using graph::shared_sine = std::shared_ptr< sine_node< T, SAFE_MATH > >
 Convenience type alias for shared sine nodes.
 
template<jit::float_scalar T, bool SAFE_MATH = false>
using graph::shared_cosine = std::shared_ptr< cosine_node< T, SAFE_MATH > >
 Convenience type alias for shared cosine nodes.
 
template<jit::float_scalar T, bool SAFE_MATH = false>
using graph::shared_atan = std::shared_ptr< arctan_node< T, SAFE_MATH > >
 Convenience type alias for shared add nodes.
 

Functions

template<jit::float_scalar T, bool SAFE_MATH = false>
shared_leaf< T, SAFE_MATHgraph::sin (shared_leaf< T, SAFE_MATH > x)
 Define sine convience function.
 
template<jit::float_scalar T, bool SAFE_MATH = false>
shared_sine< T, SAFE_MATHgraph::sin_cast (shared_leaf< T, SAFE_MATH > x)
 Cast to a sine node.
 
template<jit::float_scalar T, bool SAFE_MATH = false>
shared_leaf< T, SAFE_MATHgraph::cos (shared_leaf< T, SAFE_MATH > x)
 Define cosine convience function.
 
template<jit::float_scalar T, bool SAFE_MATH = false>
shared_cosine< T, SAFE_MATHgraph::cos_cast (shared_leaf< T, SAFE_MATH > x)
 Cast to a cosine node.
 
template<jit::float_scalar T, bool SAFE_MATH = false>
shared_leaf< T, SAFE_MATHgraph::tan (shared_leaf< T, SAFE_MATH > x)
 Define tangent convience function.
 
template<jit::float_scalar T, bool SAFE_MATH = false>
shared_leaf< T, SAFE_MATHgraph::atan (shared_leaf< T, SAFE_MATH > l, shared_leaf< T, SAFE_MATH > r)
 Build arctan node.
 
template<jit::float_scalar T, jit::float_scalar L, bool SAFE_MATH = false>
shared_leaf< T, SAFE_MATHgraph::atan (const L l, shared_leaf< T, SAFE_MATH > r)
 Build power node.
 
template<jit::float_scalar T, jit::float_scalar R, bool SAFE_MATH = false>
shared_leaf< T, SAFE_MATHgraph::atan (shared_leaf< T, SAFE_MATH > l, const R r)
 Build power node.
 
template<jit::float_scalar T, bool SAFE_MATH = false>
shared_atan< T, SAFE_MATHgraph::atan_cast (shared_leaf< T, SAFE_MATH > x)
 Cast to a power node.
 

Detailed Description

Trigonometry functions.

Defines trigonometry operations.