OpenGrok
Home
Sort by relevance
Sort by last modified time
Full Search
Definition
Symbol
File Path
History
|
|
Help
Searched
refs:C_MatrixXd
(Results
1 - 3
of
3
) sorted by null
/external/eigen/demos/mix_eigen_and_c/
binary_library.h
22
struct
C_MatrixXd
{};
25
// the
C_MatrixXd
class, wraps some of the functionality
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
[
all
...]
binary_library.cpp
23
inline MatrixXd& c_to_eigen(
C_MatrixXd
* ptr)
28
inline const MatrixXd& c_to_eigen(const
C_MatrixXd
* ptr)
33
inline
C_MatrixXd
* eigen_to_c(MatrixXd& ref)
35
return reinterpret_cast<
C_MatrixXd
*>(&ref);
38
inline const
C_MatrixXd
* eigen_to_c(const MatrixXd& ref)
40
return reinterpret_cast<const
C_MatrixXd
*>(&ref);
72
C_MatrixXd
* MatrixXd_new(int rows, int cols)
77
void MatrixXd_delete(
C_MatrixXd
*m)
82
double* MatrixXd_data(
C_MatrixXd
*m)
87
void MatrixXd_set_zero(
C_MatrixXd
*m
[
all
...]
example.c
15
struct
C_MatrixXd
*matrix1, *matrix2, *result;
Completed in 37 milliseconds