{"id":21180210,"url":"https://github.com/aandreba/llml","last_synced_at":"2025-07-09T23:32:04.325Z","repository":{"id":44716995,"uuid":"439136153","full_name":"Aandreba/llml","owner":"Aandreba","description":"Low To High Level Math Library for Rust","archived":false,"fork":false,"pushed_at":"2022-01-29T15:48:10.000Z","size":300,"stargazers_count":53,"open_issues_count":0,"forks_count":2,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-02T03:19:24.195Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Aandreba.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2021-12-16T21:49:43.000Z","updated_at":"2025-02-27T20:34:34.000Z","dependencies_parsed_at":"2022-09-17T15:20:26.285Z","dependency_job_id":null,"html_url":"https://github.com/Aandreba/llml","commit_stats":null,"previous_names":[],"tags_count":5,"template":false,"template_full_name":null,"purl":"pkg:github/Aandreba/llml","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aandreba%2Fllml","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aandreba%2Fllml/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aandreba%2Fllml/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aandreba%2Fllml/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Aandreba","download_url":"https://codeload.github.com/Aandreba/llml/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Aandreba%2Fllml/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264505239,"owners_count":23618909,"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":[],"created_at":"2024-11-20T17:41:56.870Z","updated_at":"2025-07-09T23:32:04.019Z","avatar_url":"https://github.com/Aandreba.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Low Level Math Library (LLML)\n[![Crate](https://img.shields.io/crates/v/llml.svg)](https://crates.io/crates/llml)\n[![API](https://docs.rs/llml/badge.svg)](https://docs.rs/llml)\n\nImplementation of basic math data types with high level frontend and low level backend\n\n## Supported targets\nLLML is currently supported on **x86/x86_64** and **ARM/aarch64**, with plans for _WASM_ support and a _naive_ implementation, available for all targets, in the future.\n\n## Instruction set support\nAs of today, LLML supports up to **SSE3** for x86/x86_64, and **Neon** for ARM/aarch64. Support for **AVX** and **AVX2** is expected in the near future, as an optional feature.\n\n## Currently implemented\n### Complex numbers for ```f32``` and ```f64```\n- Basic arithmetic (**Addition**, **Subtraction**, **Negation**, **Multiplication**, **Division**)\n- Complex arithmetic (**Multiplication** and **Division**)\n- **Inverse** and **Conjugate**\n- **Radius**, **Angle** \u0026 **Polar** coordinates\n- **Square root**, **Exponential** and **Natural Logarithm**\n- **Sine**, **Cosine** and **Tangent**\n- **Power** of integer, decimal \u0026 complex\n- Exponential of imaginary (**```expi```**)\n- Complex square root of real (**```sqrtc```**)\n- Power by complex (**```powc```**) and power by imaginary (**```powci```**)\n\n### Euclidian vectors of 2, 3 \u0026 4 values for ```f32``` and ```f64```\n- Basic arithmetic (**Addition**, **Subtraction**, **Negation**, **Multiplication** \u0026 **Division**)\n- **Summation** (```sum```), **norm** and **unit** vector\n- **Dot product** (```dot```) and **cross product** (```cross```)\n- **Square root** (```sqrt```) and **fast square root**  (```sqrt_fast```, only faster in ```f32``` x86/and x86_64)\n- **Absolute** value\n\n### Matrices of 2x2 \u0026 3x3 for ```f32``` and ```f64```\n- Scalar arithmetic (**Addition**, **Subtraction**, **Negation**, **Multiplication**, **Division**)\n- Matrix arithmetic (Matrix-Matrix and Matrix-Vector **multiplication**)\n- **Trace** (```tr```) and **determinant** (```det```)\n- Safe (```inv```) and unsafe (```inv_unsafe```) **inverse**\n- **Transpose** (```transp```)\n- **Rotation matrix**\n\n## Current features\n### llml_rand\nImplements **random** generation for all of the crate's data types with [rand](https://crates.io/crates/rand)\n\n### llml_serde\nImplements **serialization** and **deserialization** for all of the crate's data types with [serde](https://crates.io/crates/serde)","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faandreba%2Fllml","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Faandreba%2Fllml","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Faandreba%2Fllml/lists"}