ParametricSolution.all_params

ParametricSolution.all_params(filter_same: bool = True, return_indices: bool = False)[source]

Get parameters of all parametric solutions.

Parameters
filter_samebool, default=True

Whether to remove equal parameters. E.g., [1, 2, 3, 3, 5] will be reduced to [1, 2, 3, 5]

return_indicesbool, default=False

Whether to return indices of filtered params if filter_same is True.

Returns
paramsnp.ndarray

Parameters of (filtered) parametric solutions.

idxnp.ndarray, optional

Indices of filtered params, if filter_same is True and return_indices is True.