MADNESS  0.10.1
tensor_spec.h
Go to the documentation of this file.
1 
2 // Instantiations for int
3 template class Tensor<int>;
4 template class SliceTensor<int>;
5 template std::ostream& operator << (std::ostream& s, const Tensor<int>& t);
6 template Tensor<int> copy(const Tensor<int>& t);
7 template Tensor<int> outer(const Tensor<int>& left, const Tensor<int>& right);
8 template Tensor< Tensor<int>::scalar_type > abs(const Tensor<int>& t);
9 template Tensor<int> transpose(const Tensor<int>& t);
10 
11 // Instantiations for long
12 template class Tensor<long>;
13 template class SliceTensor<long>;
14 template std::ostream& operator << (std::ostream& s, const Tensor<long>& t);
15 template Tensor<long> copy(const Tensor<long>& t);
16 template Tensor<long> outer(const Tensor<long>& left, const Tensor<long>& right);
17 template Tensor< Tensor<long>::scalar_type > abs(const Tensor<long>& t);
18 template Tensor<long> transpose(const Tensor<long>& t);
19 
20 // Instantiations for double
21 template class Tensor<double>;
22 template class SliceTensor<double>;
23 template std::ostream& operator << (std::ostream& s, const Tensor<double>& t);
24 template Tensor<double> copy(const Tensor<double>& t);
25 template Tensor<double> outer(const Tensor<double>& left, const Tensor<double>& right);
26 template Tensor< Tensor<double>::scalar_type > abs(const Tensor<double>& t);
27 template Tensor<double> transpose(const Tensor<double>& t);
28 
29 // Instantiations for float
30 template class Tensor<float>;
31 template class SliceTensor<float>;
32 template std::ostream& operator << (std::ostream& s, const Tensor<float>& t);
33 template Tensor<float> copy(const Tensor<float>& t);
34 template Tensor<float> outer(const Tensor<float>& left, const Tensor<float>& right);
35 template Tensor< Tensor<float>::scalar_type > abs(const Tensor<float>& t);
36 template Tensor<float> transpose(const Tensor<float>& t);
37 
38 // Instantiations for double_complex
39 template class Tensor<double_complex>;
40 template class SliceTensor<double_complex>;
41 template std::ostream& operator << (std::ostream& s, const Tensor<double_complex>& t);
42 template Tensor<double_complex> copy(const Tensor<double_complex>& t);
43 template Tensor<double_complex> outer(const Tensor<double_complex>& left, const Tensor<double_complex>& right);
44 template Tensor< Tensor<double_complex>::scalar_type > abs(const Tensor<double_complex>& t);
45 template Tensor<double_complex> transpose(const Tensor<double_complex>& t);
46 
47 // Instantiations for float_complex
48 template class Tensor<float_complex>;
49 template class SliceTensor<float_complex>;
50 template std::ostream& operator << (std::ostream& s, const Tensor<float_complex>& t);
51 template Tensor<float_complex> copy(const Tensor<float_complex>& t);
52 template Tensor<float_complex> outer(const Tensor<float_complex>& left, const Tensor<float_complex>& right);
53 template Tensor< Tensor<float_complex>::scalar_type > abs(const Tensor<float_complex>& t);
54 template Tensor<float_complex> transpose(const Tensor<float_complex>& t);
55 
56 // Instantiations for inner, inner_result and transform
57 template void inner_result(const Tensor<double>& left, const Tensor<double>& right,
58  long k0, long k1, Tensor< TensorResultType<double,double>::type >& result);
59 template Tensor<TensorResultType<double,double>::type> inner(const Tensor<double>& left, const Tensor<double>& right,
60  long k0, long k1);
61 template Tensor<TensorResultType<double,double>::type> transform(const Tensor<double>& t, const Tensor<double>& c);
62 template Tensor<TensorResultType<double,double>::type> general_transform(const Tensor<double>& t, const Tensor<double> c[]);
63 template Tensor<TensorResultType<double,double>::type>& fast_transform(const Tensor<double>& t, const Tensor<double>& c, Tensor< TensorResultType<double,double>::type >& result, Tensor< TensorResultType<double,double>::type >& work);
64 template void inner_result(const Tensor<float>& left, const Tensor<float>& right,
65  long k0, long k1, Tensor< TensorResultType<float,float>::type >& result);
66 template Tensor<TensorResultType<float,float>::type> inner(const Tensor<float>& left, const Tensor<float>& right,
67  long k0, long k1);
68 template Tensor<TensorResultType<float,float>::type> transform(const Tensor<float>& t, const Tensor<float>& c);
69 template Tensor<TensorResultType<float,float>::type> general_transform(const Tensor<float>& t, const Tensor<float> c[]);
70 template Tensor<TensorResultType<float,float>::type>& fast_transform(const Tensor<float>& t, const Tensor<float>& c, Tensor< TensorResultType<float,float>::type >& result, Tensor< TensorResultType<float,float>::type >& work);
71 template void inner_result(const Tensor<double_complex>& left, const Tensor<double_complex>& right,
72  long k0, long k1, Tensor< TensorResultType<double_complex,double_complex>::type >& result);
73 template Tensor<TensorResultType<double_complex,double_complex>::type> inner(const Tensor<double_complex>& left, const Tensor<double_complex>& right,
74  long k0, long k1);
75 template Tensor<TensorResultType<double_complex,double_complex>::type> transform(const Tensor<double_complex>& t, const Tensor<double_complex>& c);
76 template Tensor<TensorResultType<double_complex,double_complex>::type> general_transform(const Tensor<double_complex>& t, const Tensor<double_complex> c[]);
78 template void inner_result(const Tensor<float_complex>& left, const Tensor<float_complex>& right,
79  long k0, long k1, Tensor< TensorResultType<float_complex,float_complex>::type >& result);
80 template Tensor<TensorResultType<float_complex,float_complex>::type> inner(const Tensor<float_complex>& left, const Tensor<float_complex>& right,
81  long k0, long k1);
82 template Tensor<TensorResultType<float_complex,float_complex>::type> transform(const Tensor<float_complex>& t, const Tensor<float_complex>& c);
83 template Tensor<TensorResultType<float_complex,float_complex>::type> general_transform(const Tensor<float_complex>& t, const Tensor<float_complex> c[]);
85 template void inner_result(const Tensor<double_complex>& left, const Tensor<double>& right,
86  long k0, long k1, Tensor< TensorResultType<double_complex,double>::type >& result);
87 template Tensor<TensorResultType<double_complex,double>::type> inner(const Tensor<double_complex>& left, const Tensor<double>& right,
88  long k0, long k1);
89 template Tensor<TensorResultType<double_complex,double>::type> transform(const Tensor<double_complex>& t, const Tensor<double>& c);
90 template Tensor<TensorResultType<double_complex,double>::type> general_transform(const Tensor<double_complex>& t, const Tensor<double> c[]);
91 template Tensor<TensorResultType<double_complex,double>::type>& fast_transform(const Tensor<double_complex>& t, const Tensor<double>& c, Tensor< TensorResultType<double_complex,double>::type >& result, Tensor< TensorResultType<double_complex,double>::type >& work);
92 template void inner_result(const Tensor<double>& left, const Tensor<double_complex>& right,
93  long k0, long k1, Tensor< TensorResultType<double,double_complex>::type >& result);
94 template Tensor<TensorResultType<double,double_complex>::type> inner(const Tensor<double>& left, const Tensor<double_complex>& right,
95  long k0, long k1);
96 template Tensor<TensorResultType<double,double_complex>::type> transform(const Tensor<double>& t, const Tensor<double_complex>& c);
97 template Tensor<TensorResultType<double,double_complex>::type> general_transform(const Tensor<double>& t, const Tensor<double_complex> c[]);
98 template Tensor<TensorResultType<double,double_complex>::type>& fast_transform(const Tensor<double>& t, const Tensor<double_complex>& c, Tensor< TensorResultType<double,double_complex>::type >& result, Tensor< TensorResultType<double,double_complex>::type >& work);
99 template void inner_result(const Tensor<float_complex>& left, const Tensor<float>& right,
100  long k0, long k1, Tensor< TensorResultType<float_complex,float>::type >& result);
101 template Tensor<TensorResultType<float_complex,float>::type> inner(const Tensor<float_complex>& left, const Tensor<float>& right,
102  long k0, long k1);
103 template Tensor<TensorResultType<float_complex,float>::type> transform(const Tensor<float_complex>& t, const Tensor<float>& c);
104 template Tensor<TensorResultType<float_complex,float>::type> general_transform(const Tensor<float_complex>& t, const Tensor<float> c[]);
105 template Tensor<TensorResultType<float_complex,float>::type>& fast_transform(const Tensor<float_complex>& t, const Tensor<float>& c, Tensor< TensorResultType<float_complex,float>::type >& result, Tensor< TensorResultType<float_complex,float>::type >& work);
106 template void inner_result(const Tensor<float>& left, const Tensor<float_complex>& right,
107  long k0, long k1, Tensor< TensorResultType<float,float_complex>::type >& result);
108 template Tensor<TensorResultType<float,float_complex>::type> inner(const Tensor<float>& left, const Tensor<float_complex>& right,
109  long k0, long k1);
110 template Tensor<TensorResultType<float,float_complex>::type> transform(const Tensor<float>& t, const Tensor<float_complex>& c);
111 template Tensor<TensorResultType<float,float_complex>::type> general_transform(const Tensor<float>& t, const Tensor<float_complex> c[]);
112 template Tensor<TensorResultType<float,float_complex>::type>& fast_transform(const Tensor<float>& t, const Tensor<float_complex>& c, Tensor< TensorResultType<float,float_complex>::type >& result, Tensor< TensorResultType<float,float_complex>::type >& work);
113 
114 // Instantiations only for complex types
115 
116 // Instantiations for double_complextemplate Tensor< Tensor<double_complex>::scalar_type > arg(const Tensor<double_complex>& t);
117 template Tensor< Tensor<double_complex>::scalar_type > real(const Tensor<double_complex>& t);
118 template Tensor< Tensor<double_complex>::scalar_type > imag(const Tensor<double_complex>& t);
119 template Tensor<double_complex> conj(const Tensor<double_complex>& t);
120 template Tensor<double_complex> conj_transpose(const Tensor<double_complex>& t);
121 
122 // Instantiations for float_complextemplate Tensor< Tensor<float_complex>::scalar_type > arg(const Tensor<float_complex>& t);
123 template Tensor< Tensor<float_complex>::scalar_type > real(const Tensor<float_complex>& t);
124 template Tensor< Tensor<float_complex>::scalar_type > imag(const Tensor<float_complex>& t);
125 template Tensor<float_complex> conj(const Tensor<float_complex>& t);
126 template Tensor<float_complex> conj_transpose(const Tensor<float_complex>& t);
std::string type(const PairType &n)
Definition: PNOParameters.h:18
static const double c
Definition: relops.cc:10
template Tensor< double_complex > conj_transpose(const Tensor< double_complex > &t)
template Tensor< int > copy(const Tensor< int > &t)
template Tensor< TensorResultType< double, double >::type > & fast_transform(const Tensor< double > &t, const Tensor< double > &c, Tensor< TensorResultType< double, double >::type > &result, Tensor< TensorResultType< double, double >::type > &work)
template Tensor< TensorResultType< double, double >::type > inner(const Tensor< double > &left, const Tensor< double > &right, long k0, long k1)
template Tensor< int > transpose(const Tensor< int > &t)
template Tensor< double_complex > conj(const Tensor< double_complex > &t)
template Tensor< Tensor< double_complex >::scalar_type > imag(const Tensor< double_complex > &t)
template Tensor< TensorResultType< double, double >::type > general_transform(const Tensor< double > &t, const Tensor< double > c[])
template Tensor< TensorResultType< double, double >::type > transform(const Tensor< double > &t, const Tensor< double > &c)
template std::ostream & operator<<(std::ostream &s, const Tensor< int > &t)
template Tensor< int > outer(const Tensor< int > &left, const Tensor< int > &right)
template Tensor< Tensor< double_complex >::scalar_type > real(const Tensor< double_complex > &t)
template void inner_result(const Tensor< double > &left, const Tensor< double > &right, long k0, long k1, Tensor< TensorResultType< double, double >::type > &result)
template Tensor< Tensor< int >::scalar_type > abs(const Tensor< int > &t)
double k0
Definition: testperiodic.cc:66
double k1
Definition: testperiodic.cc:67