Better compiler optimizations.
This commit is contained in:
18
swig/spt.i
18
swig/spt.i
@ -13,16 +13,16 @@
|
||||
// Instantiate templates used by example
|
||||
// If the template is too nested (>2), parts of it need to be declared as well
|
||||
namespace std {
|
||||
%template(DoubleMatrix_3x3) array<array<double, 3>, 3>;
|
||||
%template(VectorDouble) vector<double>;
|
||||
%template(DoubleMatrix_3x1) array<array<double, 1>, 3>;
|
||||
%template(DoubleMatrix_3x4) array<array<double, 3>, 4>;
|
||||
%template(Matrix_Jx4) vector<array<double, 4>>;
|
||||
%template(Matrix_NxJx4) vector<vector<array<double, 4>>>;
|
||||
%template(Matrix_Jx3) vector<array<double, 3>>;
|
||||
%template(Matrix_VxNxJx3) vector<vector<vector<array<double, 3>>>>;
|
||||
%template(FloatMatrix_3x3) array<array<float, 3>, 3>;
|
||||
%template(VectorFloat) vector<float>;
|
||||
%template(FloatMatrix_3x1) array<array<float, 1>, 3>;
|
||||
%template(FloatMatrix_3x4) array<array<float, 3>, 4>;
|
||||
%template(Matrix_Jx4) vector<array<float, 4>>;
|
||||
%template(Matrix_NxJx4) vector<vector<array<float, 4>>>;
|
||||
%template(Matrix_Jx3) vector<array<float, 3>>;
|
||||
%template(Matrix_VxNxJx3) vector<vector<vector<array<float, 3>>>>;
|
||||
%template(VectorCamera) vector<Camera>;
|
||||
%template(DoubleMatrix_2x3) array<array<double, 3>, 2>;
|
||||
%template(FloatMatrix_2x3) array<array<float, 3>, 2>;
|
||||
%template(VectorString) vector<std::string>;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user