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 sage-support+unsubscr...@googlegroups.com.
To view this discussion on the web visit 
https://groups.google.com/d/msgid/sage-support/fc67971d-aab4-46c6-83b7-ffe125f2fc8fn%40googlegroups.com.

Reply via email to