Cyclops Tensor Framework
parallel arithmetic on multidimensional arrays
ring.cxx
Go to the documentation of this file.
1 #include "../../include/ctf.hpp"
2 
3 
4 namespace CTF_int {
7  return &float_ring;
8  }
11  return &double_ring;
12  }
15  return &int_ring;
16  }
19  return &int64_t_ring;
20  }
21 }
22 
23 
CTF_int::algstrct const * get_double_ring()
Definition: ring.cxx:10
Ring class defined by a datatype and addition and multiplicaton functions addition must have an ident...
Definition: ring.h:18
CTF::Ring< double > double_ring
Definition: ring.cxx:9
CTF::Ring< int64_t > int64_t_ring
Definition: ring.cxx:17
CTF::Ring< int > int_ring
Definition: ring.cxx:13
CTF::Ring< float > float_ring
Definition: ring.cxx:5
CTF_int::algstrct const * get_int_ring()
Definition: ring.cxx:14
CTF_int::algstrct const * get_int64_t_ring()
Definition: ring.cxx:18
CTF_int::algstrct const * get_float_ring()
Definition: ring.cxx:6
algstrct (algebraic structure) defines the elementwise operations computed in each tensor contraction...
Definition: algstrct.h:34