Search found 14 matches

Go to advanced search

by SimonKing
02 Mar 2017, 21:59
Forum: Helpdesk
Topic: Listing all available functions/members
Replies: 10
Views: 13154

Re: Listing all available functions/members

The "$v" in your second line is a typo?
It was a typo, in the sense that I omitted one line when copy-and-pasting. I have now edited my post.
by SimonKing
02 Mar 2017, 17:11
Forum: Helpdesk
Topic: Listing all available functions/members
Replies: 10
Views: 13154

Re: Listing all available functions/members

Note that the above way to get members of an object doesn't always work. For instance: (edit: in the following code I added the second line, that I accidentally omitted in my original post) polytope > $c = cube(4); polytope > $v = $c->VERTICES; polytope > $t = typeof $v; polytope > print join("...
by SimonKing
01 Mar 2017, 21:56
Forum: Helpdesk
Topic: Listing all available functions/members
Replies: 10
Views: 13154

Re: Listing all available functions/members

Off-list, Ewgenij Gawrilow gave me the following answer (summarised in English): One can use the function "apropos" to get a list of all functions whose name matches a given perl regular expression: polytope > apropos 'assoc'; /functions/Producing a polytope from scratch/rss_associahedron ...
by SimonKing
01 Mar 2017, 12:49
Forum: Helpdesk
Topic: Listing all available functions/members
Replies: 10
Views: 13154

Listing all available functions/members

Hi! I have originally asked this question to Michael Joswig off-list. He requested me to ask here, so that other people can benefit. So, let me both formulate my question and summarise Michael's answer. My aim is to use Polymake via a pseudo-tty interface (more precisely: It is going to be a pexpect...

Go to advanced search