957 Reputation

10 Badges

15 years, 129 days
University of Kent

Social Networks and Content at

MaplePrimes Activity

These are replies submitted by casperyc

@itsme I recently had to do something quite similar. This looks very useful!

@Alejandro Jakubi Sorry I am not quite familiar with the term shell script.


Yes, I am running from Windows 7 X64 version. It is like a batch (.bat) file? I think the batch file will run one by one in windows. It's just like running a single line at a time in command line (cmd)?






@Alejandro Jakubi OK. Thanks.

@Carl Love This is brilliant! I am going to taken some time to look thing up in the "StringTools" package. It seems be very helpful in formatting pretty outputs.



@Kitonum Thanks. That looks like the only way to go.

@Carl Love


Just one last bit, say for this

eta[p4]   = -0.013
eta[p5]   = 0.215

Is it possible to get

eta[p4]   = - 0.013
eta[p5]   = 0.215

where the negative sign is at its "own" place. So for position numbers, there is an empty sapce.





@Kitonum Yes, this works.


But I am looking for a global option, that can be applied to the whole worksheet.


@Carl Love I dont know a lot about the differences. But it looks like that in general, Vectors are better (more efficient)? Even if we were to perform a loop operation on it.




@Joe Riel I decided to go with this one, because it looks "shorter".


Thanks for everyone who contributed and commented!

@Kitonum Yes, using loop is always an option. I don't think it efficient though. Perhaps there is a better way?

@Markiyan Hirnyk 


Hi, thanks again for your interest.

I was having some problems accessing the forum yesterday.


Here is a brief (shortened) version of the talk I gave at a research conference.


Data (page 1) of the PDF. (xij in the formula,xij=0 or xij=1)

Model: page 2,3,4

We use the linear link, page 4, where the taus,etas, and ws are.

Page 5 and 6, are the probabilities.


So the target function, are each of the probabilities, raised to the power of the number of counts, and then multiplied together.


As we used the linear link, that's why the powers are so big.








I believe if you go to "", you will see "Your Contributions".

It has your "replies" as well.


I have created a dummy testing file.

And I noticed that it can't include "restart" in all the .mpl files.

It also have no easy way to "track" what is going on.


In short, what I want is to have these unexecuted files,

get these executed files,

ideally, have these executed files and saved as PDF,






@Alejandro Jakubi Yup, the "a bell (alert) BEL" does not work. I only need something simple, if Maple have it as a feature. 

Calling something outside Maple, not something I would want to do every time I write a procedure.





@Carl Love Thanks.

2 3 4 5 6 7 8 Last Page 4 of 22