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

callConvex -- Generic function to run a Convex program.

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:

  • callConvex(String)

For the programmer

The object callConvex is a method function with options.


The source of this document is in /build/reproducible-path/macaulay2-1.25.05+ds/M2/Macaulay2/packages/ConvexInterface.m2:814:0.