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

Improve sparseJacobianEigen() #682

Merged
merged 16 commits into from
Jan 28, 2021
Merged

Improve sparseJacobianEigen() #682

merged 16 commits into from
Jan 28, 2021

Commits on Jan 19, 2021

  1. timing sparse eigen

    gchenfc committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    77c65f8 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    ada83d9 View commit details
    Browse the repository at this point in the history
  3. add generic optional parameters to sparseJacobian

    Also, the unit test changed due to a 0 entry that was previously wrongly
    included in the b-column of the sparse representation.
    gchenfc committed Jan 19, 2021
    Configuration menu
    Copy the full SHA
    7a6f632 View commit details
    Browse the repository at this point in the history

Commits on Jan 20, 2021

  1. Configuration menu
    Copy the full SHA
    e3dd229 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    9584860 View commit details
    Browse the repository at this point in the history
  3. populate sparse matrix with insert rather than setFromTriplets

    About 5% speed improvement.
    gchenfc committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    b5951d0 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    286898a View commit details
    Browse the repository at this point in the history
  5. remove templating while maintaining efficiency

    Templating still used in cpp file for generic-ness, but not exposed
    anymore
    
    std::tuple has the same performance as Eigen::Triplet, but boost::tuple
    is slower.  Sparse matrix indices are int instead of size_t for
    efficiency (e.g. A(i, j) = s  ->  i/j are int's instead of size_t's)
    gchenfc committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    fd2d8a2 View commit details
    Browse the repository at this point in the history
  6. revert Matrix.h

    gchenfc committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    570135c View commit details
    Browse the repository at this point in the history
  7. formatting

    gchenfc committed Jan 20, 2021
    Configuration menu
    Copy the full SHA
    b638954 View commit details
    Browse the repository at this point in the history

Commits on Jan 27, 2021

  1. Configuration menu
    Copy the full SHA
    dcf8a52 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    a17bd5c View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    fa6bdd4 View commit details
    Browse the repository at this point in the history
  4. Configuration menu
    Copy the full SHA
    8063b9a View commit details
    Browse the repository at this point in the history
  5. Configuration menu
    Copy the full SHA
    2590b3b View commit details
    Browse the repository at this point in the history
  6. auto and reserve fewer

    gchenfc committed Jan 27, 2021
    Configuration menu
    Copy the full SHA
    53261a5 View commit details
    Browse the repository at this point in the history