Initial revision.
git-svn-id: https://swig.svn.sourceforge.net/svnroot/swig/trunk/SWIG@366 626c5289-ae23-0410-ae9c-e8d60b6d4f22
This commit is contained in:
parent
b016737462
commit
6ca566dee0
12 changed files with 472 additions and 0 deletions
24
Examples/guile/matrix/vector.i
Normal file
24
Examples/guile/matrix/vector.i
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
//
|
||||
// FILE : vector.i
|
||||
|
||||
%init Vector_Init
|
||||
%{
|
||||
#include "vector.h"
|
||||
%}
|
||||
|
||||
%section "Vector Operations"
|
||||
|
||||
extern Vector *createv(double x,double y,double z,double w);
|
||||
/* Creates a new vector v(x,y,z,w) */
|
||||
|
||||
extern void destroyv(Vector *v);
|
||||
/* Destroys the vector v */
|
||||
|
||||
extern void printv(Vector *v);
|
||||
/* Prints out the vector v */
|
||||
|
||||
extern void transform(double **T, Vector *v, Vector *t);
|
||||
/* Transforms vector c to vector t by M*v --> t */
|
||||
|
||||
|
||||
|
||||
Loading…
Add table
Add a link
Reference in a new issue