[BACK]Return to ox.sm1 CVS log [TXT][DIR] Up to [local] / OpenXM / src / kan96xx / Doc

Diff for /OpenXM/src/kan96xx/Doc/ox.sm1 between version 1.37 and 1.38

version 1.37, 2004/03/03 06:09:29 version 1.38, 2004/03/04 05:18:26
Line 1 
Line 1 
 %%%%%%%%%%%  $OpenXM: OpenXM/src/kan96xx/Doc/ox.sm1,v 1.36 2004/03/01 07:19:44 takayama Exp $  %%%%%%%%%%%  $OpenXM: OpenXM/src/kan96xx/Doc/ox.sm1,v 1.37 2004/03/03 06:09:29 takayama Exp $
   
 /ox.sm1.myname (ox-new.sm1) def  /ox.sm1.myname (ox-new.sm1) def
   
Line 850  oxasir.verbose {
Line 850  oxasir.verbose {
   (If you interrupted the computation by typing ctrl-C, type in )    (If you interrupted the computation by typing ctrl-C, type in )
   (   oxasir.ccc oxreset  ; )    (   oxasir.ccc oxreset  ; )
   (to interrupt the ox_asir server.)    (to interrupt the ox_asir server.)
     (NOTE: all asir-args must belong to the same ring. cf.oxasir.changeRing. )
   (Example: oxasir.ccc [(fctr) (x^10-1).] asir )    (Example: oxasir.ccc [(fctr) (x^10-1).] asir )
   (  )    (  )
   (This function requires plugins cmo, socket and ox_asir server. cf. oxasir)    (This function requires plugins cmo, socket and ox_asir server. cf. oxasir)
   (See, ftp://endeavor.fujitsu.co.jp/pub/isis/asir on asir)    (See, http://www.math.kobe-u.ac.jp/Asir on asir)
  ]   ]
 ] putUsages  ] putUsages
   
Line 902  oxasir.verbose {
Line 903  oxasir.verbose {
 %%% Mathematical functions for asir  %%% Mathematical functions for asir
 %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%  %%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
 /oxasir.changeRing {  /oxasir.changeRing {
     /oxasir.changeRing.rr.prev 0 def
     oxasir.changeRing2
   } def
   /oxasir.changeRing2 {
   /arg1 set    /arg1 set
   [/in-oxasir.changeRing /f /rr] pushVariables    [/in-oxasir.changeRing2 /f /rr ] pushVariables
   [    [
      /f arg1 def       /f arg1 def
      f isArray {       f isArray {
        f {oxasir.changeRing} map         f {oxasir.changeRing2} map
      }{       }{
        f isPolynomial {         f isPolynomial {
          f (0). eq { }           f (0). eq { }
          { f (ring) dc /rr set [(CurrentRingp) rr] system_variable } ifelse           { f (ring) dc /rr set [(CurrentRingp) rr] system_variable
              oxasir.changeRing.rr.prev tag 1 eq { }
              {
                 oxasir.changeRing.rr.prev rr eq  {  }
                 {  (asir : arguments must belong to the same ring.) error } ifelse
              } ifelse
              /oxasir.changeRing.rr.prev rr def
            } ifelse
        } {  } ifelse         } {  } ifelse
      } ifelse       } ifelse
   ] pop    ] pop
Line 1497  oxasir.verbose {
Line 1509  oxasir.verbose {
      [wvec] weight_vector       [wvec] weight_vector
     0] define_ring      0] define_ring
   
     ff { . dehomogenize homogenize } map /ff set      ff { toString . dehomogenize homogenize } map /ff set
     vvx { . } map /vvx set %%ex  [x,y]      vvx { . } map /vvx set %%ex  [x,y]
     vvd { . } map /vvd set %%ex  [Dx,Dy]      vvd { . } map /vvd set %%ex  [Dx,Dy]
     vvx vvd join [(h).] join /avv set      vvx vvd join [(h).] join /avv set

Legend:
Removed from v.1.37  
changed lines
  Added in v.1.38

FreeBSD-CVSweb <freebsd-cvsweb@FreeBSD.org>