abstract iwopy.core.OptFunction.n_components()[source] Returns the number of components of the function. ReturnsΒΆ int:The number of components.