Skip to content

Passing nested parameters? #107

@kavir1698

Description

@kavir1698

I have a system of ODEs which takes a nested array as an input parameter. To use the gsa function, I need to provide the bounds as a vector of tuples. However, if I pass a nested vector of tuples where each element is a vector that contains tuples, the gsa function does not work. Is there a solution to this issue?

For example, let's say I have the following nested array as my input parameter:

input_parameter = [[1,2],[3,4]]

If I pass the nested array as the bounds like this:

bounds = [[(1,2),(3,4)],[(5,6),(7,8)]]
gsa(f, Sobol(), bounds, samples=100)

The gsa function does not work.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions