File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -748,18 +748,18 @@ def tensor_product(left, right):
748
748
left = vector (tensor_product (Matrix (self .left ), Matrix (other .left )))
749
749
right = vector (tensor_product (Matrix (self .right ), Matrix (other .right )))
750
750
751
- def linear_representation_morphism_recurrence_order_1 (A , B ):
751
+ def linear_representation_morphism_recurrence_order_1 (C , D ):
752
752
r"""
753
753
Return the morphism of a linear representation
754
754
for the sequence `z_n` satisfying
755
- `z_{2n +r} = A_r z_n + B_r z_{n-1}`.
755
+ `z_{kn +r} = C_r z_n + D_r z_{n-1}`.
756
756
"""
757
- Z = zero_matrix (A [0 ].dimensions ()[0 ])
757
+ Z = zero_matrix (C [0 ].dimensions ()[0 ])
758
758
759
759
def blocks (r ):
760
- upper = list ([A [s ], B [s ], Z ]
760
+ upper = list ([C [s ], D [s ], Z ]
761
761
for s in reversed (srange (max (0 , r - 2 ), r + 1 )))
762
- lower = list ([Z , A [s ], B [s ]]
762
+ lower = list ([Z , C [s ], D [s ]]
763
763
for s in reversed (srange (k - 3 + len (upper ), k )))
764
764
return upper + lower
765
765
You can’t perform that action at this time.
0 commit comments