Skip to content
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

solve via nullspace #1

Open
pvazteixeira opened this issue Oct 1, 2018 · 2 comments
Open

solve via nullspace #1

pvazteixeira opened this issue Oct 1, 2018 · 2 comments
Labels
Milestone

Comments

@pvazteixeira
Copy link
Collaborator

r = NLsolve.nlsolve(gg, [0.0])

@dehann dehann added enhancement New feature or request math performance labels Oct 2, 2018
@dehann dehann added this to the v0.x.0 milestone Jan 10, 2021
@dehann
Copy link
Member

dehann commented Feb 6, 2021

we were able to make this work up to a scale factor. We think the scale should be easy to find, however, did not get to it when we were doing PoC. Either way, dont think we ever copied the working code anywhere. Hopefully we can remember how to do this with nullspace and copy MWE in here...

@dehann
Copy link
Member

dehann commented Feb 6, 2021

Ha, it's in the tests:

## These work, but we are not sure about how to get the scale for product of more than 2 elements
# preS = nullspace(Lambdas*(Lambdas'))
#
# sc = sum(abs.(preS)) / abs(μ1-μ2)
#
# mu = vec(preS / sc)
# Λ = getΛ(Lambdas)
#
#
# u,s,v = svd(Lambdas*(Lambdas'))
#
# s[1,1]*u[:,2]

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants