# Get decomposition of vector in basis

Hey!

I have a matrix that represents my basis (it's actually a lattice so the vectors are rows, but it's not important I can transpose)

I have a vector *aa* in a canonical basis, I want to know what's the linear combination in *R* of my lattice's vectors that gives my vector *aa*