Sophie

Sophie

distrib > Mandriva > 2010.0 > i586 > media > contrib-release > by-pkgid > 91213ddcfbe7f54821d42c2d9e091326 > files > 188

gap-system-packages-4.4.12-5mdv2010.0.i586.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.) |