Sophie

Sophie

distrib > * > 2010.0 > * > by-pkgid > 0c1f9463f03451b5503f0c33beb88a98 > files > 491

gap-system-4.4.12-5mdv2010.0.x86_64.rpm

  
  22. Parallel Computation - Extra Functions
  
      | ChildFunction("function(arg);",s) This runs the GAP function "function(arg);" on a child process accessed by the stream s. The output from "func;" can be accessed via the stream.                                                                       | 
      | ChildRead(s) This returns, as a string, the output of the last application of ChildFunction("function(arg);",s).                                                                                                                                         | 
      | ChildReadEval(s) This returns, as an evaluated string, the output of the last application of ChildFunction("function(arg);",s).                                                                                                                          | 
      | ParallelList(I,fn,L) Inputs a list I, a function fn such that fn(x) is defined for all x in I, and a list of children L. It uses the children in L to compute List(I,x->fn(x)). (Obviously the function fn must be defined on all child processes in L.) |