Skip to content

Add functionality for any maths operation #9

Open
@mayankshah1607

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

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