IT++ Logo
smat.cpp
Go to the documentation of this file.
1 
29 #include <itpp/base/smat.h>
30 
32 
33 namespace itpp
34 {
35 
36 // ---------------------------------------------------------------------
37 // Instantiations
38 // ---------------------------------------------------------------------
39 
40 template class ITPP_EXPORT Sparse_Mat<int>;
41 template class ITPP_EXPORT Sparse_Mat<double>;
42 template class ITPP_EXPORT Sparse_Mat<std::complex<double> >;
43 
44 template ITPP_EXPORT sparse_imat operator+(const sparse_imat &, const sparse_imat &);
45 template ITPP_EXPORT sparse_mat operator+(const sparse_mat &, const sparse_mat &);
46 template ITPP_EXPORT sparse_cmat operator+(const sparse_cmat &, const sparse_cmat &);
47 
48 template ITPP_EXPORT sparse_imat operator*(const sparse_imat &, const sparse_imat &);
49 template ITPP_EXPORT sparse_mat operator*(const sparse_mat &, const sparse_mat &);
50 template ITPP_EXPORT sparse_cmat operator*(const sparse_cmat &, const sparse_cmat &);
51 
52 template ITPP_EXPORT ivec operator*(const ivec &, const sparse_imat &);
53 template ITPP_EXPORT vec operator*(const vec &, const sparse_mat &);
54 template ITPP_EXPORT cvec operator*(const cvec &, const sparse_cmat &);
55 
56 template ITPP_EXPORT ivec operator*(const sparse_imat &, const ivec &);
57 template ITPP_EXPORT vec operator*(const sparse_mat &, const vec &);
58 template ITPP_EXPORT cvec operator*(const sparse_cmat &, const cvec &);
59 
60 template ITPP_EXPORT imat trans_mult(const sparse_imat &);
61 template ITPP_EXPORT mat trans_mult(const sparse_mat &);
62 template ITPP_EXPORT cmat trans_mult(const sparse_cmat &);
63 
64 template ITPP_EXPORT sparse_imat trans_mult_s(const sparse_imat &);
65 template ITPP_EXPORT sparse_mat trans_mult_s(const sparse_mat &);
66 template ITPP_EXPORT sparse_cmat trans_mult_s(const sparse_cmat &);
67 
68 template ITPP_EXPORT sparse_imat trans_mult(const sparse_imat &, const sparse_imat &);
69 template ITPP_EXPORT sparse_mat trans_mult(const sparse_mat &, const sparse_mat &);
70 template ITPP_EXPORT sparse_cmat trans_mult(const sparse_cmat &, const sparse_cmat &);
71 
72 template ITPP_EXPORT ivec trans_mult(const sparse_imat &, const ivec &);
73 template ITPP_EXPORT vec trans_mult(const sparse_mat &, const vec &);
74 template ITPP_EXPORT cvec trans_mult(const sparse_cmat &, const cvec &);
75 
76 template ITPP_EXPORT sparse_imat mult_trans(const sparse_imat &, const sparse_imat &);
77 template ITPP_EXPORT sparse_mat mult_trans(const sparse_mat &, const sparse_mat &);
78 template ITPP_EXPORT sparse_cmat mult_trans(const sparse_cmat &, const sparse_cmat &);
79 
80 } // namespace itpp
81 
SourceForge Logo

Generated on Sat May 25 2013 16:32:19 for IT++ by Doxygen 1.8.2