def es(b,W):
....: m=dimension(span(A))
....: n=W.dimension()
....: B=W.basis()
....: if transpose(A)!=A:
....: print("La matrice deve essere simmetrica")
....: return
....: else:
....: componenti=[var('x'+str(i)) for i in range(1,m+1)]
....: w=(SR^m).linear_combination_of_basis(componenti)
....: d=[b(B[i],w) for i in range(0,n)]
....: return d
is the same thing but a few typos were fixed.
On Thu, Jul 8, 2021 at 5:55 AM Cosimo Romito <[email protected]>
wrote:
> sage:
> def es(b,W):
> m=dimension(span(A))
> n=W.dimension()
> B=W.basis()
> if transpose(A)<>A:
> print("La matrice deve essere simmetrica")
> return
> else:
> componenti=[var('x'+str(i)) for i in range(1,m+1)]
> w=(SR^m).linear_combination_of_basis(componenti)
> d=[b(B[i],w) for i in range(0,n)]
>
> return d
>
>
> --
> You received this message because you are subscribed to the Google Groups
> "sage-support" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> To view this discussion on the web visit
> https://groups.google.com/d/msgid/sage-support/fc67971d-aab4-46c6-83b7-ffe125f2fc8fn%40googlegroups.com
> <https://groups.google.com/d/msgid/sage-support/fc67971d-aab4-46c6-83b7-ffe125f2fc8fn%40googlegroups.com?utm_medium=email&utm_source=footer>
> .
>
--
You received this message because you are subscribed to the Google Groups
"sage-support" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/sage-support/CAEQuuAVxagoSf8wtONVrt%2BxR81iWgJd0WBV1PutF_WMDXLZg5Q%40mail.gmail.com.