Mac Dude

1267 Reputation

16 Badges

9 years, 170 days

MaplePrimes Activity


These are questions asked by Mac Dude

I just got a "new" graphics card, NVIDIA GT630, and was wondering whether the CUDA capabilities are accessible. But no luck:

CUDA:-Enable();

Error, (in CUDA:-Enable) CUDA not supported on the current system (see CUDA,supported_hardware for more information)

The CUDA help page with the example, when run, just shows a host of error messages.

I have OS X 10.11.6, the above mentioned GT630 card with claimed 384 CUDA cores and 2 GB of VRAM; NVIDIA WebDriver 346.03.15f16 for the card (i.e. latest for this OS) and NVIDIA CUDA driver 8.0.90 (again, latest for this OS as far as I can tell). My Maple is 2015.2. All this running on a MacPro 4,1.

I am not having great illusions about the performance I should get (this is not a state-of-the-art card today), but it seems to me this combination should be working with Maple 2015 and not throw an error, shouldn't it? Checking the system extensions: CUDA.kext is loaded and its dependencies are satisfied, so I don't see any problem there.

Am I missing something?

M.D.

I have an integral of a sum

Int(Sum(-(Nb*t-n*t__rev)*exp((1/2)*(L+sqrt(-4*C*L*R^2+L^2))*t/(L*R*C)-(1/2)*(Nb*t-n*t__rev)^2/(Nb^2*sigma__b^2)), n = 0 .. Nb-1), t);

that I want to convert into a sum of integrals since Maple will not integrate the sum but it will integrate the summands. I tried IntegrationTools, but none of these tools seem to do it. It is a part of a larger expression so doing this by hand is not a real option.

Mac Dude.

Following situation: I have a bunch of matrices A,B,Dm, Dinv (which is the inverse of Dm). They happen to be 2x2 matrices, but I want/need to keep these in a symbolic or abstract form, i.e. I am not saying what these are.

They are then used as submatrices of other (2x2) matrices like so:

R:=<<A|0>,<0|B>>;

I then have various dot products between these & others.

My issue/question is: How can I make sure, Maple obeys the non-commutativeness of the products that occur in doing these matrix products? I tried declaring A and B etc. as Matrix(), but that fails, saying the matrices are either too short or too long.

At any rate, I do not want Maple to expand these into their elements. A particular concern is that Dm*B*Dinv bcomes B*Dm*Dinv = B; obviously not correct for matrices B,Dm,Dinv.

So, can Maple handle abstract matrices?

M.D.

In answer to a previous question (https://www.mapleprimes.com/questions/228965-How-Can-I-Save-A-Record) acer introduced me to the .mla archives as a possible store location for variables.

I have been working with this and now end up having 4 .mla files (called results1.mla...results4.mla) that each hold output from some lengthy batch running of maple. Each of these has two tables with values called Beams and Beams2 (same name in each of these archives). While named the same the content is different.

My question is: How do I get at each of these? As acer explained, the content (i.e. the tables Beams and Beams2) is mapped into the namespace of the Maple session once libname includes the directory where the .mla files sit. They are actually in the same directory as the associated Maple programs so they mask each other.

I tried to juggle libname prepending the .mla file I want to the rest; but that does not seem to work (I always get the same data). I do need the data all in one worksheet for collating and postprocessing and display.

TIA,

M.D.

I have a relatively involved modeling application that tracks  a particle beam through a beam line for multiple passes. The beam is described by a Maple Record with a number of different entries; one of them being a table with a 6-vector of numbers for each particle in the beam.

Each pass this beam gets updated. I would like to be able to save the whole record into a filel (i.e. append the file each pass) and then be able to read it back in; regenerating the Record structures. Is this possible?

(I'd normally upload a mwe; except this code uses a large package that would have to be installed. This is something I do not consider reasonable to ask for.)

If there is an explicit answer like: call this function, give it your Record and it should work; and call this reading function to recreate the Record, that would be swell. Or maybe some pointers in the right direction...Maple has so many read, write, save and restore functions that a systematic test is daunting.

TIA,

Mac Dude

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