SEARCH
NEW RPMS
DIRECTORIES
ABOUT
FAQ
VARIOUS
BLOG

 
 

perl-Math-SimpleVariable rpm build for : openSUSE Tumbleweed. For other distributions click perl-Math-SimpleVariable.

Name : perl-Math-SimpleVariable
Version : 0.03 Vendor : obs://build_opensuse_org/devel:languages:perl
Release : 7.66 Date : 2024-08-05 18:30:27
Group : Development/Libraries/Perl Source RPM : perl-Math-SimpleVariable-0.03-7.66.src.rpm
Size : 0.01 MB
Packager : (none)
Summary : Simple representation of mathematical variables
Description :
Math::SimpleVariable is a simple representation of mathematical variables,
with an obligatory name and an optional value. This class on itself might
not seem very useful at first sight, but you might want to derive different
types of variables for some application. That way, objects of the derived
variable class can be accessed interchangeably with the here provided
protocols.

Math::SimpleVariable has two data fields - *name* and *value* - that can be
accessed and modified as if the variable object is a hash. E.g.

$var->{name} = \'foo\';

sets the name of the object $var to \'foo\', and

my $val = $var->{value};

reads the value of the $var object into $val.

In addition, the following accessor methods are available for
Math::SimpleVariable objects:

* $var->name()

Returns $var->{name}

* $var->id()

Returns $var->name() for Math::SimpleVariable objects. The purpose of
id() is to provide some unique identifier when using variables in some
higher level concept, e.g. a matrix representation of a set of equations.
Depending on your needs, you might want to change the implementation of
id() in derived classes.

* stringify()

Returns a printable representation of the variable. For
Math::SimpleVariable objects, returns $var->name(). Again, you might want
to override this for derived classes.

* value()

Returns $var->{value}

* evaluate()

Returns a numerical evaluation of the variable. For Math::SimpleVariable
objects, returns $var->value(). You might want to override this behaviour
in derived classes, athough I cannot think of any place where this might
come in useful :-). evaluate() is still there for reasons of
orthogonality.

RPM found in directory: /packages/linux-pbone/ftp5.gwdg.de/pub/opensuse/repositories/devel:/languages:/perl:/CPAN-M/openSUSE_Tumbleweed/noarch

Content of RPM  Provides Requires

Download
ftp.icm.edu.pl  perl-Math-SimpleVariable-0.03-7.66.noarch.rpm
     

Provides :
perl(Math::SimpleVariable)
perl-Math-SimpleVariable

Requires :
perl(:MODULE_COMPAT_5.40.0)
rpmlib(CompressedFileNames) <= 3.0.4-1
rpmlib(FileDigests) <= 4.6.0-1
rpmlib(PayloadFilesHavePrefix) <= 4.0-1
rpmlib(PayloadIsZstd) <= 5.4.18-1


Content of RPM :
/usr/lib/perl5/vendor_perl/5.40.0/Math
/usr/lib/perl5/vendor_perl/5.40.0/Math/SimpleVariable.pm
/usr/share/doc/packages/perl-Math-SimpleVariable
/usr/share/doc/packages/perl-Math-SimpleVariable/Changes
/usr/share/doc/packages/perl-Math-SimpleVariable/README
/usr/share/man/man3/Math::SimpleVariable.3pm.gz

 
ICM