1 batch("tests/rtest_index_properties.mac")
3 read and interpret /home/robert/maxima/maxima-code/tests/rtest_index_properties.mac
6 declare_index_properties(U,[presubscript,presuperscript])
12 declare_index_properties(W,[presubscript])
25 (1-sqrt(W[a]))/(1+W[a]^2)
41 declare_index_properties(X,[presuperscript])
54 (1-sqrt(X[a]))/(1+X[a]^2)
72 declare_index_properties(Y,[postsuperscript])
85 (1-sqrt(Y[a]))/(1+Y[a]^2)
103 declare_index_properties(Z,[postsubscript])
116 (1-sqrt(Z[a]))/(1+Z[a]^2)
135 declare_index_properties(foo,
136 [presubscript,presuperscript,
137 postsuperscript,postsubscript])
151 F(foo[aaa,bb,cc,ddd])^n
161 foo[aa,b,c,dd]/sqrt(1+foo[x,yy,zz,w])
169 foo[a,b,c,d]+foo[w,x,y,z]+foo[1,2,3,4]
189 foo[a,b+x+1,c^2,d[k]]
198 declare_index_properties(bar,
199 [presubscript,presuperscript,
200 presubscript,presuperscript])
214 F(bar[aaa,bb,cc,ddd])^n
224 bar[aa,b,c,dd]/sqrt(1+bar[x,yy,zz,w])
232 bar[a,b,c,d]+bar[w,x,y,z]+bar[1,2,3,4]
252 bar[a,b+x+1,c^2,d[k]]
261 declare_index_properties(baz,
262 [postsubscript,postsuperscript,
263 postsubscript,postsuperscript])
277 F(baz[aaa,bb,cc,ddd])^n
287 baz[aa,b,c,dd]/sqrt(1+baz[x,yy,zz,w])
295 baz[a,b,c,d]+baz[w,x,y,z]+baz[1,2,3,4]
315 baz[a,b+x+1,c^2,d[k]]
324 declare_index_properties(quux,
325 [presubscript,presubscript,
326 postsubscript,postsubscript])
335 F(quux[a,bbb,cc,d])^n
339 F(quux[aaa,bb,cc,ddd])^n
348 quux[aa,b,c,dd]/sqrt(1+quux[x,yy,zz,w])
351 ------------------------
354 quux[a,b,c,d]+quux[w,x,y,z]+quux[1,2,3,4]
356 w, x y, z a, b c, d 1, 2 3, 4
369 quux[a,b+x+1,c^2,d[k]]
377 declare_index_properties(blart,
378 [presuperscript,presuperscript,
379 postsuperscript,postsuperscript])
387 F(blart[a,bbb,cc,d])^n
390 F(blart[aaa,bb,cc,ddd])^n
398 blart[aa,b,c,dd]/sqrt(1+blart[x,yy,zz,w])
401 -------------------------
404 blart[a,b,c,d]+blart[w,x,y,z]+blart[1,2,3,4]
405 w, x y, z a, b c, d 1, 2 3, 4
406 blart + blart + blart
419 blart[a,b+x+1,c^2,d[k]]
424 /home/robert/maxima/maxima-code/tests/rtest_index_properties.mac