This repository was archived by the owner on Feb 1, 2023. It is now read-only.
Uh oh!
There was an error while loading.Please reload this page.
- Notifications
You must be signed in to change notification settings - Fork405
Commitbf942ae
Release Manager
Trac #34581: Implement substitution in InfinitePolynomialRing
Add the ability to substitute variables in `InfinitePolynomialRing`.{{{sage: R.<z> = InfinitePolynomialRing(QQ)sage: f = z[1] + z[1]*z[2]*z[3]sage: f.subs({z[1]:z[0]})---------------------------------------------------------------------------TypeError Traceback (most recent calllast)Input In [3], in <cell line: 1>()----> 1 f.subs({z[Integer(1)]:z[Integer(0)]})File ~/Applications/sage/src/sage/structure/element.pyx:830, insage.structure.element.Element.subs() 828 if str(gen) in kwds: 829 variables.append(kwds[str(gen)])--> 830 elif in_dict and gen in in_dict: 831 variables.append(in_dict[gen]) 832 else:TypeError: unhashable type: 'InfinitePolynomialGen'}}}URL:https://trac.sagemath.org/34581Reported by: tkarnTicket author(s): Trevor K. KarnReviewer(s): Tomer Bauer, Travis Scrimshaw1 file changed
+98
-0
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
58 | 58 | | |
59 | 59 | | |
60 | 60 | | |
| 61 | + | |
| 62 | + | |
| 63 | + | |
| 64 | + | |
| 65 | + | |
| 66 | + | |
| 67 | + | |
| 68 | + | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
| 72 | + | |
61 | 73 | | |
62 | 74 | | |
63 | 75 | | |
| |||
317 | 329 | | |
318 | 330 | | |
319 | 331 | | |
| 332 | + | |
| 333 | + | |
| 334 | + | |
| 335 | + | |
320 | 336 | | |
321 | 337 | | |
322 | 338 | | |
| |||
433 | 449 | | |
434 | 450 | | |
435 | 451 | | |
| 452 | + | |
| 453 | + | |
| 454 | + | |
| 455 | + | |
| 456 | + | |
| 457 | + | |
| 458 | + | |
| 459 | + | |
| 460 | + | |
| 461 | + | |
| 462 | + | |
| 463 | + | |
| 464 | + | |
| 465 | + | |
| 466 | + | |
| 467 | + | |
| 468 | + | |
| 469 | + | |
| 470 | + | |
| 471 | + | |
| 472 | + | |
| 473 | + | |
| 474 | + | |
| 475 | + | |
| 476 | + | |
| 477 | + | |
| 478 | + | |
| 479 | + | |
| 480 | + | |
| 481 | + | |
| 482 | + | |
| 483 | + | |
| 484 | + | |
| 485 | + | |
| 486 | + | |
| 487 | + | |
| 488 | + | |
| 489 | + | |
| 490 | + | |
| 491 | + | |
| 492 | + | |
| 493 | + | |
| 494 | + | |
| 495 | + | |
| 496 | + | |
| 497 | + | |
| 498 | + | |
| 499 | + | |
| 500 | + | |
| 501 | + | |
| 502 | + | |
| 503 | + | |
| 504 | + | |
| 505 | + | |
| 506 | + | |
| 507 | + | |
| 508 | + | |
| 509 | + | |
| 510 | + | |
| 511 | + | |
| 512 | + | |
| 513 | + | |
| 514 | + | |
| 515 | + | |
| 516 | + | |
| 517 | + | |
| 518 | + | |
| 519 | + | |
| 520 | + | |
| 521 | + | |
| 522 | + | |
| 523 | + | |
| 524 | + | |
| 525 | + | |
| 526 | + | |
| 527 | + | |
| 528 | + | |
| 529 | + | |
| 530 | + | |
| 531 | + | |
| 532 | + | |
| 533 | + | |
436 | 534 | | |
437 | 535 | | |
438 | 536 | | |
| |||
0 commit comments
Comments
(0)