RubyGems Navigation menu

vector_number 0.4.3

VectorNumber provides a Numeric-like experience for doing arithmetics on heterogeneous objects, with more advanced operations based on real vector spaces available when needed. Features: - Add and subtract (almost) any object, with no setup or declaration. - Multiply and divide vectors by any real number to create 1.35 of an array and -2 of a string. What does that mean? Only you know! - Use vectors instead of inbuilt numbers in most situtations with no difference in behavior. Or, use familiar methods from numerics with sane semantics! - Enumerate vectors in a hash-like fashion, or transform to an array or hash as needed. - Enjoy a mix of vector-, complex- and polynomial-like behavior at appropriate times. - No dependencies, no extensions. It just works!

Gemfile:
=

install:
=

Versions:

  1. 0.4.3 October 08, 2025 (18.5 KB)
  2. 0.4.2 October 08, 2025 (18.5 KB)
  3. 0.4.1 July 07, 2025 (19.5 KB)
  4. 0.4.0 July 07, 2025 (19.5 KB)
  5. 0.3.1 June 21, 2025 (19 KB)
Show all versions (9 total)

Owners:

Pushed by:

Authors:

  • Alexandr Bulancov

SHA 256 checksum:

=

Total downloads 1,669

For this version 164

Version Released:

License:

MIT

Required Ruby Version: >= 3.0.0

New versions require MFA: true

Version published with MFA: true

Links: