4500 Reputation

17 Badges

6 years, 289 days

MaplePrimes Activity

These are replies submitted by mmcdara


You hit the point: SAGE is free and extremely powerful thanks to the large number products its distribution includes (

About 15 years ago the main general purpose CAS used in French Universities (math) was Maple.
 I remember when Wolfram's commercials came presenting the last Mathematica release everyone was very critic: the show was all around the visualization, interactive features and a lot of other things mathematicians considered has "frills for engineers not for serious people". And they have kept their confidence in Maple.

But Maplesoft politics has changed and, still in France, when a Maplesoft's team comes to present Maple to mathematicians, they don't talk much about math but mostly about everything else, just as Wolfram's team did 10 years ago.
So there has been a slow but steady shift towards something less eye-catching, more focused on the things that these "serious people" consider essential... and less expensive
Today a lot of math's labs have turned towards SAGE, and some friends of mine, yet major Maple defendants have crossed the rubicon.

I suspect it's must be hard for Maple to find the right place between Mathematica and SAGE.


Yes, R can do that.

Your initial question is interesting in that it points to a general problem: can Maple (or any other produc) be the best in any field?
And the answer is obviously not.

In your casse Mathematica and Matlab both produce better drawings of the network than Maple does.
But it's clear that Maple does other things far better than Matlab (which is not the same kind of product) and even Mathematica.
Trying to obtain with Maple what another product gives you without pain can be a huge task. As I use to use Maple and R, I have already recoded a lot of R-algorithms in Maple language, but it's worth it only if the price to pay for the development is not too big.

I'm more in favor of an hybrid strategy: if R (or Matlab, Python, ...) is "better" than Maple for doing some task, then use this product, instead use Maple.
As an example I keep using the Statistics  Maple's package to do formal computations or "simple" statistics, but switch on R do do complex statistical studies. But, as R itself has only limited capabilities on symbolic calculus (just as Matlab), I often swith from R to Maple.
Just trying to use the best tool for the task to do.

Information passing through files is not a problem. Maple can even delegate these tasks to R (or a lot of other products) through the ssystem/system mechanism.

So the question "I've obtained this result with ..., can Maple gets it" is a complex one.
I believe it is sometimes a legitimate question when the fiels of the products overlap (Mathematica solves this equation, can Maple do it?) but a pointless question if they dont (I solved this CFD problem with Fluent, can Maple do it?)
The pretty drawing of graphs or networks is not the strong point of Maple... but its GraphTheory package remains excellent.


Here is how your file is displayed in 1D mode:

w := VectorCalculus:-RootedVector(root = [-2, 1], `<,>`(1, 2))

Vector[column](%id = 36893488152235632508)


VectorCalculus:-PlotVector(w, scaling = constrained)






Correct plots are displayed when this file is executed, but I can't find any plot command.


I never use 2D math.
I don't consider it as reliable enough for me to use it (I did, years ago, and faced a lot of big problems, so I forgot about it).

But I kindly decided to make an exception :-)


w := RootedVector(root = [-2, 1], `<,>`(1, 2)):

PlotVector(w, scaling = constrained)




Then it seems to work also in 2D math

This is an example of what you can get with R (more customization is possible)

The document is interactive: use the green buttons or move the nodes

@Carl Love 

It's good that you have provided all this additional information.
Thanks for @segfault


I edited my previous reply by adding a reference to Heck's book "An introduction do Maple" (in red in the text), where the diffference between names and variables seems to me very clear.

Good adventures with Maple

@Amir Saman Mir 

BTW, I forgot to tell you I'm using here (at home) a pretty old version of Maple (2015.2) and also of Physics.
So it's likely that a lot of improvements have been done since then  and a lot of features have been added to this package.

@Amir Saman Mir 

Did you think of something like this?

FindCoeff := proc(eq, var, {d::integer:=1})
  local Eq := `if`(type(eq, `=`), (lhs-rhs)(eq), eq):   if d <> 0 then
    coeff(eval(Eq, var=J), J, d)
    add(remove(has, eval(Eq, var=J), J))   
  end if:
  collect(%, [indets(%, name)[]])
end proc:

c := FindCoeff(Newton_generalized_MatForm, diff(`&varkappa;_`(t), t), 1);

c := FindCoeff(Newton_generalized_MatForm, diff(`&varkappa;_`(t), t, t), 1); c := FindCoeff(Newton_generalized_MatForm, H(t), 1);​​​​​​​

You can collect this result w.r.t. any symbol NOT declared in Setup  (here m alone).
But I don't know how to collect it w.r.t rho without pulling it out of the Setup declation:

FindCoeff(Newton_generalized_MatForm, `&varkappa;_`, t);
collect(%, [indets(%)[]])

and after having removed rho from the Setup declaration:

Setup(op = {H, I__C, I__G, Omega, R, a_, p, r, v_, `&alpha;_`, `&omega;_`, `&varkappa;_`}):
FindCoeff(Newton_generalized_MatForm, `&varkappa;_`, d);


Sorry, I understood it was a rendering and vertex labeling issue.

@Rouben Rostamian  

Oh sorry, I didn't notice


Great, I vote up!

Both @dharr and I already told you that your code was full of syntax errors and it seems the only thing you are capable of is repeating the same question with the syntax errors.
Are you kidding us?

Either you define delta as a list, vector ar array  (delta[n]), or as a function  (delta(n)), not both!
I believe there is no recurrence behind what you mistakenly try to do, which is basically updating the values of Theta for consecutive x values.
So, first thing YOU HAVE TO CORRECT YOURSELF is to replace square brackets by parentheses wherever it's needed.


I agree, I nevertheless posted an answer for what it's worth

avoid to replicate questions, yours will be read and answered as soon as possible, don't forget that Mapleprimes is a worldwide community with some members still sleeping at the moment  :-)
More seriously, it's almost impossible to answer a question if you do not provide all the material: use the green up-arrow in the menu bar to upload your full worksheet.

See you soon.

PS1: Click on your first question, in the bottom right corner click on more, lastly delete it.

Look here to find a clue,%20data%20could%20not%20be%20converted%20to%20float%20Matrix

5 6 7 8 9 10 11 Last Page 7 of 99