acer

17438 Reputation

29 Badges

14 years, 148 days

On google groups. (comp.soft-sys.math.maple and sci.math.symbolic)

On stackoverflow.

On math.stackexchange.com.

MaplePrimes Activity


These are replies submitted by acer

@Carl Love Access to documents (when online) is not what I meant. That is highly desirable.

But consider:

  • having a full Maple computational kernel, locally
  • having full Maple interface features (manual rotation and full interoperability with plots, popup menus, etc)
  • animations computed, stored, and displayed from structures held locally -- no delays while a mere image format is squeezed down an internet connection
  • the ability to work when offline

and so on. That's what I want on my smartphone, tablet, and chromebook.

A browser based interface is not intrinsically poor. But for dynamic computation and visualization it can be so much better if it has the means/functionality/choice to switch seamlessly to a full local computational kernel.

@ecterrab I am sure you are misunderstanding my points entirely.

I am talking about the number of all the ARM chromebooks and ARM smartphones in this world, and you are talking about the number of all the Raspberry Pis.

I did not state that Maple on the R.Pi was of little interest, or anything like that. But it's value could easily be dwarfed by the impact of full ARM port on other devices with that chipset.

@Regnar Andersen No, it's not enough to support the operating system. The executables also need to be compiled with the ARM CPU as target. That might well involve considerable effort.

Anyway... I'd be far more interested in Maple's kernel on ARM chromebooks and phones than I would be about it on the Pi.

(I'm also waiting for the world's infatuation with thin clients and the cloud to end.)

@David Sycamore He means that if you made the retro-edit for the ++ syntax, and if you also actually include and execute the code for procedure PP, then his P and PPrime procedures produce that output in Maple 2017.

If you forget to include and execute the code for PP then PPrime will not return false as desired, and all you'll get from P(50) are the primes from to 2 to 47.

restart;

kernelopts(version);

`Maple 2017.2, X86 64 LINUX, Jul 19 2017, Build ID 1247392`

PP:=proc(n::posint, kmin::posint, L::list(prime), nSolMax::posint)
# Prime partitions with elements >= kmin, starting with L
local Sol:=table(), nSol:=0, E;

E:=proc(L)
local p,sL:=add(L);
if L<>[] then p:=L[-1] else p:=nextprime(kmin-1) fi;
while p+sL<=n and nSol<=nSolMax do
  if p+sL=n and nSol<nSolMax then nSol:=nSol+1; Sol[nSol]:=[L[],p] fi;
  if nSol>=nSolMax then return fi;  
  E([L[],p]);
  p:=nextprime(p);
od;
end:

if L<>[] and add(L)=n then nSol:=nSol+1; Sol[nSol]:=L fi;   
E(L);
entries(Sol,nolist);
end:

SingPrime:=proc(p::prime,n::posint)  
# there exist only 1 PP starting with p
evalb(nops([PP(n,p,[p],2)])=1)
end:

Q := proc(n)    # list of SingPrime's
local p, P:=select(isprime, [seq(1..n)]);
select(SingPrime, P, n)
end:

PPrime:=proc(p::prime,n::posint)  
evalb(nops([PP(n,p,[p],1)])=1)
end:

P := proc(n)
local p, P:=select(isprime, [seq(1..n)]);
select(PPrime, P, n)
end:

P(50);

[2, 3, 5, 7, 11, 13, 19]

 

Download vv_PP.mw

 

Show the solutions to the equations, which you obtained.

You can use the green up-arrow in the Mapleprimes editor to upload and attach a .mw worksheet.

With which part of that question are you having difficulty?

Could you simply not be bothered to type it in?

You only need to type 7 characters into Maple, and it takes less than a millisecond to compute.

(16 characters are adequate if you want something that scales efficiently with the size of the problem).

@bnpndxtrwp The procedure ContoursWithLabels expects an expression, for which you may pass an unevaluated call to your procedure11.

Note the use of unevalution quotes, ie, single right-quotes.

contour_plot_issue_BP_Mapleprimes_ac.mw

@shahri Why, oh why, would you wait until your fourth message in this thread (Question, and then third Reply) to include an extra equation which must be satisfied by a solution to the system?

@shahri Your statement that (dependent name) "k is neither variable not parameter" strikes me as being nonsense.

@Lali_miani You have not addressed all the queries and points which I mentioned and which I consider to be central in order to be able to make a proper start on your problem.

@shahri On what grounds should that single solution be preferred over the others?

If you cannot specify that precisely then your request does not make good sense.

@shahri Your reply is nonsense because the system depends also on the name x, but you don't include that name in either the variables or the parameters.

The main problem is that you haven't explained what solve_pde does.

It's exceedingly awkward to recover the input from you're pasted output.

Please attach a worksheet that contains the input explictly, or paste in the lprint of the system.

@mmcdara Suppose that we'd been able to give you a magic command which you could apply to the a[i] so that its aliased value were attained, even when `i` were programmatically replaced.

That mightn't be much better than redirection through, say, a table lookup. Eg, T[a[i]] or Value[a[i]] if you wanted it understandable to a general reader. And you could easily construct that table, instead of calling `alias`.

1 2 3 4 5 6 7 Last Page 1 of 400