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

Add BézierCurve to benchmarks (#124) #126

Merged
merged 1 commit into from
Oct 27, 2024
Merged

Add BézierCurve to benchmarks (#124) #126

merged 1 commit into from
Oct 27, 2024

Conversation

mikeingold
Copy link
Collaborator

  • Add Bézier entry

  • Missing comma, added newline

  • Make item implicitly Unitful

  • Make test item explicit to avoid reference errors

  • Formatting

  • Reformat range

  • Apply format suggestion


* Add Bézier entry

* Missing comma, added newline

* Make item implicitly Unitful

* Make test item explicit to avoid reference errors

* Formatting

* Reformat range

* Apply format suggestion

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
@mikeingold mikeingold marked this pull request as ready for review October 27, 2024 18:28
@mikeingold mikeingold merged commit 7afb39c into diff-select Oct 27, 2024
17 checks passed
mikeingold added a commit that referenced this pull request Nov 8, 2024
#122)

* Add JacobianMethod types

* Change JacobianMethod to DifferentiationMethod

* Add a third argument to jacobian for DiffMethod for dispatch

* Remove dead line

* Remove obsolete analytic jacobian for BezierCurve

* Add default step size if unspecified

* Convert differential to three-argument with default FiniteDiff method

* Bigfix

* Add two-arg Jacobian pointing to FD

* Apply formatting suggestion

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestion

Co-authored-by: Joshua Lampert <[email protected]>

* Add a dt argument

* Update docstring API

* Add dt kwargs

* Add missing params

* Add dt kwargs (with TODOs)

* Consolidate kwarg naming

* Update src/differentiation.jl

Co-authored-by: Joshua Lampert <[email protected]>

* Add exports

* Tweak suggested naming [skip CI]

* Update Line methods to use an internal differential method

* Bump version to v0.16.0-DEV

* Add block for DifferentiationMethods

* Drop abstract type

* Add diff_method arguments

* Change dt to diff_method

* Prepare to revert jacobian of BezierCurve (pending new benchmarks)

* Bump CI

* Add BézierCurve to benchmarks (#124) (#126)

* Add Bézier entry

* Missing comma, added newline

* Make item implicitly Unitful

* Make test item explicit to avoid reference errors

* Formatting

* Reformat range

* Apply format suggestion



---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Reduce scald

* Activate specialized Jacobian

* Define an Analytic method and update jacobian of Bezier to it

* Typo [skip CI]

* Typo

* Update src/specializations/BezierCurve.jl

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Implement has_analytic

* Bugfix

* Enable analytical for BezierCurve [skip CI]

* Implement default_method

* Fix arg definition

* Update arg type

* Add methods on instances and types

* Add tests for DifferentiationMethods

* Use default_method in _integral methods

* Use default_method in Bezier methods, improve docstring

* Improve docstrings

* Explicit namespace for test of non-exported function

* Fix typo

* Fix copy/paste error

* Add tests for default_method

* Type vs instance

* Export Analytical

* Typo

* Typo

* Parameterize Bezier type

* Apply suggestions from code review

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Redefine Line, Plane, and Ray specializations as Analytical

* Redefine Triangle and Tetrahedron specializations as Analytical

* Try new solution (cant dispatch on kwarg types)

* Add jacobian code sections

* Add guarantees

* Move new utilities to utils and rename with prefix underscore

* Typo

* Update tests

* Update name

* Update function name

* Update comment

* Update name

* Add better docstrings

* Bugfix - error not actually thrown

* Split DifferentiationMethod into separate testitem

* Tweak include order

* Formatting changes

* Remove redundant docstrings

* Add docstrings for Ring and Rope, update for Bezier

* Apply suggestions from code review

Co-authored-by: Joshua Lampert <[email protected]>

* (WIP) Add a new kwarg section under Usage

* Clarify Usage section

* Formatting

* Add a WIP differential forms explainer

* Rename page and add some structure

* Add new page to directory

* Update index page with README contents

* Update first two sections

* Finished version 0 of How It Works

* Move How it Works into new Dev Notes section

* Properly enforce FiniteDiff FP rules

* Bugfix - restore G param

* Bugfix - tuple to ntuple

* Remove Unicode from math blocks

* New default constructors for FiniteDifference

* Implement two-arg _default_method with FP type

* Reorder kwargs and switch FP to T

* Revert to single-arg _default_method

* Change jacobian parameterization

* Remove ununsed type param

* Remove unneeded type param

* Remove remnant two-arg default call

* Clarify _guarantee_analytical arg types

* Test externalizing partial derivative function

* Re-internalize partial derivative function

* Remove errant character

* Apply format suggestions [skip ci]

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>

* Apply suggestions from code review [skip ci]

Co-authored-by: Joshua Lampert <[email protected]>

* Apply suggestions from code review

Co-authored-by: Joshua Lampert <[email protected]>

* Try new parameterization

* Remove obsolete comment

* Apply suggestions from code review

Co-authored-by: Joshua Lampert <[email protected]>

* Consolidate information on specializations

* Apply suggestion

* Apply suggestion

Co-authored-by: Joshua Lampert <[email protected]>

---------

Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
Co-authored-by: Joshua Lampert <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant