num-enumerator


Namenum-enumerator JSON
Version 0.0.4 PyPI version JSON
download
home_pageNone
SummaryThis library helps to manipulate the 2d arrays. User can execute functions like addition, substraction, multiplication and other operations on square matrix and determinant.
upload_time2024-04-12 00:36:01
maintainerNone
docs_urlNone
authorAbhineet Raj
requires_pythonNone
licenseNone
keywords matrix determinant multiplication of matrix division of matrix addition of matrix substraction of matrix multiplication of determinant division of determinant addition of determinant substraction of determinant
VCS
bugtrack_url
requirements No requirements were recorded.
Travis-CI No Travis.
coveralls test coverage No coveralls.
            
# Data enumerator lib

This library helps to manipulate the 2d arrays. User can execute functions like addition, substraction, multipliaction and other operations on square matrix and determinant.



## Functionality:-

*	Used to collect user data and process it according to user requirements.

*	Can be used in create recommendation system.

*	Used in deep learning model training.

*	Used in unsupervised machine learning projects.

* Used in predicting data



## Installation

* Run the following command

```

pip install num-enumerator

cd dataEnumerator

```

* Save the test file in this folder in order to import class and functions from enumerator



## Docs :-



### To add two matrix



```

from enumerator import matrix



A=[[1,2],

  [3,4]]

B=[[9,2],

  [3,8]]



C = matrix.add(A,B)



print(C)

```



Output :-

```

[[10,4],

[6,12]]

```

### To substract two matrix



```

from enumerator import matrix



A=[[1,18],

  [3,14]]

B=[[9,2],

  [3,8]]



C = matrix.substract(A,B)



print(C)

```



Output :-

```

[[-8,16],

[0,6]]

```

### To multiply two matrix



```

from enumerator import matrix



A=[[1,2],

  [3,4]]

B=[[0,1],

  [1,0]]



C = matrix.multiply(A,B)



print(C)

```



Output :-

```

[[1,2],

[3,4]]

```

### To get transpose of matrix



```

from enumerator import matrix



A=[[1,2],

  [3,4]]



C = matrix.transpose(A)



print(C)

```



Output :-

```

[[1,3],

[2,4]]

```



### To substract particular number with all the elements of determinant

```

from enumerator import determinant

A = [[2,4],

  [6,7]]



B = determinant.substractNum(2)

print(B)

```

Output :-

```

[[0,2],

[4,5]]

```

### To add particular number with all the elements of determinant

```

from enumerator import determinant

A = [[2,4],

  [6,7]]



B = determinant.addNum(1)

print(B)

```

Output :-

```

[[3,5],

[7,8]]

```

### To divide particular number with all the elements of determinant

```

from enumerator import determinant

A = [[3,9],

  [6,12]]



B = determinant.divideNum(2)

print(B)

```

Output :-

```

[[1,3],

[2,4]]

```

### To multiply particular number with all the elements of determinant

```

from enumerator import determinant

A = [[2,4],

  [6,7]]



B = determinant.substractNum(5)

print(B)

```

Output :-

```

[[10,20],

[30,35]]

```

### Graphical equation handling

```

x_data = [1, 2, 3, 4, 5]

y_data = [2, 4, 6, 8, 10]



graph_fitter = graphEQ(x_data, y_data)



graph_fitter.fit_linear()

print(graph_fitter.get_equation())  # Output: y = 2.00x



graph_fitter.fit_polynomial(2)

print(graph_fitter.get_equation())  # Output: y = 0.00x^2 + 2.00x

```



## Languages used:

<a href="https://www.python.org" target="_blank" rel="noreferrer"> <img src="https://raw.githubusercontent.com/devicons/devicon/master/icons/python/python-original.svg" alt="python" width="40" height="40"/> </a> </p>



## Developer

*	[abhineetraj1](http://github.com/abhineetraj1)


            

Raw data

            {
    "_id": null,
    "home_page": null,
    "name": "num-enumerator",
    "maintainer": null,
    "docs_url": null,
    "requires_python": null,
    "maintainer_email": null,
    "keywords": "matrix, determinant, multiplication of matrix, division of matrix, addition of matrix, substraction of matrix, multiplication of determinant, division of determinant, addition of determinant, substraction of determinant",
    "author": "Abhineet Raj",
    "author_email": "<abhineetraj01@outlook.com>",
    "download_url": "https://files.pythonhosted.org/packages/da/de/59e10d044c0b4d0bc45b8155e9e5472f8e99e28d007ead17ff22e48653fe/num-enumerator-0.0.4.tar.gz",
    "platform": null,
    "description": "\r\n# Data enumerator lib\r\n\r\nThis library helps to manipulate the 2d arrays. User can execute functions like addition, substraction, multipliaction and other operations on square matrix and determinant.\r\n\r\n\r\n\r\n## Functionality:-\r\n\r\n*\tUsed to collect user data and process it according to user requirements.\r\n\r\n*\tCan be used in create recommendation system.\r\n\r\n*\tUsed in deep learning model training.\r\n\r\n*\tUsed in unsupervised machine learning projects.\r\n\r\n* Used in predicting data\r\n\r\n\r\n\r\n## Installation\r\n\r\n* Run the following command\r\n\r\n```\r\n\r\npip install num-enumerator\r\n\r\ncd dataEnumerator\r\n\r\n```\r\n\r\n* Save the test file in this folder in order to import class and functions from enumerator\r\n\r\n\r\n\r\n## Docs :-\r\n\r\n\r\n\r\n### To add two matrix\r\n\r\n\r\n\r\n```\r\n\r\nfrom enumerator import matrix\r\n\r\n\r\n\r\nA=[[1,2],\r\n\r\n  [3,4]]\r\n\r\nB=[[9,2],\r\n\r\n  [3,8]]\r\n\r\n\r\n\r\nC = matrix.add(A,B)\r\n\r\n\r\n\r\nprint(C)\r\n\r\n```\r\n\r\n\r\n\r\nOutput :-\r\n\r\n```\r\n\r\n[[10,4],\r\n\r\n[6,12]]\r\n\r\n```\r\n\r\n### To substract two matrix\r\n\r\n\r\n\r\n```\r\n\r\nfrom enumerator import matrix\r\n\r\n\r\n\r\nA=[[1,18],\r\n\r\n  [3,14]]\r\n\r\nB=[[9,2],\r\n\r\n  [3,8]]\r\n\r\n\r\n\r\nC = matrix.substract(A,B)\r\n\r\n\r\n\r\nprint(C)\r\n\r\n```\r\n\r\n\r\n\r\nOutput :-\r\n\r\n```\r\n\r\n[[-8,16],\r\n\r\n[0,6]]\r\n\r\n```\r\n\r\n### To multiply two matrix\r\n\r\n\r\n\r\n```\r\n\r\nfrom enumerator import matrix\r\n\r\n\r\n\r\nA=[[1,2],\r\n\r\n  [3,4]]\r\n\r\nB=[[0,1],\r\n\r\n  [1,0]]\r\n\r\n\r\n\r\nC = matrix.multiply(A,B)\r\n\r\n\r\n\r\nprint(C)\r\n\r\n```\r\n\r\n\r\n\r\nOutput :-\r\n\r\n```\r\n\r\n[[1,2],\r\n\r\n[3,4]]\r\n\r\n```\r\n\r\n### To get transpose of matrix\r\n\r\n\r\n\r\n```\r\n\r\nfrom enumerator import matrix\r\n\r\n\r\n\r\nA=[[1,2],\r\n\r\n  [3,4]]\r\n\r\n\r\n\r\nC = matrix.transpose(A)\r\n\r\n\r\n\r\nprint(C)\r\n\r\n```\r\n\r\n\r\n\r\nOutput :-\r\n\r\n```\r\n\r\n[[1,3],\r\n\r\n[2,4]]\r\n\r\n```\r\n\r\n\r\n\r\n### To substract particular number with all the elements of determinant\r\n\r\n```\r\n\r\nfrom enumerator import determinant\r\n\r\nA = [[2,4],\r\n\r\n  [6,7]]\r\n\r\n\r\n\r\nB = determinant.substractNum(2)\r\n\r\nprint(B)\r\n\r\n```\r\n\r\nOutput :-\r\n\r\n```\r\n\r\n[[0,2],\r\n\r\n[4,5]]\r\n\r\n```\r\n\r\n### To add particular number with all the elements of determinant\r\n\r\n```\r\n\r\nfrom enumerator import determinant\r\n\r\nA = [[2,4],\r\n\r\n  [6,7]]\r\n\r\n\r\n\r\nB = determinant.addNum(1)\r\n\r\nprint(B)\r\n\r\n```\r\n\r\nOutput :-\r\n\r\n```\r\n\r\n[[3,5],\r\n\r\n[7,8]]\r\n\r\n```\r\n\r\n### To divide particular number with all the elements of determinant\r\n\r\n```\r\n\r\nfrom enumerator import determinant\r\n\r\nA = [[3,9],\r\n\r\n  [6,12]]\r\n\r\n\r\n\r\nB = determinant.divideNum(2)\r\n\r\nprint(B)\r\n\r\n```\r\n\r\nOutput :-\r\n\r\n```\r\n\r\n[[1,3],\r\n\r\n[2,4]]\r\n\r\n```\r\n\r\n### To multiply particular number with all the elements of determinant\r\n\r\n```\r\n\r\nfrom enumerator import determinant\r\n\r\nA = [[2,4],\r\n\r\n  [6,7]]\r\n\r\n\r\n\r\nB = determinant.substractNum(5)\r\n\r\nprint(B)\r\n\r\n```\r\n\r\nOutput :-\r\n\r\n```\r\n\r\n[[10,20],\r\n\r\n[30,35]]\r\n\r\n```\r\n\r\n### Graphical equation handling\r\n\r\n```\r\n\r\nx_data = [1, 2, 3, 4, 5]\r\n\r\ny_data = [2, 4, 6, 8, 10]\r\n\r\n\r\n\r\ngraph_fitter = graphEQ(x_data, y_data)\r\n\r\n\r\n\r\ngraph_fitter.fit_linear()\r\n\r\nprint(graph_fitter.get_equation())  # Output: y = 2.00x\r\n\r\n\r\n\r\ngraph_fitter.fit_polynomial(2)\r\n\r\nprint(graph_fitter.get_equation())  # Output: y = 0.00x^2 + 2.00x\r\n\r\n```\r\n\r\n\r\n\r\n## Languages used:\r\n\r\n<a href=\"https://www.python.org\" target=\"_blank\" rel=\"noreferrer\"> <img src=\"https://raw.githubusercontent.com/devicons/devicon/master/icons/python/python-original.svg\" alt=\"python\" width=\"40\" height=\"40\"/> </a> </p>\r\n\r\n\r\n\r\n## Developer\r\n\r\n*\t[abhineetraj1](http://github.com/abhineetraj1)\r\n\r\n",
    "bugtrack_url": null,
    "license": null,
    "summary": "This library helps to manipulate the 2d arrays. User can execute functions like addition, substraction, multiplication and other operations on square matrix and determinant.",
    "version": "0.0.4",
    "project_urls": null,
    "split_keywords": [
        "matrix",
        " determinant",
        " multiplication of matrix",
        " division of matrix",
        " addition of matrix",
        " substraction of matrix",
        " multiplication of determinant",
        " division of determinant",
        " addition of determinant",
        " substraction of determinant"
    ],
    "urls": [
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "e8ffbf93df6d8856313bc7d1852c733508f4cf45091a6c6bc4dffc6046241c19",
                "md5": "dc910c640cc5f099ed2a1827b9c94077",
                "sha256": "0a7f39edc25a5fa94117d91a65dc7121eb94648175ff1674c76f1d64ed4044e5"
            },
            "downloads": -1,
            "filename": "num_enumerator-0.0.4-py3-none-any.whl",
            "has_sig": false,
            "md5_digest": "dc910c640cc5f099ed2a1827b9c94077",
            "packagetype": "bdist_wheel",
            "python_version": "py3",
            "requires_python": null,
            "size": 4494,
            "upload_time": "2024-04-12T00:36:00",
            "upload_time_iso_8601": "2024-04-12T00:36:00.244147Z",
            "url": "https://files.pythonhosted.org/packages/e8/ff/bf93df6d8856313bc7d1852c733508f4cf45091a6c6bc4dffc6046241c19/num_enumerator-0.0.4-py3-none-any.whl",
            "yanked": false,
            "yanked_reason": null
        },
        {
            "comment_text": "",
            "digests": {
                "blake2b_256": "dade59e10d044c0b4d0bc45b8155e9e5472f8e99e28d007ead17ff22e48653fe",
                "md5": "b735d65910664d1893e60bdce3f0f1e1",
                "sha256": "d9e6487ef14f441d21b4e2eaeb15daadb34558e802f8edd0549a7976a6169b3b"
            },
            "downloads": -1,
            "filename": "num-enumerator-0.0.4.tar.gz",
            "has_sig": false,
            "md5_digest": "b735d65910664d1893e60bdce3f0f1e1",
            "packagetype": "sdist",
            "python_version": "source",
            "requires_python": null,
            "size": 4084,
            "upload_time": "2024-04-12T00:36:01",
            "upload_time_iso_8601": "2024-04-12T00:36:01.698495Z",
            "url": "https://files.pythonhosted.org/packages/da/de/59e10d044c0b4d0bc45b8155e9e5472f8e99e28d007ead17ff22e48653fe/num-enumerator-0.0.4.tar.gz",
            "yanked": false,
            "yanked_reason": null
        }
    ],
    "upload_time": "2024-04-12 00:36:01",
    "github": false,
    "gitlab": false,
    "bitbucket": false,
    "codeberg": false,
    "lcname": "num-enumerator"
}
        
Elapsed time: 0.47388s