factor/libs/topology/test/hopf.factor

33 lines
422 B
Factor
Raw Normal View History

2006-07-14 05:36:26 -04:00
IN: temporary
2006-08-18 16:15:08 -04:00
USING: topology hopf io test laplacian ;
2006-07-14 05:36:26 -04:00
SYMBOLS: x1 x2 x3 u ;
1 x1 deg=
1 x2 deg=
1 x3 deg=
2 u deg=
x1 x2 x3 h* h* u d=
[ "2x1.x2.x3.u\n" ] [ [ u u h* d h. ] string-out ] unit-test
x1 x2 h* x3 d=
2006-08-18 16:15:08 -04:00
{ x1 x2 x3 } set-generators
[ { 1 2 2 1 } ] [ H* ] unit-test
SYMBOLS: x y z ;
1 x deg=
1 y deg=
1 z deg=
x y h* z d=
y z h* x d=
z x h* y d=
2006-08-18 16:15:08 -04:00
{ x y z } set-generators
[ { 1 0 0 1 } ] [ H* ] unit-test