Module docstring
{"# Affine combinations of points
This file defines affine combinations of points.
Main definitions
weightedVSubOfPointis a general weighted combination of subtractions with an explicit base point, yielding a vector.weightedVSubuses an arbitrary choice of base point and is intended to be used when the sum of weights is 0, in which case the result is independent of the choice of base point.affineCombinationadds the weighted combination to the arbitrary base point, yielding a point rather than a vector, and is intended to be used when the sum of weights is 1, in which case the result is independent of the choice of base point.
These definitions are for sums over a Finset; versions for a
Fintype may be obtained using Finset.univ, while versions for a
Finsupp may be obtained using Finsupp.support.
References
- https://en.wikipedia.org/wiki/Affine_space
 
"}