casperyc

957 Reputation

10 Badges

14 years, 246 days
University of Kent
Dr

Social Networks and Content at Maplesoft.com

MaplePrimes Activity


These are questions asked by casperyc

a:=Vector([2,3,4,5]);

select[flatten](x->x>=3,a);

This returns a Vector that satisfies the above condition. What's the most efficient way to get the indices of those entries?

For example, a list l:=[2,3,4] that correspond to the a[l] entries that satisfies the above condition.

l:=[2,3,4];

a[l]; # gives the same answer

 

Thanks,

 

casper

Hi,

print_result.mw

How could I convert HFloat type number to a number?

My ultimate aim is to print the ouput in a "nicer" wa, like this

 

printf("Minimum value is: 2.440\n");
printf("x=2.257\n");
printf("y=0.000\n");

and possibly can be written to a file (using writeto).

 

Thanks,

 

Hi,

I have been using Mapleprimes for many years. I have asked a lot of questions as well as helped, commented on some posts.

But I always found it a bit difficult to dig up my old posts. So I can have a look what I have asked.

In the "account" page, I can find "Subscriptions",

In the "www.mapleprimes.com/recent/" page, I can find "Your Contributions".

 

But is there some where, I can dig up ALL my posts (those I have "asked") only?

 

Thanks,

 

casper

Hi,

 

Say I run a procedure, it could take about 3 minutes to run, or maybe hours, or longer.

Is it possible to trigger a sound, like "ding", after it's finished?

I may like to read something while the program is running, but I want to see the results immediately.

It would be nice to have such function.

 

Also, for procedures that runs for a "long" time, could I get 10 (or 15) minutes sound notice?

 

Thanks,

 

casper

Hi,

I wonder if there is a way to achieve this, say I have 4 Maple worksheets,

sheet1.mw

sheet2.mw

sheet3.mw

sheet4.mw

all of them can run seperately. Each of them runs on lots of data, and takes a big chuck of time. I hope to run them one by one. After each file is completed, save (Export) as PDF file, and move on to the next one.

On my own PC, I use Maple X64 windows version. I have never used the command line, but I suppose that will be done in this version, instead of the GUI version?

On the school server, it's Maple X64 linux version. So it's also has the maple command line version as well as the xmaple version.

 

Thanks,

casper

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