全部搜索项
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 源代码: libmath-vector-real-perl  ]

软件包:libmath-vector-real-perl(0.18-3)

libmath-vector-real-perl 的相关链接

Screenshot

Debian 的资源:

下载源码包 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.

标签: 软件开发: Perl 开发, 函数库, 实做语言: Perl

其他与 libmath-vector-real-perl 有关的软件包

  • 依赖
  • 推荐
  • 建议
  • 增强

下载 libmath-vector-real-perl

下载可用于所有硬件架构的
硬件架构 软件包大小 安装后大小 文件
all 18.5 kB57.0 kB [文件列表]