How can I find out the format of a parameter passed to a function?
Subject: How can I find out the format of a parameter passed to a function?
From: Dieter Kaiser
Date: Sat, 30 Jul 2011 22:06:54 +0200
Am Samstag, den 30.07.2011, 20:39 +0100 schrieb Bernard Hurley:
> Hi,
>
> I am writing a maxima function that needs to know whether a parameter
> has the form "a[b]". How can I do this?
Try the test function subvarp:
(%i9) subvarp(a[b]);
(%o9) true
Dieter Kaiser