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

Implement Basket Auto Diff #106

Open
nmellado opened this issue Aug 3, 2023 · 3 comments · May be fixed by #113
Open

Implement Basket Auto Diff #106

nmellado opened this issue Aug 3, 2023 · 3 comments · May be fixed by #113
Labels
enhancement New feature or request

Comments

@nmellado
Copy link
Contributor

nmellado commented Aug 3, 2023

Add class looking like

    template < class P, class W, int Type,
            BASKET_TP(0), BASKET_TP(1), BASKET_TP(2), BASKET_TP(3), BASKET_TP(4), BASKET_TP(5), BASKET_TP(6), BASKET_TP(7), BASKET_TP(8), BASKET_TP(9), BASKET_TP(10), BASKET_TP(11) >
    class BasketAutoDiff
            : public Ext0<P,W, PrimitiveBase<P,W> >::template DDerType<P,W,Type,PrimitiveDer<P,W,Type,Ext11<P,W, Ext10<P,W, Ext9<P,W, Ext8<P,W, Ext7<P,W, Ext6<P,W, Ext5<P,W, Ext4<P,W, Ext3<P,W, Ext2<P,W, Ext1<P,W, Ext0<P,W, PrimitiveBase<P,W> > > > > > > > > > > > > > > {

    };
    /// usage: BasketAutoDiff<P, W, ScaleDer, OrientedSphereFit>;

In extensions, do

    template < class D, class W, int Di, typename TT>
    using DDerType = OrientedSphereDerImpl<D,W,Di,TT>;
}; //class OrientedSphereFitImpl
@nmellado nmellado added the enhancement New feature or request label Aug 3, 2023
@nmellado
Copy link
Contributor Author

nmellado commented Aug 3, 2023

@azaleostu if you want to play a bit with template stuff, this issue could be a good extension to your PR #85
😇

@github-actions
Copy link

github-actions bot commented Oct 3, 2023

Stale issue message

@nmellado
Copy link
Contributor Author

nmellado commented Oct 6, 2023

@azaleostu could you push back your proposal to a new PR ?

@azaleostu azaleostu linked a pull request Oct 6, 2023 that will close this issue
@nmellado nmellado linked a pull request Oct 6, 2023 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant