.. (לתיקייה המכילה) | ||
In intersectsWith: withinRange: what should the block return when evaluating it after an intersection was found? | |
You can assume this won't be checked |
In intersectWith, what does the willUpdate boolean parameter refer to both polynoms, or just the receiver? | |
Both the polynom that is sent, and the receiver. |
Should methods like multiplyBy and substitute influence future changes to the PolyStream? | |
No. For example, after calling substitute: 5 on a PolyStream p, calling p addCoef:1 withExp:2, should add x^2 to p, not 25*x^2. |
If I'm not doing the bonus, should I still have a willUpdate parameter? | |
Yes. This parameter is not optional, and in this case you should treat it as if the default value is passed. |