MathGroup Archive 2005

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

Search the Archive

Re: Re: a question about subscript

  • To: mathgroup at smc.vnet.net
  • Subject: [mg57867] Re: [mg57863] Re: a question about subscript
  • From: "Owen, HL \(Hywel\)" <h.l.owen at dl.ac.uk>
  • Date: Sat, 11 Jun 2005 03:35:22 -0400 (EDT)
  • Sender: owner-wri-mathgroup at wolfram.com
  • Thread-index: AcVtjykgbYUTDsk7SO6aA3ayxldS1QAAdhig

Also look at the Notation package, which lets you group symbols
(including subscripts) into custom notations. I use it all the time and
it helps make code look more 'mathematical'.

H

> -----Original Message-----
> From: Tomas Garza [mailto:tgarza10 at msn.com] 
To: mathgroup at smc.vnet.net
> Sent: 10 June 2005 07:29
> Subject: [mg57867] [mg57863] Re: a question about subscript
> 
> You should use ":=" instead of just "=" if you are defining a 
> function. 
> Please look at SetDelayed in the Help browser, especially the 
> further examples. I can't see how you get v[0] = 01. I get 
> v[0]. The subscript may be typed as Subscript[t,1] or t Ctrl- 
> (i.e. the letter t followed by simultaneously pressing control-minus).
> 
> Tomas Garza
> Mexico City
> 
> >From: Zhou Jiang <jiangzhou_yz at yahoo.com>
To: mathgroup at smc.vnet.net
> >Subject: [mg57867] [mg57863]  a question about subscript
> >Date: Thu, 9 Jun 2005 05:18:10 -0400 (EDT)
> >
> >Hi,  my friends,
> >
> >I want to take the advantage of the subscript in Mathematica 5.1.
> >I defined a function like the following:
> >
> >v[t_]=t+t1
> >
> >Since this is a plane text, I cannot type in the subscript 
> t1 (i.e., t 
> >sub
> >1) for you. This is so simple which represents a time 
> translocation of t1. 
> >I want Mathematica to compute v[0] and it is supposed to 
> give t1 (ie. t 
> >sub 1).  I typed in v[0] but Mathematica gives me 01 (i.e., 
> 0 sub 1). 
> >Obviously it is not the correct answer. Can anyone give me 
> some insight 
> >of this delima? Thanks a lot.
> >
> >
> >
> 
> 
> 
> 


  • Prev by Date: Portable Notebooks and Filenames[]
  • Next by Date: Solve
  • Previous by thread: Re: a question about subscript
  • Next by thread: Re: a question about subscript