{"id":18304095,"url":"https://github.com/echosingh/simplemath","last_synced_at":"2026-01-02T00:11:05.429Z","repository":{"id":244191488,"uuid":"814535516","full_name":"EchoSingh/SimpleMath","owner":"EchoSingh","description":"A C++ library providing basic arithmetic operations, trigonometric functions, and advanced mathematical functions.","archived":false,"fork":false,"pushed_at":"2024-07-24T04:04:09.000Z","size":809,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-01-20T16:53:40.188Z","etag":null,"topics":["basic-math","cmake","cplusplus"],"latest_commit_sha":null,"homepage":"","language":"C++","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/EchoSingh.png","metadata":{"files":{"readme":"Readme.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2024-06-13T07:46:18.000Z","updated_at":"2024-07-30T07:48:28.000Z","dependencies_parsed_at":"2024-06-13T10:46:16.795Z","dependency_job_id":"95cedb14-1261-437d-a993-c5334336cd7d","html_url":"https://github.com/EchoSingh/SimpleMath","commit_stats":null,"previous_names":["aditya26062003/simplemath","echosingh/simplemath"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EchoSingh%2FSimpleMath","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EchoSingh%2FSimpleMath/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EchoSingh%2FSimpleMath/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/EchoSingh%2FSimpleMath/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/EchoSingh","download_url":"https://codeload.github.com/EchoSingh/SimpleMath/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243483674,"owners_count":20298028,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["basic-math","cmake","cplusplus"],"created_at":"2024-11-05T15:27:47.387Z","updated_at":"2026-01-02T00:11:05.394Z","avatar_url":"https://github.com/EchoSingh.png","language":"C++","readme":"# 🎉 SimpleMath Library 🎉\n\n[![Build Status](https://img.shields.io/badge/build-passing-brightgreen.svg)](https://shields.io)\n[![License](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\nWelcome to **SimpleMath**, a C++ library providing basic arithmetic operations, trigonometric functions, and advanced mathematical functions. 🌟\n\n## 📚 Features\n- 🔢 Basic arithmetic operations: `add`, `subtract`, `multiply`, `divide`\n- 📐 Trigonometric functions: `sine`, `cosine`, `tangent`\n- 🚀 Advanced mathematical functions: `power`, `squareRoot`\n\n## 📂 Project Structure\n```plaintext\nSimpleMath/\n├── include/\n│   └── simplemath.h       \u003c-- Header file\n├── src/\n│   └── simplemath.cpp     \u003c-- Source file\n├── tests/\n│   └── main.cpp           \u003c-- Test program\n├── CMakeLists.txt         \u003c-- CMake configuration file\n└── README.md              \u003c-- Project documentation\n```\n## 🚀 Getting Started\nFollow these steps to get started with the SimpleMath library:\n\n1. Clone the Repository\n```sh\ngit clone https://github.com/EchoSingh/SimpleMath.git\ncd SimpleMath\n```\n2. Create a Build Directory\n```sh\nmkdir build\ncd build\n```\n3. Generate Build Files with CMake\n```sh\ncmake ..\n```\n4. Build Your Project\n```sh\ncmake --build .\n```\n5. Run the Test Program\n```sh\n./test_program\n```\n## 📄 Example Usage\nHere's an example of how to use the SimpleMath library:\n\n```cpp\n#include \u003ciostream\u003e\n#include \"simplemath.h\"\n\nint main() {\n    using namespace SimpleMath;\n\n    std::cout \u003c\u003c \"5 + 3 = \" \u003c\u003c add(5, 3) \u003c\u003c std::endl;\n    std::cout \u003c\u003c \"5 - 3 = \" \u003c\u003c subtract(5, 3) \u003c\u003c std::endl;\n    std::cout \u003c\u003c \"5 * 3 = \" \u003c\u003c multiply(5, 3) \u003c\u003c std::endl;\n    std::cout \u003c\u003c \"5 / 3 = \" \u003c\u003c divide(5, 3) \u003c\u003c std::endl;\n\n    std::cout \u003c\u003c \"sin(30) = \" \u003c\u003c sine(30 * M_PI / 180) \u003c\u003c std::endl;\n    std::cout \u003c\u003c \"cos(30) = \" \u003c\u003c cosine(30 * M_PI / 180) \u003c\u003c std::endl;\n    std::cout \u003c\u003c \"tan(30) = \" \u003c\u003c tangent(30 * M_PI / 180) \u003c\u003c std::endl;\n\n    std::cout \u003c\u003c \"2^3 = \" \u003c\u003c power(2, 3) \u003c\u003c std::endl;\n    std::cout \u003c\u003c \"sqrt(16) = \" \u003c\u003c squareRoot(16) \u003c\u003c std::endl;\n\n    return 0;\n}\n```\n## output :- \n![output](https://github.com/aditya26062003/SimpleMath/blob/main/test_output.jpg)\n## 📜 License\nThis project is licensed under the MIT License - see the [LICENSE](https://github.com/aditya26062003/SimpleMath/blob/main/LICENSE) file for details.\n\n\u003c!--## 🙌 Contributing\nContributions are welcome! Please open an issue or submit a pull request for any changes.\n\n## 🛠️ Built With\n* C++\n* CMake\n\nMade with ❤️ by Aditya Singh\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fechosingh%2Fsimplemath","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fechosingh%2Fsimplemath","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fechosingh%2Fsimplemath/lists"}