From 0e0de56cc9aae9694b31e3d31407590295d69fd3 Mon Sep 17 00:00:00 2001 From: dos-reis Date: Sat, 25 May 2013 23:56:07 +0000 Subject: * algebra/cycles.spad.pamphlet (CycleIndicators) [spol]: Rename from nniBump. Fix thinko. --- src/algebra/cycles.spad.pamphlet | 9 ++++----- 1 file changed, 4 insertions(+), 5 deletions(-) (limited to 'src/algebra') diff --git a/src/algebra/cycles.spad.pamphlet b/src/algebra/cycles.spad.pamphlet index c25d4443..7b1b7c0d 100644 --- a/src/algebra/cycles.spad.pamphlet +++ b/src/algebra/cycles.spad.pamphlet @@ -196,15 +196,14 @@ CycleIndicators: Exports == Implementation where wreath(spol1,spol2) == evspol(mtpol(#1,spol2),spol1) - nniBump(x: Integer): NNI == + spol(x: Integer): SPOL RN == x < 0 => 0 x = 0 => 1 - x::NNI + complete(x::NNI) SFunction li== a:Matrix SPOL RN := - matrix [[complete nniBump(k -j+i) for k in li for j in 1..#li] - for i in 1..#li] + matrix [[spol(k -j+i) for k in li for j in 1..#li] for i in 1..#li] determinant a roundup:(L I,L I)-> L I @@ -216,7 +215,7 @@ CycleIndicators: Exports == Implementation where #li1 < #li2 => error "skewSFunction: partition1 does not include partition2" li2:=roundup (li1,li2) - a:Matrix SPOL RN:=matrix [[complete nniBump(k-li2.i-j+i) + a:Matrix SPOL RN:=matrix [[spol(k-li2.i-j+i) for k in li1 for j in 1..#li1] for i in 1..#li1] determinant a -- cgit v1.2.3