Macaulay2 » Documentation
Packages » ConvexInterface :: callConvex
next | previous | forward | backward | up | index | toc

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.