Sample Maplet: Hilbert Matrix - Maple Help
For the best experience, we recommend viewing online help using Google Chrome or Microsoft Edge.

Online Help

All Products    Maple    MapleSim


Home : Support : Online Help : Programming : Maplets : Examples : Advanced : Sample Maplet: Hilbert Matrix

Sample Maplet Application: Hilbert Matrix

This worksheet demonstrates how to write a Maplet application that functions similarly to the LinearAlgebra[HilbertMatrix] Maplet application available in the Maplets[Examples] package. It is designed for experienced Maple authors.

 

The HilbertMatrix Maplet application provides a graphical interface to the LinearAlgebra[HilbertMatrix] function.

Given an offset s, the Hilbert matrix H is a matrix with entries Hi,j=1i+js.  The default value is s=1.  The only outputoption that can be used in this case is to set the matrix to readonly.  By using user input, this procedure returns the calling sequence required to generate the desired Hilbert matrix or evaluates the result.

 

Thus, the Maplet application requests:

1.  The row dimension.

2.  The column dimension.

3.  The offset.

4.  Whether the matrix is read-only.

5.  Whether the result is to be evaluated (or the calling sequence is to be returned).

Return to Index for Example Worksheets