Cd = constantStrand(C, kk, deg)
Warning! This function is very rough currently. It works if one uses it in the intended manner, as in the example below. But it should be much more general, handling other rings with grace, and also it should handle arbitrary (graded) chain complexes.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Setting the input ring to be the integers, although a hack, sets each entry to the number of multiplications used to create this number. Warning: the result is almost certainly not a complex! This part of this function is experimental, and will likely change in later versions.
|
|
This function should be defined for any graded chain complex, not just ones created using res(I, Strategy=>4.1). Currently, it is used to extract information from the not yet implemented ring QQhybrid, whose elements, coming from QQ, are stored as real number approximations (as doubles, and as 1000 bit floating numbers), together with its remainders under a couple of primes, together with information about how many multiplications were performed to obtain this number.
The object constantStrand is a method function.