00001 00030 #include <itpp/base/help_functions.h> 00031 00033 00034 namespace itpp { 00035 00036 template vec apply_function(double (*f)(double), const vec &v); 00037 template cvec apply_function(std::complex<double> (*f)(const std::complex<double> &), 00038 const cvec &v); 00039 template svec apply_function(short (*f)(short), const svec &v); 00040 template ivec apply_function(int (*f)(int), const ivec &v); 00041 template bvec apply_function(bin (*f)(bin), const bvec &v); 00042 00043 template mat apply_function(double (*f)(double), const mat &m); 00044 template cmat apply_function(std::complex<double> (*f)(const std::complex<double> &), 00045 const cmat &m); 00046 template smat apply_function(short (*f)(short), const smat &m); 00047 template imat apply_function(int (*f)(int), const imat &m); 00048 template bmat apply_function(bin (*f)(bin), const bmat &m); 00049 00050 template vec apply_function(double (*f)(double, double), const double& x, const vec &v); 00051 template cvec apply_function(std::complex<double> (*f)(const std::complex<double> &, 00052 const std::complex<double> &), 00053 const std::complex<double>& x, const cvec &v); 00054 template svec apply_function(short (*f)(short, short), const short& x, const svec &v); 00055 template ivec apply_function(int (*f)(int, int), const int& x, const ivec &v); 00056 template bvec apply_function(bin (*f)(bin, bin), const bin& x, const bvec &v); 00057 00058 template mat apply_function(double (*f)(double, double), const double& x, const mat &m); 00059 template cmat apply_function(std::complex<double> (*f)(const std::complex<double> &, 00060 const std::complex<double> &), 00061 const std::complex<double>& x, const cmat &m); 00062 template smat apply_function(short (*f)(short, short), const short& x, const smat &m); 00063 template imat apply_function(int (*f)(int, int), const int& x, const imat &m); 00064 template bmat apply_function(bin (*f)(bin, bin), const bin& x, const bmat &m); 00065 00066 template vec apply_function(double (*f)(double, double), const vec &v, const double& x); 00067 template cvec apply_function(std::complex<double> (*f)(const std::complex<double> &, 00068 const std::complex<double> &), 00069 const cvec &v, const std::complex<double>& x); 00070 template svec apply_function(short (*f)(short, short), const svec &v, const short& x); 00071 template ivec apply_function(int (*f)(int, int), const ivec &v, const int& x); 00072 template bvec apply_function(bin (*f)(bin, bin), const bvec &v, const bin& x); 00073 00074 template mat apply_function(double (*f)(double, double), const mat &m, const double& x); 00075 template cmat apply_function(std::complex<double> (*f)(const std::complex<double> &, 00076 const std::complex<double> &), 00077 const cmat &m, const std::complex<double>& x); 00078 template smat apply_function(short (*f)(short, short), const smat &m, const short& x); 00079 template imat apply_function(int (*f)(int, int), const imat &m, const int& x); 00080 template bmat apply_function(bin (*f)(bin, bin), const bmat &m, const bin& x); 00081 00082 } // namespace itpp 00083
Generated on Sat Apr 19 10:41:55 2008 for IT++ by Doxygen 1.5.5