|
[Date Index]
[Thread Index]
[Author Index]
Re: Variable names in Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg92061] Re: Variable names in Mathematica
- From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
- Date: Thu, 18 Sep 2008 07:26:17 -0400 (EDT)
- References: <gat9lm$egd$1@smc.vnet.net>
Hi,
foo[\[Alpha]_, \[ScriptA]_] := \[Alpha]*\[ScriptA]
and
foo[2, 3]
gives
6
and
foo[2, \[Beta]]
gives
2 \[Beta]
Regards
Jens
amannuc1 wrote:
> Dear Community,
>
> I can't seem to get an answer to this simple question: are greek letters
> allowed as variable names in Mathematica? I have tried this with limited
> success (v 5.2). It seems that some greek letters are reserved, for example
> alpha. I am not sure about that. Any insight is appreciated. Thanks!
>
> -Tony
>
Prev by Date:
Re: Functional programming?
Next by Date:
Re: How to separate a sum into terms
Previous by thread:
Re: Variable names in Mathematica
Next by thread:
Re: Variable names in Mathematica
|