全部搜尋項
buster  ] [  bullseye  ] [  bookworm  ] [  trixie  ] [  sid  ]
[ 原始碼: libmath-vector-real-perl  ]

套件:libmath-vector-real-perl(0.18-1)

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。9 kB57。0 kB [檔案列表]