libmath-vector-real-perl 0.18-3 source package in Ubuntu
Changelog
libmath-vector-real-perl (0.18-3) unstable; urgency=medium [ Debian Janitor ] * Apply multi-arch hints. + libmath-vector-real-perl: Add Multi-Arch: foreign. -- Jelmer Vernooij <email address hidden> Sat, 22 Oct 2022 01:28:38 +0100
Upload details
- Uploaded by:
- Debian Perl Group
- Uploaded to:
- Sid
- Original maintainer:
- Debian Perl Group
- Architectures:
- all
- Section:
- perl
- Urgency:
- Medium Urgency
See full publishing history Publishing
Series | Published | Component | Section | |
---|---|---|---|---|
Oracular | release | universe | perl | |
Noble | release | universe | perl | |
Mantic | release | universe | perl | |
Lunar | release | universe | perl |
Downloads
File | Size | SHA-256 Checksum |
---|---|---|
libmath-vector-real-perl_0.18-3.dsc | 2.1 KiB | ef8e925698d3f7ce232f42a2c61e3d300284d55b6d34d1b13a04bc0d03a996d6 |
libmath-vector-real-perl_0.18.orig.tar.gz | 12.5 KiB | b24d1907e60619300db24af21c6ee95327c51d9f75c5a0c3921d6ed64e3e54fa |
libmath-vector-real-perl_0.18-3.debian.tar.xz | 2.4 KiB | 28d5e469269d05f2682d85f973368889b23e6152f25bdbf19da251d99caec7c7 |
Available diffs
- diff from 0.18-2 to 0.18-3 (519 bytes)
No changes file available.
Binary packages built by this source
- libmath-vector-real-perl: Perl module for real number vector arithmetic
Math::Vector::Real is a pure Perl module to manipulate vectors of
any dimension.
.
The function V, always exported by the module, allows one to create new
vectors:
.
$v = V(0, 1, 3, -1);
.
Vectors are represented as blessed array references. It is allowed to
manipulate the arrays directly as far as only real numbers are inserted
(well, actually, integers are also allowed because from a mathematical point
of view, integers are a subset of the real numbers).
.
Vectors can be used in mathematical expressions, the currently supported
operations are:
.
. + * /
. - (both unary and binary)
. x (cross product for 3D vectors)
. += -= *= /= x=
. == !=
. "" (stringfication)
. abs (returns the norm)
. atan2 (returns the angle between two vectors)
.
When an array reference is used in an operation involving a vector, it is
automatically upgraded to a vector.