Giter VIP home page Giter VIP logo

Comments (11)

vinothdinakar avatar vinothdinakar commented on May 17, 2024 3

I see the above comments on May 6. Is anyone working on this? or can I try ?

from stdlib.

kgryte avatar kgryte commented on May 17, 2024 1

Not necessarily, as one can perform argument reduction for better accuracy. See Julia, for example.

from stdlib.

Planeshifter avatar Planeshifter commented on May 17, 2024 1

If you want to start working on this, @vinothdinakar, you could require the internal package functions directly for now, as in

var kernelSin = require( '@stdlib/math/base/special/sin/lib/kernel_sin.js' );

We can then replace the require statements once the standalone packages are up. I will have the kernel packages done by the end of the week, at latest.

from stdlib.

rreusser avatar rreusser commented on May 17, 2024

Are the degree modules one-liners that multiply by pi / 180 and call out to other functions?

from stdlib.

kgryte avatar kgryte commented on May 17, 2024

Based on the reference implementation, implementing this package depends on kernel sin.

cc/ @Planeshifter

from stdlib.

kgryte avatar kgryte commented on May 17, 2024

No one was yet to work on this as we have yet to implement kernel sin. @Planeshifter may have some insight into timelines for this.

from stdlib.

Planeshifter avatar Planeshifter commented on May 17, 2024

The kernel sin function is already there inside of @stdlib/math/base/special/sin, but needs to be separated into its own package. I can make this a high-priority item and work on this soon so that @vinothdinakar can tackle sind.

from stdlib.

kgryte avatar kgryte commented on May 17, 2024

@Planeshifter Looks like we will also need kernel cosine, as well.

from stdlib.

kgryte avatar kgryte commented on May 17, 2024

@Planeshifter Awesome!

@vinothdinakar Feel free to submit a PR once you have a working prototype.

from stdlib.

vinothdinakar avatar vinothdinakar commented on May 17, 2024

Ok Thanks

from stdlib.

kgryte avatar kgryte commented on May 17, 2024

@vinothdinakar Just to give you an update, @Planeshifter managed to implement the various kernel packages:

@stdlib/math/base/special/kernel-sin
@stdlib/math/base/special/kernel-cos

So, if you are still interested and/or already working on it, feel free to use the above packages. :)

Updated reference implementation: https://github.com/JuliaLang/julia/blob/9ef2af9db620644253941e080b5b4986ad0d6091/base/special/trig.jl#L1017

from stdlib.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.