BSD Ports

math/p5-Math-Series 1.01_1 DragonFly

Perl extension dealing with mathematic series

System
DragonFly
Repository
DPorts
Maintainer
[email protected] (as in FreeBSD)
License
ART10, GPLv1+
Categories
math, perl5
Package size
10.5 KiB, 23.2 KiB installed

Description

Math::Series defines a class for simple mathematic series with a recursive definition such as x_(n+1) = 1 / (x_n + 1). Such a recursive definition is treated as a sequence whose elements will be added to form a series. You can refer to the previous sequence element as well as to the current index in the series. Creation of a Math::Series object is described below in the paragraph about the constructor.

Math::Series uses Math::Symbolic to parse and modify the recursive sequence definitions. That means you specify the sequence as a string which is parsed by Math::Symbolic. Alternatively, you can pass the constructor a Math::Symbolic tree directly.

Because Math::Series uses Math::Symbolic for its implementation, all results will be Math::Symbolic objects which may contain other variables than the sequence variable and the iterator variable.

Each Math::Series object is an iterator to iterate over the elements of the series starting at the first element (which was specified by the starting element, the second argument to the new() constructor). It offers facilities to cache all calculated elements and access any element directly, though unless the element has been cached in a previous calculation, this is just a shortcut for repeated use of the iterator.

In the other systems

SystemPortVersion
DragonFlymath/p5-Math-Series1.01_1
FreeBSDmath/p5-Math-Series1.01_1
HardenedBSDmath/p5-Math-Series1.01_1
GhostBSDmath/p5-Math-Series1.01_1

Install

Binary package:

pkg install p5-Math-Series

From DPorts:

cd /usr/dports/math/p5-Math-Series && make install clean

Dependencies

Run dependencies 3

No port depends on this one.