Paquet : libmath-vector-real-perl (0.18-1)
Liens pour libmath-vector-real-perl
Ressources Trisquel :
Télécharger le paquet source libmath-vector-real-perl :
- [libmath-vector-real-perl_0.18-1.dsc]
- [libmath-vector-real-perl_0.18.orig.tar.gz]
- [libmath-vector-real-perl_0.18-1.debian.tar.xz]
Responsable :
Original Maintainers:
- Debian Perl Group (Archive du courrier électronique)
- gregor herrmann
Ressources externes :
- Page d'accueil [metacpan.org]
Paquets similaires :
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.
Autres paquets associés à libmath-vector-real-perl
|
|
|
-
- dep: perl
- Larry Wall's Practical Extraction and Report Language
Télécharger libmath-vector-real-perl
Architecture | Taille du paquet | Espace occupé une fois installé | Fichiers |
---|---|---|---|
all | 17,9 ko | 56 ko | [liste des fichiers] |