Given a vector space V, a basis B (list of tuples each of size corresponding to the dimension of V and over the same field) and a vector v – what is the sage command to find the (unique) linear combination of the elements of B giving v?
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
IIUC, you probably want to do something like this:
and then, having constructed the vector space over the field: