Jump to content
  • Advertisement
Sign in to follow this  
GameLad

Eigen Value of Gradient of a vector

This topic is 617 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

How does the gradient of a vector(delta V) become a 3x3 matrix? And how do you compute it's eigen value efficiently? Is there c++ library that can do this (can the c++ library Eigen do this

Share this post


Link to post
Share on other sites
Advertisement
"Gradient" is not quite the right word here. If you have a differentiable mapping from R^3 to R^3, you can compute how the vector changes as you move infinitesimally in each of the axes, and this indeed is a 3x3 matrix, but it's called the Jacobian. There are lots of libraries that compute eigenvalues efficiently, but for a 3x3 matrix you can probably use just about any method. What are you trying to do exactly?

Share this post


Link to post
Share on other sites
I'm trying to calculate a scalar field for marching cubes based on an equation in this paper https://www.researchgate.net/publication/220357083_A_unified_particle_model_for_fluid-solid_interactions. I need to find the biggest Eigen value efficiently. It says the gradient of a vector.

Because of curvature, some grid points in the field maybe moving faster than the point being sampled. So need to need Eigen values to correct this.

Share this post


Link to post
Share on other sites
I would probably try Armadillo first. It's generally easy to work with and it has served me well in the past. I don't have direct experience with the Armadillo functions that compute eigenvalue and eigenvectors, though.

Share this post


Link to post
Share on other sites
Sign in to follow this  

  • Advertisement
×

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!