next | previous | forward | backward | up | top | index | toc | Macaulay2 website
ConvexInterface :: callConvex

callConvex -- Generic function to run a Convex program.

Synopsis

Description

This is a generic function to run a Convex program given by the string S.

The result of the computation can be stored in a file via the Option toFile.

i1 : callConvex("returnvalue:=convert(fvector(convhull([1,0],[0,1],[-1,0],[0,-1])),list);")

o1 = {1, 4, 4, 1}

o1 : List

Ways to use callConvex :

For the programmer

The object callConvex is a method function with options.