Graph Framework
Loading...
Searching...
No Matches
trigonometry_test.cpp File Reference

Tests for trig nodes. More...

Functions

template<jit::float_scalar T>
void test_sin ()
 Tests for sine nodes.
 
template<jit::float_scalar T>
void test_cos ()
 Tests for cosine nodes.
 
template<jit::float_scalar T>
void test_tan ()
 Tests for tan nodes.
 
template<jit::float_scalar T>
void test_atan ()
 Tests for tan nodes.
 
template<jit::float_scalar T>
void run_tests ()
 Run tests with a specified backend.
 
int main (int argc, const char *argv[])
 Main program of the test.
 

Detailed Description

Tests for trig nodes.

Function Documentation

◆ main()

int main ( int  argc,
const char *  argv[] 
)

Main program of the test.

Parameters
[in]argcNumber of commandline arguments.
[in]argvArray of commandline arguments.

◆ run_tests()

template<jit::float_scalar T>
void run_tests ( )

Run tests with a specified backend.

Template Parameters
TBase type of the calculation.

◆ test_atan()

template<jit::float_scalar T>
void test_atan ( )

Tests for tan nodes.

Template Parameters
TBase type of the calculation.

◆ test_cos()

template<jit::float_scalar T>
void test_cos ( )

Tests for cosine nodes.

Template Parameters
TBase type of the calculation.

◆ test_sin()

template<jit::float_scalar T>
void test_sin ( )

Tests for sine nodes.

Template Parameters
TBase type of the calculation.

◆ test_tan()

template<jit::float_scalar T>
void test_tan ( )

Tests for tan nodes.

Template Parameters
TBase type of the calculation.