| Crates.io | segtrs |
| lib.rs | segtrs |
| version | 0.1.0 |
| created_at | 2025-09-16 01:59:14.47296+00 |
| updated_at | 2025-09-16 01:59:14.47296+00 |
| description | Miscellaneous functions such as numeric sequences and factorization. |
| homepage | |
| repository | https://github.com/segarciat/segtrs |
| max_upload_size | |
| id | 1840815 |
| size | 6,858 |
= segtrs :author: Sergio E. Garcia Tapia //:toc: :source-highlighter: rouge :imagesdir: ./images :figure-caption: Figure :xrefstyle: short :stem: latexmath :icons: font
The name of this package is derived from my initials and the extension for Rust source files.
This package contains my implementations of miscellaneous functions that I coded to help me solve (usually) math-related challenges. The purpose of this package is to encapsulate functionality that I found myself having to reuse over and over during these challenges. Also, it serves as practice as I gain familiarity and comfort with using Rust while solving interesting problems. Most of these I implemented while reading The Rust Programming Language ("The Book"). Because the main purpose is to learn Rust, this document may also contain hints for myself.
== Testing
As explained in https://doc.rust-lang.org/book/ch11-01-writing-tests.html[Section 11.1 of "The Book"], unit tests live alongside the functions they test. They can be run with: