rstsr-dtype-traits

Crates.iorstsr-dtype-traits
lib.rsrstsr-dtype-traits
version0.5.1
created_at2025-02-08 04:19:38.538467+00
updated_at2025-09-01 08:08:54.446159+00
descriptionAn n-Dimension Rust Tensor Toolkit
homepage
repositoryhttps://github.com/RESTGroup/rstsr
max_upload_size
id1547747
size11,565
Zhenyu Zhu ajz34 (ajz34)

documentation

README

RSTSR dtype Traits

This trait tries to resolve some function clashes in crate num. For example:

  • abs function may have different behaviors for Signed and ComplexFloat,
  • max and min function is defined by f64, trait Ord (where max or min is defined in standard library) is not implemented for f64.

For those functions, it is more proper to define traits for each function specifically.

We only implements several types in standard library, or complex values. More types (from other crates) will be added in future or by issue request.

Commit count: 457

cargo fmt