# Items tagged with blogblog Tagged Items Feed

July 16 2010 by Maple

5

0

It always makes me happy to see people using Maple for interesting things.  So I was pleased to see this blog post on Technology Review about this paper on arXiv on quantum randomness.  In this case, they are just comparing random numbers generated from lasers (this is why physicists get better press than mathematicians: LASERS!) with pseudo-random numbers generated using Meresenne Twister implemented in Maple, pseudo-random numbers generated using a Celluar Automata method implemented in another computer algebra system, and then binary digits of π treated as a pseudo-random sequence.  (Spoiler: the lasers win)

While not a particularly interesting use of computer algebra systems, it did inspire me to revisit my old blog post on pseudo-random numbers in Maple and now I am working on a follow up that talks about some of the mathematical and statitical tests used to test the quality of pseudo-random number sequences which I hope to post soon.

### Optimization workaround for Operator...

July 14 2010 by Maple

9

2

There is a probem in the Optimization package's (nonlinear programming problem) NLPSolve routine which affects multivariate problems given in so-called Operator form. That is, when the objective and constraints are not provided as expressions. Below is a workaround for this.

Usually, an objective (or constraint) gets processed by Optimization using automatic differentiation tools ...

### Statistics Quantile performance

July 08 2010 by Maple

9

0

Here is yet another finesse (new to me) in getting better performance for some floating-point computation involving the Statistics package.

> restart:> X:=Statistics:-RandomVariable('Normal'(0,1)):st:=time():seq(Statistics:-Quantile(X,1/i,numeric),i=2..10000):time()-st;[%%][-1];                                    6.786                                -3.719016485> restart:> X:=Statistics:-Distribution(Normal(0,1)):

### ViennaCL, a GPU linear algebra library

June 14 2010 by Maple

3

0

A recent announcement: ViennaCL, an OpenCL (GPU) based linear algebra library.

It would be interesting to see how it might be used from within Maple via external_calling (even if only for some simple examples).

### STIX fonts, released as 1.0 version

May 29 2010 by

5

2

If you're interested in scientific fonts, the 1.0 version release of the Scientific and Technical Information Exchange (STIX) fonts was announced today (May 28, 2010).

See here for its main page, or here for wikipedia's point of view.

### Parallel Sparse Polynomial Multiplication...

April 28 2010 by Maple 14

5

7

Our previous article described the design of fast algorithms for multiplying and dividing sparse polynomials. We have integrated these algorithms into the expand and divide commands of Maple 14. In this post I want to talk a bit about what you might see when you try Maple 14. Keep in mind that the product isn't released yet and I don't work for Maplesoft, so general disclaimers apply. Nevertheless, one of the first things you may notice is this.

### Sparse Polynomial Arithmetic 3: Multipli...

February 25 2010 by Maple

4

1

In our previous article we described a packed representation for sparse polynomials is designed for scalability and high performance. The expand and divide commands in Maple 14 use this representation internally to multiply and divide polynomials with integer coefficients, converting to and from Maple's generic data structure described here. In this post I want to show you how these algorithms work and why they are fast. It's a critical stepping stone for our next topic, which is parallelization.

January 19 2010 by Maple

1

5

Simon Plouffe has started an interesting thread on the usenet newsgroup comp.soft-sys.math.maple (viewable here, for those without good nntp server access).

They are discussing the speed of computation of exp(1.0...

### Parser Differences

January 12 2010 by Maple

There was some recent discussion about Maple's Standard GUI having two parsers. (See here, and its parent.)

I've been accumulating a list of some differences between the parsers of 2D Math and 1D Maple notation, for the same given pasted input.

In particular, I'm interested here in differences...

### mint, the Maple program analyzer

December 04 2009 by Maple

3

3

The program mint, bundled with Maple, is a very useful syntax checker and program analyzer.

As provided, mint works best with Maple program source when contained in plaintext files. Inside Maple itself there is a command maplemint which does some of the same tasks as the stand-alone program mint. Unfortunately maplemint is quite a bit weaker than mint is, for quite a selection of procedures. Also, maplemint doesn't have the sort of flexible control that mint provides through its optional calling parameters.

I had previously posted a Maple language procedure for the purpose of calling out to mint while inside Maple (Standard GUI, or other). Here it is below, cleaned up a little. Hopefully it now works better across multiple operating systems, and also provides its optional parameters better.

### Sparse Polynomial Arithmetic 2: Packed...

December 04 2009 by Maple

3

6

Our first article introduced Maple's polynomial data structure and explained how Maple spends a lot of time working with monomials. To multiply polynomials having n and m terms, Maple must construct, simplify, hash, and sort all nm pairwise products to determine what monomials are equal. This work is performed even if the result has far fewer than nm terms, making it a rather inefficient way to multiply large multivariate polynomials. This article describes a new data structure for multivariate polynomials that is being added to Maple for a future release.

9xyz  -  4yz  -  6xyz  -  8x  -  5

### Sparse Polynomial Arithmetic 1: Maple's...

November 27 2009 by Maple

3

5

This is the first in a series of short informal articles about our efforts to speed up polynomial arithmetic in Maple. We begin with an example of how polynomials are represented in Maple right now.

9xyz  -  4yz  -  6xyz  -  8x  -  5

When you enter a polynomial in Maple, it creates a generic data structure like the one above. In Maple's representation this polynomial is a sum of terms that is 11 words of memory long where each word is either 32 or 64 bits. For each term it stores a pointer to a monomial followed by a coefficient.

### Making a dash for it

November 19 2009 by Maple

5

3

An attempt at question 2 of the xkcd Velociraptor Math problem (mentioned on this blog post). The parameters and events facilities of

### Classic on XP64

November 19 2009 by Maple

4

4

There is no released Classic interface to accompany the 64 bit version of Maple (12, 13) for the 64 bit Windows XP64 operating system. Personally, I prefer running the Standard over the Classic interface, although sometimes I miss common subexpression display for lengthy symbolic output.

The Maple Classic interface appears to talk to the Maple kernel only over a socket (or similar), and the...

### % in a proc

September 19 2009 by Maple

2

1

Could there be a useful performance gain if Maple were changed so that %, %%, and %%% did not function inside a procedure (proc) body?

Should one ever use % in a procedure? Would using it just be obfuscation where none is needed, or could it serve a special purpose?

While on this topic, how good or bad would it be to use a Standard GUI equation label inside the body of a proc that was entered in 2D Math?

acer

 2 3 4 5 6 7 Page 4 of 7