Clare So

165 Reputation

8 Badges

11 years, 339 days
Waterloo, Ontario, Canada

I was a software developer in Math and Research groups in 2007-2012.  I reviewed most of the contributions from Maplesoft's academic research labs.  In addition, I was one of the maintainers of the math library in Maple.  My involvement in Maple started in my undergraduate career when I worked at one of Maplesoft's affiliated academic research labs.

I hold BSc and MSc degrees in Computer Science from The University of Western Ontario, London, Canada.

My public LinkedIn profile: http://ca.linkedin.com/in/claremso

MaplePrimes Activity


These are replies submitted by Clare So

@Axel Vogt 

"$" is a marker that indicates no more arguments can be matched:

http://www.maplesoft.com/support/help/Maple/view.aspx?path=parameter_classes#endofparams

@ErikP Thanks for reporting.  This bug has been recorded in the bug database at Maplesoft.

Could you please post your worksheet?  Thanks.

Yes, this is a bug.  Thanks for reporting.  The bug has been recorded in our database.

@Axel Vogt Thanks for pointing out LinearAlgebra[Equal].  This is indeed a command that suits the user's needs better than verify.

@Axel Vogt Thanks for pointing out LinearAlgebra[Equal].  This is indeed a command that suits the user's needs better than verify.

@Markiyan Hirnyk Thank you for your comments.  I indeed refered to the sorting algorithm Wikipedia article at some point when developing this worksheet.  The slowest animation speed was chosen arbitrarily: 500ms per frame.  I can offer a slower animation speed through some modification in the "Speed of animation" slider.

Right.  You can't call LibraryTools when the kernel is down.  I'd be interested in what makes the kernel to break.  Could you please post your worksheet or commands to reproduce the behaviour?

Right.  You can't call LibraryTools when the kernel is down.  I'd be interested in what makes the kernel to break.  Could you please post your worksheet or commands to reproduce the behaviour?

@Markiyan Hirnyk Here's a workaround for Maple 13.  Put left hand side of the entries as strings ("y" and "n"):

ans := [y, y, n, n, n, y, y, n, n, n, y, y]:
data := ["y" = ListTools:-Occurrences('y', ans), "n" = ListTools:-Occurrences('n', ans)]:
Statistics:-BarChart(data);

@Markiyan Hirnyk Here's a workaround for Maple 13.  Put left hand side of the entries as strings ("y" and "n"):

ans := [y, y, n, n, n, y, y, n, n, n, y, y]:
data := ["y" = ListTools:-Occurrences('y', ans), "n" = ListTools:-Occurrences('n', ans)]:
Statistics:-BarChart(data);

@k4walker I've recorded your bug in our database.  Thanks for reporting.

Could you please put your input as text instead?  Readers of your post then can cut and paste the input directly into a Maple session.

Thanks.

Just to continue Erik's (@epostma) comment on ArrayTools/BlockCopy, here's how large blocks of matrices can be copied quickly using round bracket array indexing:

> N := 10000:
> A := LinearAlgebra:-RandomMatrix(N,N):
> B := Matrix(N,N):
> t := time(): B[1001..8000,1001..8000]:=A[1..7000,1..7000]:  time()-t;
                                           2.168

> t := time(): B(1001..8000,1001..8000):=A(1..7000,1..7000):  time()-t;
                                           0.216

Just to continue Erik's (@epostma) comment on ArrayTools/BlockCopy, here's how large blocks of matrices can be copied quickly using round bracket array indexing:

> N := 10000:
> A := LinearAlgebra:-RandomMatrix(N,N):
> B := Matrix(N,N):
> t := time(): B[1001..8000,1001..8000]:=A[1..7000,1..7000]:  time()-t;
                                           2.168

> t := time(): B(1001..8000,1001..8000):=A(1..7000,1..7000):  time()-t;
                                           0.216
1 2 3 4 5 Page 1 of 5