|
1 | 1 | # Pakeji Hisabati (Math Package) |
2 | 2 |
|
3 | | -A math package written in pure Nuru by [VictorKariuki](https://github.com/VictorKariuki). |
| 3 | +Pakeji Hisabati is a math package written in pure Nuru by [VictorKariuki](https://github.com/VictorKariuki). |
4 | 4 |
|
5 | | -This package provides various mathematical functions and constants implemented in a custom programming language. It includes methods for `trigonometric functions`, `logarithmic functions`, `array operations`, and `utility functions`. |
| 5 | +This package provides various mathematical functions and constants implemented in nuru programming language. It includes methods for `trigonometric functions`, `logarithmic functions`, `array operations`, and `utility functions`. |
6 | 6 |
|
7 | 7 |
|
8 | 8 | ## Usage |
9 | | -To use the `pakeji hisabati` package and its third-party packages, follow the steps below: |
| 9 | +To use the `pakeji hisabati` package follow the steps below: |
10 | 10 |
|
11 | 11 | 1. Copy the `hisabati.nr` file and any required third-party package files into the same directory as your project. |
12 | 12 |
|
13 | | -2. Ensure that the third-party package file names end with the `.nr` extension and match the package names. For example, if the package name is `hisabati`, the corresponding file name should be `hisabati.nr`. |
| 13 | +2. Ensure that the package file names end with the `.nr` extension and match the package names. For example, if the package name is `hisabati`, the corresponding file name should be `hisabati.nr`. |
14 | 14 |
|
15 | | -3. You can directly import the `hisabati.nr` package and any required third-party packages in your Nuru code using the `ingiza` keyword. For example: |
| 15 | +3. You can directly import the `hisabati.nr` package and any required third-party packages in your Nuru code using the `tumia` keyword. For example: |
16 | 16 |
|
17 | 17 | ```nuru |
18 | | - tumia "hisabati.nr" |
| 18 | + tumia "hisabati" |
19 | 19 | ``` |
20 | | - Example of usage: |
| 20 | + Example of calling the package methods: |
21 | 21 | ```nuru |
22 | 22 | andika(hisabati.e()) |
23 | 23 |
|
24 | 24 | ## What is in |
25 | | -These package covers a wide range of mathematical operations, including `basic arithmetic`, `trigonometry`, `exponential and logarithmic functions`, `rounding and comparison operations`, as well as some `utility and array operations`. |
| 25 | +This package covers a wide range of mathematical operations, including `basic arithmetic`, `trigonometry`, `exponential and logarithmic functions`, `rounding and comparison operations`, as well as some `utility and array operations`. |
26 | 26 |
|
27 | | -
|
28 | | -Here's an overview of the available methods and their functionalities: |
29 | 27 | The methods provided in the `hisabati` package can be classified into different categories based on their functionalities. Here is a classification of the methods: |
30 | 28 |
|
31 | 29 | 1. Trigonometric Functions: |
@@ -83,11 +81,11 @@ The methods provided in the `hisabati` package can be classified into different |
83 | 81 | - **phi**: Represents the `Golden Ratio`. |
84 | 82 | - **ln10**: Represents the `natural logarithm of 10`. |
85 | 83 | - **ln2**: Represents the `natural logarithm of 2`. |
86 | | - - **log10e**: Represents the `base 10 logarithm` of Euler's number `(e)`. |
| 84 | + - **log10e**: Represents the `base 10 logarithms` of Euler's number `(e)`. |
87 | 85 | - **log2e**: Represents the `base 2 logarithm` of Euler's number` (e)`. |
88 | 86 | - **sqrt1_2**: Represents the `square root` of `1/2`. |
89 | 87 | - **sqrt2**: Represents the `square root` of `2`. |
90 | | - - **sqrt3**: Represents the `square root`of `3`. |
| 88 | + - **sqrt3**: Represents the `square root` of `3`. |
91 | 89 | - **sqrt5**: Represents the `square root` of `5`. |
92 | 90 | - **EPSILON**: Represents a small value (2.220446049250313e-16). |
93 | 91 |
|
|
0 commit comments