These are questions asked by
hanswurst
Hi there,
I'm doing a lot of computations with Maple right now (currently the ancient 10 and 12 versions but maybe soon 14).
I would like to do Unit-Tests of my Software as known for instance in JUnit with Java. Is it possible or do I have to use the ASSERT(...) - statements?
Thanks in advance.
Hi there,
I have defined an own type MyType wich is internally just a list ['MyType', A, B] with let's say two lists A,B and the symbol 'MyType' as first element (to identify the type).
Now, if I define
X := MyType('MyType', A, B);
is there a possibility to extract A out of X by something like
X[2]
or even better X[1] (thus skipping the first one)? The only thing I know is op(2, X).
Hi there,
I've got a weird error which kept me busy for two hours now:
I'm doing computations outside Maple and successfully read in a string, e.g.
s := "T(3)^5*T(5)^35";
Then I parse s by performing
t:=parse(s)
Then
u := subs({seq(T(i) = S[i], i = 1 .. 5)}, parse(t))
gives me
S[3]^5 * S[5]^35
Now the weird part: This works all fine if I put those command right in a Maple10-sheet.
If I however use this in a function fun(...
Hi there,
i've wirtten a library for maple12, say "MyLib", which is given by the files "MyLib.ind" and "MyLib.lib".
I've done this via
> restart;
> march('create', "<path>/MyLib.lib", 1);
>
> read "functions.txt";
>
> savelibname:="<path>";
> savelib( `MyLib` );
where "functions.txt" is given as
MyLib:= module()
Hello,
I've got a big file "file.mw" written in Maple12, which is OK, since I own Maple 12. Unfortunately it is totally in Math mode and all in one single group, i.e. of the form
> first line;
second line;
third line;
....
last line;
>
(keep in mind that there are only two ">" s).
Hi there,
I want to solve several LPs of the kind
L:=Optimization[LPSolve](obj, cnsts, maximize = true, assume = integer);
where it often is unbounded. Maple then prints a warning and returns a (meaningless) solution.
Now: how do I check, whether it is unbounded?
Hi!
I have to use code from older Versions of Maple which is for example of the form (only much longer)
> a := proc()
> local i;
> i := 89;
> i;
> end proc;
> a();
Hi there,
while programming, when I enter RETURN in my proc, I get a strange error
"Error, unable to delimit strings/identifiers"
and no further clues given.
What's wrong?
Hi there,
ich want to create a Maple-package -- say Foo -- using Maple12 by using 'module()'.
This works OK for me and I can load it with
"with(Foo);"
Then a list of the (exportet) functions appears.
What code do I have to enter in order to display also a predefined message, ie. via printf? For example
"with(Foo)" ---> "You are proud user of the Foo-package!"
?
Hello,
I'm new to maple's datastructures. Is it possible to store some rather complicated data in the nodes (or leafs) of a n-nary Tree? Are there also B-Trees?
Hi there,
I want to use Maple with the non-graphical interface on a standard konsole (not xmaple, just maple).
This works fine, except: how do I store the current file? (there are no menues...)
How do I open one?
Thanks!
How do I evaluate a String, ie. cut out the exclamation marks '"' ?
Example: I want
s:="[[1,2,3],[4,5,6]]"
converted to
[[1,2,3],[4,5,6]]
it sound simple but there are way to many 'eval'-functions to gain insight :-(
How do I compute a Groebner-Basis auf a Ideal I that corresponds to the SINGULAR-command 'std'?
Hi there!
In Maple 9.5: when programming you were able to ident code using the TAB-key. However in Maple 12 (when not using the classic mode) when programming you have to use the space bar several times, the TAB-key won't work.
Any thoughts?
Call me stupid but I still wasn't able to run the simple example in the maple help (see http://www.maplesoft.com/support/help/view.aspx?path=Define_external ) regarding calling external, precompiled Code (in my Case: c++).
1 2  |
Page 1 of 2 |