GithubHelp home page GithubHelp logo

Comments (6)

taiya avatar taiya commented on July 24, 2024

Thanks Alec! Now everything is clear, the "-" is because of legacy decisions (in disagreement with how the operator is written on many papers) and the 2_A is to compensate for the fact that your $L=-2_L_{classic}$

Regarding the P for "Flip XY" I see what you mean, I actually did that myself :)
I was just wondering whether it was something I was supposed to do and I was unaware of!

By the way, perhaps you have a better intuition than me.
Any clue on why the following two produce the same result?
(I did this test while I was trying to remove the "Flip XY"):

Q = repdiag(L,2)-2A;
Q = repdiag(L,2)+2A;

from gptoolbox.

alecjacobson avatar alecjacobson commented on July 24, 2024

I don't think it does, does it? Are you sure you're not also flipping the sign of L, too? Then you'd be comparing Q vs. -Q and my solver (min_quad_with_fixed) will return the same result since it's actually finding a stationary point of the energy (corresponding to the minimum only for positive definite energies Q and maximum for negative definite energies -Q).

from gptoolbox.

taiya avatar taiya commented on July 24, 2024

Yes, I am sure I am only flipping one (see the zip via email)
I am not using your solver but matlab quadprog.

p.s. do you have anything in matlab to map the outline to a circle?
I wanted to do exercises for both harmonic and LSCM

Thanks!

from gptoolbox.

alecjacobson avatar alecjacobson commented on July 24, 2024

In your example does it still happen if you have more than two constraints?

On Fri, Nov 4, 2016 at 1:06 PM, Andrea [email protected] wrote:

Yes, I am sure I am only flipping one (see the zip via email)
I am not using your solver but matlab quadprog.


You are receiving this because you authored the thread.
Reply to this email directly, view it on GitHub
#19 (comment),
or mute the thread
https://github.com/notifications/unsubscribe-auth/ACI0mburmY6GSrYcLo0XCtotbtMYEKo-ks5q62YLgaJpZM4KpHFc
.

from gptoolbox.

taiya avatar taiya commented on July 24, 2024

Very good suggestion for a test :)
Indeed they are different, still puzzling why a result (rather than garbage) is even generated :)
p.s. By the way, did you find a way of showing texture mapped models in matlab?

camel_lscm

from gptoolbox.

alecjacobson avatar alecjacobson commented on July 24, 2024

I never found a satisfying way to show textures on a general triangle mesh using pure matlab.

from gptoolbox.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.