Skip to content

Add functionality for any maths operation #9

Description

@mayankshah1607

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. :)

Activity

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions