## Heaviside not pattern matching...

Hi,

I am having trouble getting a pattern match to the Heaviside function.

patmatch(Heaviside(x), Heaviside(a::algebraic))

returns "false" whereas I would expect it to return true.

On the other hand:

patmatch(Heaviside(x), Heaviside(x::algebraic))

returns true.

What am I missing?

Regards.

## Labeling in matrixplot...

Hello,

I have use a sparsematrixplot to identify the patterns in a matrix.

In order to facilitate the readability of my sparsematrixplot, i would like to change the labels of the rows/ columns axis.

- for my rows, the labels : [eq1,eq2, ..., ]
- for my columns, the labels : [q1,q2,q3,...,]

Do you have ideas how I can do that ?

## how to express a matrix in terms of for loop...

let m3 = [[0; 1; 0]; [1; 0; 1]; [0; 1; 0]]

1. Firstly, express this matrix into sequence function expression

2. how to express this matrix in terms of forloop code

3. for complicated case such as 1 is not in easy pattern, can it intelligently express the matrix in terms of for loop code

is there exist extra tools to express matrix in terms of for loop code or sequence function code?

## Can I make an assumption like C[i,j] = C[j,i] for ...

Hi guys.

I have variables that look like C[i,j,k,l], where i,j,k,l can range between 1..3 for example. Is there a simple way to create a pattern-based assumption for something like C[i,j,k,l] = C[j,i,k,l] for all i,j,k,l ?

Kind regards,

woggy

## defining flat operators...

Hello!  I am writing a Grassmann multiplication operator:

define('`&*`', 'multilinear', 'flat', 'identity' = 1)

So that it automatically constructs operators like &*(arg1, arg2,arg3 ...)

Now I want to teach Maple how to transforms &* with ARBITRARY number of arguments.

How to create a pattern for that?  (to be added to "define")

## How to import a photo to Maple...

Hi everyone

I'm new to the forum, but I hope you can help me with a problem concerning import of pictures to Maple. I'm working with diffraction from a rectangular and circular aperture. I haven't made the experiment yet, but I've thought about taking some pictures of the diffraction pattern and then use Maple to calculate the intensity of the light to make a three dimensional plot (intensity as a function of position).

Right now I just want to import a picture...

## Using Regular Expressions in Type Checks

by: Maple

I was recently asked a question on using regular expressions with ?type , and I thought it was interesting enough, to share here.