Home
last modified time | relevance | path

Searched refs:C_MatrixXd (Results 1 – 3 of 3) sorted by relevance

/external/eigen/demos/mix_eigen_and_c/
Dbinary_library.h22 struct C_MatrixXd {}; struct
27 struct C_MatrixXd* MatrixXd_new(int rows, int cols);
28 void MatrixXd_delete (struct C_MatrixXd *m);
29 double* MatrixXd_data (struct C_MatrixXd *m);
30 void MatrixXd_set_zero (struct C_MatrixXd *m);
31 void MatrixXd_resize (struct C_MatrixXd *m, int rows, int cols);
32 void MatrixXd_copy (struct C_MatrixXd *dst,
33 const struct C_MatrixXd *src);
34 void MatrixXd_copy_map (struct C_MatrixXd *dst,
36 void MatrixXd_set_coeff (struct C_MatrixXd *m,
[all …]
Dbinary_library.cpp23 inline MatrixXd& c_to_eigen(C_MatrixXd* ptr) in c_to_eigen()
28 inline const MatrixXd& c_to_eigen(const C_MatrixXd* ptr) in c_to_eigen()
33 inline C_MatrixXd* eigen_to_c(MatrixXd& ref) in eigen_to_c()
35 return reinterpret_cast<C_MatrixXd*>(&ref); in eigen_to_c()
38 inline const C_MatrixXd* eigen_to_c(const MatrixXd& ref) in eigen_to_c()
40 return reinterpret_cast<const C_MatrixXd*>(&ref); in eigen_to_c()
72 C_MatrixXd* MatrixXd_new(int rows, int cols) in MatrixXd_new()
77 void MatrixXd_delete(C_MatrixXd *m) in MatrixXd_delete()
82 double* MatrixXd_data(C_MatrixXd *m) in MatrixXd_data()
87 void MatrixXd_set_zero(C_MatrixXd *m) in MatrixXd_set_zero()
[all …]
Dexample.c15 struct C_MatrixXd *matrix1, *matrix2, *result; in demo_MatrixXd()