18 lines
259 B
OpenEdge ABL
18 lines
259 B
OpenEdge ABL
/*** Matrix and vector example ***/
|
|
|
|
%module Matrix
|
|
%{
|
|
#include <math.h>
|
|
%}
|
|
|
|
%include guilemain.i
|
|
%include matrix.i
|
|
%include vector.i
|
|
|
|
// Include the math library so we can get some random numbers and
|
|
// other stuff
|
|
|
|
%include math.i
|
|
|
|
extern double drand48();
|