2011/9/22 Kurt Stephens <ks / kurtstephens.com>:
> A basis that sums to unity reduces error, due to convex hull property:
>
> int n; double min, max;
> for ( int i =3D 0; i <=3D n; ++ i ) {
> =A0double u =A0 =A0=3D (double) i / (double) n;
> =A0double _u_1 =3D 1.0 - u;
> =A0double v =A0 =A0=3D min * u1 + max * u;
> }

This n is not a given value.

--=20
NARUSE, Yui =A0<naruse / airemix.jp>