Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/ashwingopalsamy/go-mathify
Comprehensive Go package offering a rich set of mathematical utilities and operations.
https://github.com/ashwingopalsamy/go-mathify
go-lib go-math go-package golang golang-library golang-math golang-package mathematics
Last synced: about 2 months ago
JSON representation
Comprehensive Go package offering a rich set of mathematical utilities and operations.
- Host: GitHub
- URL: https://github.com/ashwingopalsamy/go-mathify
- Owner: ashwingopalsamy
- License: cc0-1.0
- Created: 2023-09-17T03:01:41.000Z (over 1 year ago)
- Default Branch: master
- Last Pushed: 2023-09-21T16:20:22.000Z (over 1 year ago)
- Last Synced: 2024-07-29T18:35:51.225Z (6 months ago)
- Topics: go-lib, go-math, go-package, golang, golang-library, golang-math, golang-package, mathematics
- Language: Go
- Homepage:
- Size: 49.8 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Contributing: CONTRIBUTING.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
- Codeowners: .github/CODEOWNERS
- Security: SECURITY.md
Awesome Lists containing this project
README
### Go-Mathify
#### Description
A comprehensive Go package offering a rich set of mathematical utilities and operations. From basic arithmetic to medium-level statistical computations, make your Go projects mathematically powerful.
#### Table of Contents
- [Features](#features)
- [Basic Arithmetic](#basic-arithmetic)
- [Exponential and Logarithmic Functions](#exponential-and-logarithmic-functions)
- [Installation](#installation)
## Features### Basic Arithmetic
- **[Addition (Generic)](https://github.com/ashwin2125/go-mathify/tree/master/pkg/arithmetic/addition.go)**
- `Add[T numeric](a, b T) T`: Adds two numbers together.
- **[Subtraction (Generic)](https://github.com/ashwin2125/go-mathify/tree/master/pkg/arithmetic/subtraction.go)**
- `Subtract[T numeric](a, b T) T`: Subtracts one number from another.
- **[Multiplication (Generic)](https://github.com/ashwin2125/go-mathify/tree/master/pkg/arithmetic/multiplication.go)**
- `Multiply[T numeric](a, b T) T`: Multiplies two numbers together.
- **[Division (Generic)](https://github.com/ashwin2125/go-mathify/tree/master/pkg/arithmetic/division.go)**
- `Divide[T numeric](a, b T) T`: Divides one number by another.## Installation
To install go-mathify, you can just run: ```bash go get github.com/ashwin2125/go-mathify```
---