simplexfactory

simplexfactory

Returns a manifold struct to optimize over simplex with given dimension and sum

Syntax

M = simplexKfactory(n, K)

Description

M = simplexKfactory(n, K) returns M, a structure describing the simplex manifold of dimension n, where the sum of the elements of the points on the manifold equals K.