MathGroup Archive 1992

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

Search the Archive

Re: Re-indexing Mathematica

  • To: mathgroup at
  • Subject: Re: Re-indexing Mathematica
  • From: jacobson at
  • Date: Mon, 20 Jul 92 08:27:20 -0700

David Tindall McMath wants to have zero-based subscripting.  If he is
willing to use function call syntax like this ZPart[somearray,2,3],
instead of regular subscript notation, like somearray[[2,3]], here is
the code:

ZPart[obj_,partlist___] := Part[obj,Apply[Sequence,

  -- David Jacobson

  • Prev by Date: Re: Table[ ...If[...i...] ,{i,...}]
  • Next by Date: FontForm
  • Previous by thread: Re-indexing Mathematica
  • Next by thread: Re: Re-indexing Mathematica