comp.softsys.math.maple
  Home FAQ Contact Sign in
comp.softsys.math.maple only
 
Advanced search
February 2008
motuwethfrsasuw
    123 5
45678910 6
11121314151617 7
18192021222324 8
2526272829   9
2008
 Jan   Feb   Mar   Apr 
 May   Jun   Jul   Aug 
 Sep   Oct   Nov   Dec 
2008 2007    
total
comp.softsys.math.maple Profile…
RELATED GROUPS

POPULAR GROUPS

more...

 Up
  Tangent names blocked         


Author: Rainer Rosenthal
Date: Feb 29, 2008 09:57

It seems as if I had difficulties understanding the
name-concept here. Using TangentLine() for determining
the tangents l1 and l2 I get into trouble. There
is no problem with the first call of TangentLine(), but
the second call fails. Is there some kind of "undefine"
to handle this?

Here is my Maple6-code, which shows my trouble:

=============================================================================
restart: with(geometry):
TestTangent := proc()
point(H3,5,0);
point(C,5,6);
circle(k,[H3,5],[x,y]);
TangentLine(t, C, k, [l1, l2]);
end:
# First call is OK
TestTangent();

[l1, l2]
Show full article (0.90Kb)
7 Comments
  Maple 9.5: Units package         


Author: Johannes Bauer
Date: Feb 29, 2008 09:20

Hello group,

I'm currently doing error propagation with maple for astrophysics
calculations and stumbled upon an annoying problem. Let's say I have the
definition of velocity:

with(Units):
with(Units[Natural]):
v := (xs, xt) -> xs / xt;

I have one concrete velocity p

p := v(5*yards, 9*min);
127
p := ----- [m/s]
15000

And one velocity with a variable

q:= v(var, 4*sec);
q := 1/4 var [1/s]

Now I try to add them:

p + q;

Error, (in Units:-Standard:-+) the units `m/s` and `1/s`
have incompatible dimensions
Show full article (1.04Kb)
8 Comments
  Error: too many arguments in external procedure definition         


Author: kastsian
Date: Feb 29, 2008 03:07

In Maple 11 I need to write define_external procedure with 23
arguments.

For example:
in .c file I have:
void myproc(int N1, int N2, ...int N23){};

and in Maple 11 I write:
test1 := define_external('myproc', N1::(integer[4]), N2::
(integer[4]), ....., N23::(integer[4]), LIB = "mylib.so");
n1:=1; n2:=1;...n23=1;
test1(n1,n2,...,n23);

After this I get an arrow:
internal limit reached: too many arguments in external procedure
definition

But if I write the same just with 20 or less arguments everything is
working fine.

Is it the way to increase memory which Maple using for define_external
procedure?
no comments
  Pre-decimal digits of floats         


Author: Johannes Bauer
Date: Feb 28, 2008 23:35

Hello group,

I've asked this question in de.sci.mathematik before (2008/01/25), but
my query didn't yield any results - so here it goes again:

I'm trying to make Maple display one digit in front of the dot
seperating the pre-decimal position from the post-decimal. I.e. in the
following example:
>> evalf(%%);
7
0.3089519960 10 [km]

I'd rather like maple to display 3.089519960 * 106 km instead of the
above output.

Any way to do it?

Kind regards,
Johannes

--
"PS: Ein Realname wäre nett. Ich selbst nutze nur keinen, weil mich die
meisten hier bereits mit Namen kennen." -- Markus Gronotte aka Makus /
Kosst Amojan / maqqusz / Mr. G / Ferdinand Simpson / Quartillia
Rosenberg in dse <45608268$0$5719$9b4e6d93@newsspool3.arcor-online.net>
2 Comments
  Digits in front of "dot" of floats         


Author: Johannes Bauer
Date: Feb 28, 2008 14:22

Hello group,

I've asked this question in de.sci.mathematik before (2008/01/25), but
my query didn't yield any results - so here it goes again:

I'm trying to make Maple display one digit in front of the dot
seperating the pre-decimal position from the post-decimal. I.e. in the
following example:
> evalf(%%);
7
0.3089519960 10 [km]

I'd rather like maple to display 3.089519960 * 10^6 km instead of the
above output.

Any way to do it?

Kind regards,
Johannes

--
"PS: Ein Realname wäre nett. Ich selbst nutze nur keinen, weil mich die
meisten hier bereits mit Namen kennen." -- Markus Gronotte aka Makus /
Kosst Amojan / maqqusz / Mr. G / Ferdinand Simpson / Quartillia
Rosenberg in dse <45608268$0$5719$9b4e6d93@newsspool3.arcor-online.net>
3 Comments
  function evaluation         


Author: Roman Töngi
Date: Feb 28, 2008 12:12

How can I evaluate a function at more than one point?
Evoking the function with a list of values does not work.

Thx
1 Comment
  -- Wolfram Research QA process defect: Bug in Mathematica 6 - Integrate - 92 (Log, Sqrt, invalid value, regression bug) - BUG THE LONG LIVER: 1996-2008 (!)         


Author: Vladimir Bondarenko
Date: Feb 28, 2008 09:07

-----------------------------------------------------------------

If the same bugs exists through numerous software releases,
I think that is valuable public information.

It just should not happen.

-- Brad Cooper

-----------------------------------------------------------------
-- NOT FIXED BUGS ARE DANGEROUS: THEY TEND TO GET MORE SEVERE --
-----------------------------------------------------------------

Quality of CASs is our #1 care.

So our little demo continues.... Hello again from the VM machine
which hopefully soon will be used by CAS manufacturers to the
benefit of their customers.

This example demonstrates YET ANOTHER case of bad defects in the
Wolfram Research Quality Assurance process. Consider, it cannot
trap and fix efficiently bugs the long livers.

The reported here defect persists in the Mathematica versions
since at least 1996 to 2008.

-----------------------------------------------------------------
Show full article (2.24Kb)
no comments
  "option inline" together with "makeproc"         


Author: Rainer
Date: Feb 28, 2008 05:56

I would like to create inline procedures using "makeproc". Is there a
way to do this, e.g. by specifying this option together with
"makeproc"? Or is it only possible to manually code an inline
procedure?

Thanks a lot,
Rainer
no comments
  convert symbolic for numerical calculation         


Author: everteq
Date: Feb 26, 2008 10:04

Hi All,

I want to convert a lengthy (several pages) expression of trigonometry
of several angles and parameters into C++ code for numerical
calculation. I did a simplify, then edited the expression into C++. It
is not very efficient for calculation nor easy to maintain. The
resulted C++ code is not easy for human to read. What is the right
way of doing it?

I am using maple 9.52. When long expressions are displayed in maple,
The GUI is extremely slow to scroll even though I am using a 2.4Ghz
quad core with 2G of DDR2 memory. How can I improve the GUI response?

Thanks in advance.

Everett
1 Comment
  Integrand extraction question         


Author: Ray Vickson
Date: Feb 25, 2008 08:25

Is there a nice way to extract an integrand; that is, if we have an
expression of the form Int(f,x) or Int(f,x=a..b) can we easily get f?
This issue arises when we manipulate Int(g,z) by changing variables,
doing integration by parts, etc., to end up with Int(f,x) in which
Maple knows f but we don't. Of course, one can always use the mouse to
extract f from the screen display of Int, but I was hoping for a
better way.

R.G. Vickson
2 Comments
1 2 3 4 5 6 7