Sends an array object. Unlike Put(object), this method lets you specify the heads you want for each dimension.
Exception Type | Condition |
---|---|
MathLinkException | On any MathLink error. |
int[,] a = {{1,2},{3,4}}; // The following are equivalent, sending to Mathematica the matrix: {{1,2},{3,4}} ml.Put(a); ml.Put(a, null); ml.Put(a, new String[] {"List", "List"}); // The following sends the expression: foo[bar[{1,2],[3,4]] ml.Put(a, new String[] {"foo", "bar"});
IMathLink Interface | Wolfram.NETLink Namespace | IMathLink.Put Overload List