Page MenuHomec4science

c_func.h
No OneTemporary

File Metadata

Created
Tue, Apr 30, 16:23

c_func.h

#ifndef __C_FUNC_H_
#define __C_FUNC_H_
extern "C" {
struct matrix {
int m, n;
double * data;
inline double & operator()(int i, int j) {
return data[j*m + i];
}
};
void c_function(matrix * in, double d);
}
#endif // __C_FUNC_H_

Event Timeline