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