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

Diff for /OpenXM/src/kan96xx/Doc/complex.sm1 between version 1.5 and 1.6

version 1.5, 2000/08/01 07:26:23 version 1.6, 2000/12/29 07:19:37
Line 1 
Line 1 
 % $OpenXM: OpenXM/src/kan96xx/Doc/complex.sm1,v 1.4 2000/07/30 09:55:39 takayama Exp $  % $OpenXM: OpenXM/src/kan96xx/Doc/complex.sm1,v 1.5 2000/08/01 07:26:23 takayama Exp $
 %% lib/complex.sm1  [ functions for complex ], 1999, 9/9  %% lib/complex.sm1  [ functions for complex ], 1999, 9/9
 %% cf.  yama:1999/Int/uli.sm1  %% cf.  yama:1999/Int/uli.sm1
 %%%%%%%%%%%%%%%%%%%   commands %%%%%%%%%%%%%%%%%%%%%%%%%  %%%%%%%%%%%%%%%%%%%   commands %%%%%%%%%%%%%%%%%%%%%%%%%
Line 267 
Line 267 
 %% [M d] res-solv c'/r  ;   M : matrix,  d, c' : vectors, r : scalar, c'/r =c  %% [M d] res-solv c'/r  ;   M : matrix,  d, c' : vectors, r : scalar, c'/r =c
 /res-solv {  /res-solv {
   /arg1 set    /arg1 set
   [/in-res-solv /M /d /ans /B /vv /G /rr /rng] pushVariables    [/in-res-solv /M /d /ans /B /vv /G /rr /rng /nn] pushVariables
   [(CurrentRingp) (KanGBmessage)] pushEnv    [(CurrentRingp) (KanGBmessage)] pushEnv
   [    [
        /nn arg1 length def
      /M arg1  0 get def       /M arg1  0 get def
      /d arg1  1 get def       /d arg1  1 get def
      M getRing /rng set       nn 3 eq {
          /rng arg1 2 get def
        }{
          M getRing /rng set
          rng tag RingP eq {  }
          { d getRing /rng set } ifelse
        }ifelse
      rng res-getx /vv set       rng res-getx /vv set
      uli.verbose { (res-solv : vv = ) messagen vv message } { } ifelse       uli.verbose { (res-solv : vv = ) messagen vv message } { } ifelse
      uli.verbose { } { [(KanGBmessage) 0] system_variable } ifelse       uli.verbose { } { [(KanGBmessage) 0] system_variable } ifelse
Line 318 
Line 325 
  (Note that M and d are not treated as an element of the homogenized Weyl)   (Note that M and d are not treated as an element of the homogenized Weyl)
  (algebra. If M or d contains the homogenization variable h, it automatically)   (algebra. If M or d contains the homogenization variable h, it automatically)
  (set to 1. If you need to use h, use the command res-solv-h)   (set to 1. If you need to use h, use the command res-solv-h)
    $[M d rng] res-solv [c' r] $
    $ rng is a ring object. $
    $ res-solv extracts variables names from rng, but defines a new ring. $
  $Example 1:  [(x,y) ring_of_differential_operators [[(x) -1 (Dx) 1]] weight_vector 0] $   $Example 1:  [(x,y) ring_of_differential_operators [[(x) -1 (Dx) 1]] weight_vector 0] $
  $              define_ring $   $              define_ring $
  $ [ [ [(x Dx + 2).] [ (Dx (x Dx + 3) - (x Dx + 2) (x Dx -4)).]]   [(1).]] $   $ [ [ [(x Dx + 2).] [ (Dx (x Dx + 3) - (x Dx + 2) (x Dx -4)).]]   [(1).]] $
Line 359 
Line 369 
 %% M : matrix,  d, c' : vectors, r : scalar, c'/r =c  %% M : matrix,  d, c' : vectors, r : scalar, c'/r =c
 /res-solv-h {  /res-solv-h {
   /arg1 set    /arg1 set
   [/in-res-solv-h /M /d /ans /B /vv /G /rr /rng] pushVariables    [/in-res-solv-h /M /d /ans /B /vv /G /rr /rng /nn] pushVariables
   [(CurrentRingp) (KanGBmessage)] pushEnv    [(CurrentRingp) (KanGBmessage)] pushEnv
   [    [
        /nn arg1 length def
      /M arg1  0 get def       /M arg1  0 get def
      /d arg1  1 get def       /d arg1  1 get def
      M getRing /rng set       nn 3 eq {
          /rng arg1 2 get def
        }{
          M getRing /rng set
          rng tag RingP eq {  }
          { d getRing /rng set } ifelse
        }ifelse
      rng res-getx /vv set       rng res-getx /vv set
      uli.verbose { (res-solv-h : vv = ) messagen vv message } { } ifelse       uli.verbose { (res-solv-h : vv = ) messagen vv message } { } ifelse
      uli.verbose { } { [(KanGBmessage) 0] system_variable } ifelse       uli.verbose { } { [(KanGBmessage) 0] system_variable } ifelse

Legend:
Removed from v.1.5  
changed lines
  Added in v.1.6

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