segtrs

Crates.iosegtrs
lib.rssegtrs
version0.1.0
created_at2025-09-16 01:59:14.47296+00
updated_at2025-09-16 01:59:14.47296+00
descriptionMiscellaneous functions such as numeric sequences and factorization.
homepage
repositoryhttps://github.com/segarciat/segtrs
max_upload_size
id1840815
size6,858
Sergio E. Garcia Tapia (segarciat)

documentation

README

= 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:

[source,test]

Run all tests, including Doctests.

cargo test

Commit count: 6

cargo fmt