Skip to content

Instantly share code, notes, and snippets.

@isuruf
Created March 25, 2017 13:46
Show Gist options
  • Save isuruf/e1be39a26148e05c2cb7ba2fed097dae to your computer and use it in GitHub Desktop.
Save isuruf/e1be39a26148e05c2cb7ba2fed097dae to your computer and use it in GitHub Desktop.

You'll have store a pointer to SymEngine objects. For the test assume a SymEngine object is like below,

typedef struct {
    double A;
    double B;
} CStruct;

Come up with a solution to create a struct, update the struct, delete the struct and showing the contents of the struct from R.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment