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 functionality for any maths operation #9

Open
mayankshah1607 opened this issue Oct 1, 2019 · 7 comments
Open

Add functionality for any maths operation #9

mayankshah1607 opened this issue Oct 1, 2019 · 7 comments
Labels

Comments

@mayankshah1607
Copy link
Contributor

You can add routes in the API that perform any maths operation - from simple multiplication, to even calculating matrix dot products.

The request must be a JSON of the following format :

{
  data : {
                  param1: <value>,
                  ...
                  param<n>: <value>
            }
}

The response must a JSON of the following format:

{
     result: <value>,
     meta: {
     <any relevant meta data here>
     }
}

Make sure to add relevant unit tests .
Comment below with the maths operation you will be taking up to avoid clashes with other developers. :)

@yashvardhan-kukreja
Copy link
Member

Adding a route for calculating powers (x ^ y)

mayankshah1607 added a commit that referenced this issue Oct 2, 2019
@robintom
Copy link

robintom commented Oct 4, 2019

@mayankshah1607 I'll be taking up on Adding an API route for matrix dot product.

@ruidpm
Copy link

ruidpm commented Oct 6, 2019

I will implement roots (x√y)

@yashvardhan-kukreja
Copy link
Member

Adding a route for calculating n-th root

@yashvardhan-kukreja
Copy link
Member

Adding a route for calculating log to the base n of a number.

@yashvardhan-kukreja
Copy link
Member

yashvardhan-kukreja commented Oct 7, 2019

Adding a route for calculating antilog of a number to the base n

@helpingwizard
Copy link

Could you assign me "Adding a route for calculating n-th root" ?

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

No branches or pull requests

5 participants