MathGroup Archive 2000

[Date Index] [Thread Index] [Author Index]

Search the Archive

Re: Q: Symbolize: How to create a table of indexed symbols?

  • To: mathgroup at smc.vnet.net
  • Subject: [mg25976] Re: Q: Symbolize: How to create a table of indexed symbols?
  • From: Jens-Peer Kuska <kuska at informatik.uni-leipzig.de>
  • Date: Wed, 15 Nov 2000 02:09:34 -0500 (EST)
  • Organization: Universitaet Leipzig
  • References: <8uquqb$qpc@smc.vnet.net>
  • Sender: owner-wri-mathgroup at wolfram.com

Hi,

"ahm -- what you are doing is nonsense at all.

Symbolize[Subscript[a,_Integer,_Integer]]]

does *not create a pattern that automatical symbolize
*all* expressions that match the pattern 
Subscript[a,_Integer,_integer]]

instead  you get a singe symbol:

?a*

a_Subscript_Underscore_Integer_Comma_Underscore_Integer

(ok the _ are \[Underbracket] characters).

*and* your input

\!\(\(A = {{a\_\(1, 1\), a\_\(1, 2\)}, {a\_\(2, 1\), a\_\(2, 2\)}};\)\)

generate ordinary Subscript[] expressions as to see from

A // MatrixForm // FullForm

MatrixForm[
  List[List[Subscript[a, 1, 1], Subscript[a, 1, 2]], 
    List[Subscript[a, 2, 1], Subscript[a, 2, 2]]]]

Since your "a_Subscript_Underscore_Integer_Comma_Underscore_Integer"
symbol is not used in your future steps you can do what you whant with

With your A matrix and you can assign

A = Table[Subscript[a,j,i], {j, 2}, {i, 2}]

So what is the problem ? You have never create symbolized expressions
with two integer indexes Symbolize[Subscript[a,1,1]] should look like

a_Subscript_1_Comma_1 

but there is no such symbol. 

Regards
  Jens

Claudius Schnoerr wrote:
> 
> Hello,
> 
> due to the subscripts I include a notebook in ascii at the end of this mail.
> 
> I first symbolize symbols a_,_ intended to be the elements of a matrix.
> Then manually I can create a matrix out of these symbols.
> 
> What I would like ist to create the matrix by a Table[]-statement.
> 
> Any hints are welcome.
> 
> Please email any answers directly to
> 
>         schnoerr at mailzone.com
> 
> Thank you in advance,
> 
> Claudius


  • Prev by Date: Re: Executing a notebook repeatedly from a script
  • Next by Date: Re: possible bug in Mathematica?
  • Previous by thread: Q: Symbolize: How to create a table of indexed symbols?
  • Next by thread: Re: Q: Symbolize: How to create a table of indexed symbols?