Last updated:
0 purchases
mat11
mat11
mat11 is a Flutter package that provides utilities and components for mathematical operations and calculations. Whether you're building a simple calculator app or a complex mathematical tool, mat11 aims to streamline your development process by offering a range of helpful functionalities.
Features
Mathematical Functions: Includes common mathematical functions like trigonometric, logarithmic, exponential, etc.
Matrix Operations: Provides utilities for matrix manipulation, such as addition, subtraction, multiplication, and inversion.
Statistical Calculations: Offers statistical functions like mean, median, mode, standard deviation, variance, etc.
Geometry Calculations: Simplifies geometric calculations with functions for areas, volumes, angles, and more.
Installation
To use this package, add mat11 as a dependency in your pubspec.yaml file.
Sample usage
import 'package:mat11/mat11.dart';
void main() {
// Example usage of mathematical functions
print(Math11.sin(30)); // Prints the sine of 30 degrees
// Example usage of matrix operations
final matrixA = [
[1, 2],
[3, 4],
];
final matrixB = [
[5, 6],
[7, 8],
];
print(Matrix11.multiply(matrixA, matrixB)); // Prints the product of matrixA and matrixB
// Example usage of statistical calculations
final data = [1, 2, 3, 4, 5];
print(Statistics11.mean(data)); // Prints the mean of the data
// Example usage of geometry calculations
final radius = 5.0;
print(Geometry11.circleArea(radius)); // Prints the area of a circle with radius 5.0
}
For more detailed usage and examples, please refer to the documentation.
Contributions
Contributions are welcome! If you encounter any issues or have suggestions for improvements, feel free to open an issue or create a pull request.
License
This package is licensed under the MIT License.
For personal and professional use. You cannot resell or redistribute these repositories in their original state.
There are no reviews.