-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
explicit outer product over common parameters with different parameter values #16
Comments
This is further complicated by the fact that for some of the parameters that |
I guess this can be achieved via |
Hmm, going via |
One way that would not require me to do anything would be just One could also rename the parameters and then get an outer join with Perhaps we figure out a hackish but somewhat concise way to do this and then see whether it can be generalized? |
I think at this point I've basically reached the conclusion that it's too much trouble to be worth doing. I'm taking a different approach by using paramval's to represent only certain (very broad) parameter-value dependencies while I use an internal representation with another lookup-table-like construction to resolve fine-grained paramter-value relationships to form the required (partial) outer products. |
Imagine you have values
A_i
parametrised by a set of parametersp^{A_i}_j
and another set of valueB_k
parametrised by a set of parametersp^{B_k}_l
.The two parameter sets share some column names (and in general also some or all parameter values).
The functionality of
inner_outer_join
is great for producing some set of valuesC_m
which is a combination ofA
andB
, with the inner and outer combinations of the parameter sets taken into account automatically.What if, however, I would like to combine
A
andB
in a non-diagonal way in the parameters that they share (an outer product, possibly partial, across an inner margin, in some sense).As an example, let's say
A
andB
each have six parameterssrc_px src_py src_pz snk_px snk_py snk_pz
, but the required combination of these parameters is one where none or just some of the values ofsrc_px src_py src_pz snk_px snk_py snk_pz
of A and B are the same. Formally, the new paramvalC
would thus have 12 parametersA.src_px A.src_py ... A.snk_pz B.src_px B.src_py ... B.snk_pz
.Of course, I can filter
A
andB
"by hand" and create a new paramval with the combination that I would like, inventing the new parameters as required. But had you thought about a better way to do this perhaps?The text was updated successfully, but these errors were encountered: