IT++ Logo
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
help_functions.cpp
Go to the documentation of this file.
1 
30 
32 
33 namespace itpp
34 {
35 
36 template vec apply_function(double(*f)(double), const vec &v);
37 template cvec apply_function(std::complex<double> (*f)(const std::complex<double> &),
38  const cvec &v);
39 template svec apply_function(short(*f)(short), const svec &v);
40 template ivec apply_function(int (*f)(int), const ivec &v);
41 template bvec apply_function(bin(*f)(bin), const bvec &v);
42 
43 template mat apply_function(double(*f)(double), const mat &m);
44 template cmat apply_function(std::complex<double> (*f)(const std::complex<double> &),
45  const cmat &m);
46 template smat apply_function(short(*f)(short), const smat &m);
47 template imat apply_function(int (*f)(int), const imat &m);
48 template bmat apply_function(bin(*f)(bin), const bmat &m);
49 
50 template vec apply_function(double(*f)(double, double), const double& x, const vec &v);
51 template cvec apply_function(std::complex<double> (*f)(const std::complex<double> &,
52  const std::complex<double> &),
53  const std::complex<double>& x, const cvec &v);
54 template svec apply_function(short(*f)(short, short), const short& x, const svec &v);
55 template ivec apply_function(int (*f)(int, int), const int& x, const ivec &v);
56 template bvec apply_function(bin(*f)(bin, bin), const bin& x, const bvec &v);
57 
58 template mat apply_function(double(*f)(double, double), const double& x, const mat &m);
59 template cmat apply_function(std::complex<double> (*f)(const std::complex<double> &,
60  const std::complex<double> &),
61  const std::complex<double>& x, const cmat &m);
62 template smat apply_function(short(*f)(short, short), const short& x, const smat &m);
63 template imat apply_function(int (*f)(int, int), const int& x, const imat &m);
64 template bmat apply_function(bin(*f)(bin, bin), const bin& x, const bmat &m);
65 
66 template vec apply_function(double(*f)(double, double), const vec &v, const double& x);
67 template cvec apply_function(std::complex<double> (*f)(const std::complex<double> &,
68  const std::complex<double> &),
69  const cvec &v, const std::complex<double>& x);
70 template svec apply_function(short(*f)(short, short), const svec &v, const short& x);
71 template ivec apply_function(int (*f)(int, int), const ivec &v, const int& x);
72 template bvec apply_function(bin(*f)(bin, bin), const bvec &v, const bin& x);
73 
74 template mat apply_function(double(*f)(double, double), const mat &m, const double& x);
75 template cmat apply_function(std::complex<double> (*f)(const std::complex<double> &,
76  const std::complex<double> &),
77  const cmat &m, const std::complex<double>& x);
78 template smat apply_function(short(*f)(short, short), const smat &m, const short& x);
79 template imat apply_function(int (*f)(int, int), const imat &m, const int& x);
80 template bmat apply_function(bin(*f)(bin, bin), const bmat &m, const bin& x);
81 
82 } // namespace itpp
83 
SourceForge Logo

Generated on Fri Mar 21 2014 17:14:12 for IT++ by Doxygen 1.8.1.2