in reply to Re^3: Algorithm for cancelling common factors between two lists of multiplicands
in thread Algorithm for cancelling common factors between two lists of multiplicands
I hadn't tried that. Thanks.
Prior to replacing product() with sProduct(), my earlier non-factoring versions would not have produce a result because the intermediate terms blew the range of a double. That's what originally necessitated the introduction of M::BF and yielded the 4 1.2 hrs runtime.
sProduct() effectively gives me a cheap "BigFloat", and negates the need for the factoring.
Just goes to show there is more than one way to skin a cat :)
|
---|