all ready to release
This commit is contained in:
parent
79c9f75ae2
commit
4f091ceb34
4
Changes
4
Changes
|
@ -1,5 +1,5 @@
|
|||
Revision history for Math-Giac
|
||||
|
||||
0.01 Date/time
|
||||
First version, released on an unsuspecting world.
|
||||
0.0.1 2020-05-28/10:00
|
||||
- Initial release.
|
||||
|
||||
|
|
30
README
30
README
|
@ -1,16 +1,25 @@
|
|||
Math-Giac
|
||||
|
||||
The README is used to introduce the module and provide instructions on
|
||||
how to install the module, any machine dependencies it may have (for
|
||||
example C compilers and installed libraries) and any other information
|
||||
that should be provided before the module is installed.
|
||||
This implements a interface to giac, a CAS(Computer Algebra System)
|
||||
|
||||
A README file is required for CPAN modules since CPAN extracts the README
|
||||
file from a module distribution so that people browsing the archive
|
||||
can use it to get an idea of the module's uses. It is usually a good idea
|
||||
to provide version information here so that people can decide whether
|
||||
fixes for the module are worth downloading.
|
||||
use Math::Giac;
|
||||
|
||||
my $giac;
|
||||
eval( {
|
||||
$giac=$Math::Giac->new;
|
||||
} );
|
||||
if ( $@ ){
|
||||
die("Failed to locate the giac binary");
|
||||
}
|
||||
|
||||
my $results=$giac->run('sin(x)+cos(pi)-3');
|
||||
print $results."\n";
|
||||
|
||||
$results=$giac->run('mathml(sin(x)+cos(pi)-3)');
|
||||
print $results."\n";
|
||||
|
||||
$giac->set_vars({ A=>2 });
|
||||
my $results=$giac->run('sin(A)+cos(pi)-3');
|
||||
|
||||
INSTALLATION
|
||||
|
||||
|
@ -42,6 +51,9 @@ You can also look for information at:
|
|||
Search CPAN
|
||||
https://metacpan.org/release/Math-Giac
|
||||
|
||||
Repository
|
||||
https://gitea.eesdp.org/vvelox/Math-Giac
|
||||
|
||||
|
||||
LICENSE AND COPYRIGHT
|
||||
|
||||
|
|
|
@ -7,7 +7,7 @@ use File::Temp;
|
|||
|
||||
=head1 NAME
|
||||
|
||||
Math::Giac - A perl interface to giac.
|
||||
Math::Giac - A perl interface to giac, a CAS(Computer Algebra System)
|
||||
|
||||
=head1 VERSION
|
||||
|
||||
|
@ -166,7 +166,6 @@ sub vars_clear {
|
|||
|
||||
delete( $self->{vars} );
|
||||
|
||||
|
||||
$self->{vars} = {};
|
||||
|
||||
return 1;
|
||||
|
@ -254,6 +253,10 @@ L<https://cpanratings.perl.org/d/Math-Giac>
|
|||
|
||||
L<https://metacpan.org/release/Math-Giac>
|
||||
|
||||
=item * Repository
|
||||
|
||||
L<https://gitea.eesdp.org/vvelox/Math-Giac>
|
||||
|
||||
=back
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue