mathematics 0.0.2 mathematics: ^0.0.2 copied to clipboard
This mathematics library contains everyday mathematical functions making it easy for the user to do complex calculations easily
mathematics #
A simple library for your everyday math problems
Installation #
dependencies:
mathematics: any
Example #
import 'package:mathematics/mathematics.dart';
Cube.getSquareOf(2) //returns an integer after squaring the input value
Cube.getCubeOf(3) //returns an integer after cubing the input value
Cube.getHighestNumber(list) //returns the highest integer from the provided list
Cube.getLowestNumber(list) //returns the lowest integer from the provided list
Origin #
I had a requirement of publishing a useful package on pub dev for training purpose and since I am interested in solving mathematical problems more efficiently, I decided to start with the simple functions and move on to the complex ones in future.