Sample Maplet Application: Hilbert Matrix - Maple Programming Help

Online Help

All Products    Maple    MapleSim

Home : Support : Online Help : Applications and Example Worksheets : Maplet applications : examples/HilbertMatrixMaplet

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