Scott03

779 Reputation

10 Badges

19 years, 44 days

MaplePrimes Activity


These are replies submitted by Scott03

Will has been working on some fixes for MaplePrimes and when these changes have been rolled over to MaplePrimes, you should be able to enter the < and > like normal. Scott
Hi Sara, Could you post the worksheet as jpmay suggested? Scott
Hi Sara, Could you post the worksheet as jpmay suggested? Scott
For those who are wondering what jakubi had entered to get the above response, it is as follows: L := [ Matrix([[0,1],[1,0]]), Matrix([[1,1],[1,0]]), Matrix([[0,1],[1,0]]) ]; Scott
For those who are wondering what jakubi had entered to get the above response, it is as follows: L := [ Matrix([[0,1],[1,0]]), Matrix([[1,1],[1,0]]), Matrix([[0,1],[1,0]]) ]; Scott
Could you run the following kernelopts(locale) and let us know the response? The help page for this command indicate: "The current locale (subset of environment settings that depend on language and cultural conventions) for localization." This comma issue may come up as a result of a "cultural conventions" that was set. Scott
I suspected it may be the double quote due to my past experience when new users see that form of entering it in. Also, when I had tried testing it by copying and pasting the input into maple it came back with an error and outlined that section with the dotted line. Scott
I suspected it may be the double quote due to my past experience when new users see that form of entering it in. Also, when I had tried testing it by copying and pasting the input into maple it came back with an error and outlined that section with the dotted line. Scott
If you change from the array type to the Array type (notice the capital letter A), this would use a rtable and you can use the following code that is found in the rtable_scanblock help page A := Array(1 .. 4, 1 .. 4, [[10, 12, 10, 2], [12, 25, 27, 3], [8, 23, 17.4], [6, 15, 6, 2]]); rtable_scanblock(A, [1 .. 4, 1 .. 4], (val, ind, res) ->`if`(res[2] < val, [ind, val], res), [[1, 1], A[1, 1]]); This will return [[2, 3], 27] stating that the maximum is 27 and it is at the location [2,3]. Scott
Hi Robert, What do you (or the student) find under the Maple 11 menu on the Mac? For Macs the Preferences (the menu that is called Options under Windows and Linux) should be found under the "Maple 11" menu. Also, what version of Maple is installed on those machines? Scott
I think you can have some speed increases if you try two procs to do what you are looking for. For example try the following: comp := proc (x) if 0 < x then floor(convert(Statistics:-Sample(Statistics:-RandomVariable(Poisson(1)), x), `+`)) else 0 end if end proc; FF1 := proc (g) local y; y := [seq(floor(convert(Sample(RandomVariable(Poisson(1)), 1), `+`)), i = 1 .. g)]; y := map(i -> comp(i), y); return y end proc I was able to cut the time down by half by doing it the above way. It also reduces the number of lists or matrices that are being created then discarded. Scott
What version of Maple are you using and what version was used to create this worksheet? If you close this worksheet that has the ? marks (not saving it) and re-open the worksheet, does the ? marks disappear? Scott
The post appears to be copied from a Marketing Email from Kathleen McNichol and that part was also posted. Scott
The above goes for any function call. Since the 2-D parser is looking for a name followed by the ( bracket without a space. Therefore if you do sin (Pi) You won't get what you expect due to the space. Scott
The above goes for any function call. Since the 2-D parser is looking for a name followed by the ( bracket without a space. Therefore if you do sin (Pi) You won't get what you expect due to the space. Scott
First 7 8 9 10 11 12 13 Last Page 9 of 20