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