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

Consider specfun states to have a separate param type that would have the (true) Wronskian? #133

Open
emsr opened this issue Aug 5, 2017 · 1 comment

Comments

@emsr
Copy link
Owner

emsr commented Aug 5, 2017

Would it be a good idea for specfun states to have a separate param type
that would have the (true) wronskian?

@emsr
Copy link
Owner Author

emsr commented Aug 15, 2017

So we would have, say,

template<typename _Tp>
  struct __cyl_bessel_t
  {
    struct param_type
    {
      _Tp __nu;
      _Tp __z;
      // Return true Wronskian for the cylindrical Bessel functions.
      _Tp __wronskian() const;
    };
    _Tp _J_value;
    _Tp _J_deriv;
    _Tp _N_value;
    _Tp _N_deriv;
    // Return Wronskian of the obtained solutions.
    _Tp __wronskian();
  };

I think I like this.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant