Loading...
Searching...
No Matches
complex.h
Go to the documentation of this file.
1#ifndef _BBM_ENOKI_COMPLEX_H_
2#define _BBM_ENOKI_COMPLEX_H_
3
4#include "enoki/complex.h"
5
6/************************************************************************/
7/*! \file complex.h
8
9 \brief Define complex as an alias to enoki::Complex. Also define a
10 custom toString method to mimic the native version's complex output.
11
12************************************************************************/
13
14namespace backbone {
15
16 /**********************************************************************/
17 /*! \brief Alias enoki::Complex
18 **********************************************************************/
19 template<typename T>
20 using complex = enoki::Complex<T>;
21
22 /*********************************************************************/
23 /*! @{ alias external methods
24 *********************************************************************/
25 using enoki::real;
26 using enoki::imag;
27 using enoki::conj;
28 //! @}
29
30} // end backbone namespace
31
32#endif /* _BBM_ENOKI_COMPLEX_H_ */
Random number generator; built on top of Drjit.
Definition: backbone.h:53
drjit::Complex< T > complex
Alias drjit::Complex.
Definition: complex.h:20