Question: How to find coefficients of a convex combination ?

Hi, I´m new to maple and need help for he following usecase: I have a set of vectors V={v1,v2,...,vn} and a vector v, where v can be expressed as a convex combination of the vectors from V: v = c1*v1+c2*v2+...+cn*vn where c1+c2+...+cn = 1 and all coefficients are non negative How can I find the coefficients c1,c2,...,cn ? I know how to do this for a linear combination, where the coefficients have no constraints. However, here the sum of the coefficients must be 1 and all coefficients must be non negative. hope you can help. kind regards, Andreas
Please Wait...