Add your description here
Project description
This is a package with two subpackages:
-
Differential -> function diff to calculate discrete time derivative differentialial -> discrete -> diff (x,t) It does discrete time derivative of two vectors (list) x and t and returs a list v
-
Matrix-> function rowswap(matrix: torch.Tensor, i: int, j: int) -> torch.Tensor Swap row i and row j in a matrix.
Args: matrix: Input matrix. i : Index of the first row. j : Index of the second row.
Returns: torch.Tensor: matrix with row i,j swapped.
function rowscale(matrix: torch.Tensor, i: int, s_f: float) -> torch.TensorScale row i by a factor s_f.
Args: matrix: input matrix. i : Index of the row to scale. s_f (float): Scaling factor.
Returns: torch.Tensor: matrix with the scaled row i by factor s_f
function rowreplacement(matrix: torch.Tensor, i: int, j: int, sf_a: float, sf_b: float) -> torch.TensorReplace the ith row with: iRi + jRj.
Args: matrix (torch.Tensor): input matrix. i (int): Index of the row to be replaced. j (int): Index of the source row. sf_a (float): Scaling factor for row i. sf_b (float): Scaling factor for row j.
Returns: torch.Tensor: Result Matrix
function rref(matrix: torch.Tensor) -> torch.TensorPerforms Reduced Row Echelion Form or Gausian Elemination on Marix
Args: matrix (torch.Tensor): input matrix Returns: torch.Tensor: Result matrix RREF of input
Project details
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file sayancpe586fa25-4.1.0.tar.gz.
File metadata
- Download URL: sayancpe586fa25-4.1.0.tar.gz
- Upload date:
- Size: 3.0 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
42ac9aa099b250d8a0a3655d93cfcb0ecec2b35e74868a8683e64bcf481868ed
|
|
| MD5 |
4a049792c5e9553fbba14371d8bc86c8
|
|
| BLAKE2b-256 |
2f2c9b9304665c144fca6955075e78a09207c0dd22749245edf9a7e2b228d6ef
|
File details
Details for the file sayancpe586fa25-4.1.0-py3-none-any.whl.
File metadata
- Download URL: sayancpe586fa25-4.1.0-py3-none-any.whl
- Upload date:
- Size: 4.1 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/6.2.0 CPython/3.12.11
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
239d09ffce4e13f48101afa16da0adb99646a318e35d68a863a2149b6b9e5554
|
|
| MD5 |
6b299360f8ec01206ada0c1c6dfb46e7
|
|
| BLAKE2b-256 |
96247659ef4b7fa34004f1d40be470d7c93a7dfc9cdda88eec7032b9decb5ced
|