modules, modules, modules
Is it just me or do most Perl modules (Cpan) exist
outside of perl standard distribution? The phrase
"try this module" casually uttered here. Am I
mistaken, so many beta this and beta that listings.
If I put out a module on CPAN is it a guarantee
of fittness for any user of it? There is so much
crap and garbage out there on CPAN it makes my
head spin (Telnet being one). I've given up
on anything but in the official distribution.
Can anyone tell me why I've done that, or am
I just imagining things?
robic0 <> wrote:
> Is it just me or do most Perl modules (Cpan) ex...Analytic Solution != Numerical Solution
Dear Group members,
I ran into a case where Mathematica Solve yields different solutions depending on whether I solve it analytically (and then plug in some numbers) or numerically. I'm solving an algebraic equation, with some square roots. Mathematica does NOT complain about branch cut or anything else when solving the problem analytically. Based on physical reasoning that created the equation in the 1st place the purely numerical solution is the correct one. I attached a 3-line pdf version of the notebook that demonstrates this issue. Thank you for any suggestions!
https://docs.goo...Digits, VPA, N, Matlab, Mathematica
Can someone help me with an issue about digits and vpa command? The
limit of digits in matlab is only 50? For example, I've done the
Digits = 100
(note the 0's)
Now, using Mathematica i've able to get it:
Question 1) : How can I get the same answer in Matlab a...imputils
I've created an archive import class (with the help of importers.py from the
python /demo/imputil dir) which imports packages and modules from a
dictionary. So far so good.
The problem is that every import statement after the code:
tries to import from the dictionary and doesn't use the modules that were
For example, I would like to use os in a module that's stored in the
dictionary. The import os statement tries to import os from ...problem with reload(sys) (doing reload on the sys module)
Python 2.4.2 (#67, Sep 28 2005, 12:41:11) [MSC v.1310 32 bit (Intel)]
Type "copyright", "credits" or "license()" for more information.
Personal firewall software may warn about the connection IDLE
makes to its subprocess using this computer's internal loopback
interface. This connection is not visible on any external
interface and no data is sent to or received from the Internet.
>&g...No math module??
I have been trying to run a python program and I get the following
Traceback (most recent call last):
File "<string>", line 39, in ?
File "/home/Larry/.blender/scripts/bzflag/__init__.py", line 22, in ?
File "/home/Larry/.blender/scripts/bzflag/BZfileRead.py", line 24, in ?
File "/home/Larry/.blender/scripts/bzflag/BZsceneWriter.py", line 25, in ?
File "/home/Larry/.blender/scripts/bzflag/BZcommon.py", line 24, in ?
ImportError: No module ...numeric module
What's the problem with this code? I get the following error message:
File "test.py", line 26, in test
IndexError: index must be either an int or a sequence
from Numeric import *
tbl = zeros((32, 16))
val = testme()
wi = crc >> 4
bi = crc & 0xFL
val = 0xFFFFFFL
val >>= 23
if __name__ == '__main__':
In function test(),
Read wi and bi as:
wi = val >> 4
b...math =!= mathematica
Does somebody know why I get different behaviour for the following
commands in a commandline session of mathematica 7 or inside a notebook?
It also seems to be different in different Mathematica versions for the
See http://www.risc.jku.at/people/hemmecke/mathematica/ for the
notebook files for Mathematica 5.2, 6.0, 7.0.
Can someone explain the
General::dupsym: The symbol Array with context A` already exists.
message? Why does that message appear at all? If A`Array exists, then
Mathematica should just use it, shouldn't it?
According to http://reference.wol...numerical solution
Die 3 Unbekannten sind
Alle anderen Parameter sind bekannt.
Hat jemand eine Idee wie ich diese Gleichung
mit Matlab l?sen kann.
"m? " <firstname.lastname@example.org> wrote in message
> Die 3 Unbekannten sind
> Alle anderen Parameter sind bekannt.
I am considering looking into Perl. I like C because it's for OS design
and such. But what kind of math capabilities does perl have ? Especially
with modules? I want to expand and factor various identities and equations.
Quadratic and otherwise. Linear algebra interests me too.
On Sat, 17 May 2014 23:10:48 -0400, Bill Cunningham wrote:
> I am considering looking into Perl. I like C because it's for OS design
> and such. But what kind of math capabilities does perl have ? Especially
> with modules? I want to expand and factor various identities and
...handling exact solution from solve vs numerical solution from fsolve for same equation
I am asking for the difference between
The result of evalf(%) above contains a complex part. No matter how
large I make Digits to be.
the result of fsolve contains only real part.
The question is, would you consider this equation to have complex or
In article <rXV3f.2604$tV6.email@example.com>,
Nasser Abbasi <firstname.lastname@example.org> wrote:
|>I am asking for the difference between
...InverseLaplaceTransform different solution in Mathematica 6 and Mathematica 7.0.0.
Mathematica 6 gives the analytical right answer evaluating
InverseLaplaceTransform[E^((1 - Sqrt[1 + 4*d*(s + d*r)])/(2*d)), s,
However Mathematica 7.0.0 does not the analytical solution. Is it a
a result with
System`LaplaceTransformDump`iPowerExpand in it
is a bug.
Guillermo Sanchez wrote:
> Dear friends,
> Mathematica 6 gives the analytical right answer evaluating
> InverseLaplaceTransform[E^((1 - Sqrt[1 + 4*d*(s + d*r)])/(2*d)), s,
> However Mathematica 7.0.0 does not the analytical sol...infection model of numeric coercion in Mathematica [Was: Re: Numerical accuracy/precision
----- Original Message -----
> From: "Bill Rowe" <email@example.com>
> >So to my opinion Mathematica does the following: 1) first convert
> >all numbers to numbers of the lowest precision found in the
> >expression, 2) follow the usual evaluation chain. Am I correct?
> I don't know if this is entirely true. In my experience,
> Mathematica converts numbers in any expression containing both
> machine precision numbers and higher precision numbers to
> machine precision before completing the evaluation. But I...FA: TI-58/59 Math/Utility Module and Marine Navigation Module, (seperatly)
Thanks for looking.