Christopher2222

5785 Reputation

24 Badges

15 years, 274 days

MaplePrimes Activity


These are replies submitted by Christopher2222

Thanks to both. 

I noticed in LinearAlgebra, there is a Map function which can have an optional [filter] which on the help page selects the positions for it to be applied.  Can that be used in this case?

@C_R Yes that seems to be the case.

So the reason behind doing the advanced search by author is because there doesn't exist a "Search all replies by ..." button.
Search all posts by ... and Search all questions by ... exists.

That looks like redshift vs. the velocity.  It can be done in a creative way.  I have done it in the past but after an extensive search on mapleprimes, I can't find what I was looking for. 

Basically, if I recall correctly, you have to convert it to an array or matrix then you can scale an axis and go from there.  I'll keep hunting for my idea, but mapleprimes search is somewhat limited (broken) so it's difficult to search properly.

@lemelinm I had a post on that many years ago.  Maple can create graphs like that, but it hasn't included any such features yet (I'm slightly surprised they haven't).  Anyways my post here is probably what you are looking for regarding the gridding in 3d space.  https://www.mapleprimes.com/posts/126570-Gridlines-In-3d-Space

So I put together a quick collection of routines for
  - Linear Algebra
  - Numeric Integration
  - Statistics
  - Polynomials

all with their reference author in brackets and a mapleprimes reference from where I got it from.

The idea is to use the collection to generate times for your system to compare to others, benchmarking.  Mainly just to see how fast a particular code is run in comparison to different hardware setups. 

Anyways, the initial test worksheet is attached.  Test_Maple_performance_-_suite.mw

Ok, this question about benchmarking has come up a number of times on mapleprimes.  Just earlier this year it was mentioned that Maple should have a benchmark test suite, to me that sounds like a great idea (a package could be put together). 

So, everyone uses Excel, it wouldn't be hard to collect data and tabulate it in an excel sheet and post it to the beginning of the thread.  Acer had a quick list to build from, Linear Algebra, Statistics, integration, differential equations, polynomial manipulation and special function evaluation. 

Based on that, can we come up with 6 seperate algorithms/routines to time?

Yes, we are somewhat timing the efficiency of the builtin routines between different versions ( and with many samples a pattern will emerge and we can conclude that "x" processor with "n" amount of RAM is better than "y" processor with "x" amount of RAM), but also across multiple system setups on the same version of Maple, the differences will also be noticed.  Of course the larger number of samples the better. 

Here's an example for Linear Algebra routine we could use that I dug up from a while ago by Roman Pearce

restart;
with(LinearAlgebra);
N := 9;
A := RandomMatrix(2^N, 2^N + 1, generator = -10^5 .. 10^5);
TIMER := time(Modular:-IntegerLinearSolve(A, 2^N));
print(2^N = TIMER);

On my machine the output is

By all means a rough draft, we can refine them as we go.

@acer You've obviously pointed out my method is ridiculous and terrible.  Someone else can come up with a more concrete way of my intentions, I quit. 

I'll start it off.  I've made one run here but we should make 5 runs and take the average for the result
Here's a sample test problem run with Maple 2022.0 on a Win7 64bit, 8Gb RAM, Toshiba Tecra S10, Intel Core2 Duo, P8700 @2.53GHz

restart;
UseHardwareFloats := true;
n := 3500;
t0 := time();
M := LinearAlgebra:-RandomMatrix(n, n, generator = 0. .. 1, outputoptions = [datatype = float[8]]);
randTime := time() - t0;
LinearAlgebra:-LA_Main:-Rank(M);
rankTime := time() + (-t0 - randTime);
total := rankTime + randTime;

There are performace comparisons across the different versions of Maple and competing products, but no real comparisons across various platform setups (which would be befificial in your case - but would also be interesting to others)

I wonder if we could set up a section or table somewhere (in a post) with specific test calculations and time them with various system steups by users in the community.  As a side post I will start it. 

@Carl Love I can confirm that works in MapleFlow.

As well the select command will be more compact

 

@Thomas Richard Thanks.  Was that by design? 

Programming in Mapleflow is a slightly different ballgame. 

@SiggiN You're right .flow files can not be uploaded.  You can always zip any file.  Here's the complete list of files that can be uploaded.  Mapleprimes will have to update so that .flow files can  be uploaded.

Maple

@C_R works fine in 2022.0

I suspect when generating the sigma_t equation something was accidentally typed.

The only way to be sure is if SiggiN can upload his Mapleflow sheet. 

Not sure how you're going to get numbers from an equation that doesn't have any values assigned to the variables. 

You have nothing assigned to sigma_p nor is anything assigned to sigma_uts_t. 

@MapleUser2017 Now that you mention it.  That has happened to me a couple of times.  The command just doesn't execute.  Now I can't recall if it was version 2022 or 2023 - I'll keep an eye out for it next time it happens. 

Executing the code (Enter) just returns to the next line with nothing done, like it was in text mode or something.  I'll definitely watch for that occurrence.

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