MathGroup Archive 2001

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

Search the Archive

MatrixTemplate (Simplification)


Clear["`*"]

CreateMatrix[x_, m_, n_] := PadRight[{}, m, {PadRight[{}, {n}, {x}]}]

Check

CreateMatrix[0,3,5]

        {{0,0,0,0,0},{0,0,0,0,0},{0,0,0,0,0}}


--
Allan
---------------------
Allan Hayes
Mathematica Training and Consulting
Leicester UK
www.haystack.demon.co.uk
hay at haystack.demon.co.uk
Voice: +44 (0)116 271 4198
Fax: +44 (0)870 164 0565





  • Prev by Date: Re: How do I see justification of solution?
  • Next by Date: NumberForm does not do, please help
  • Previous by thread: Re: inum error from NIntegrate?
  • Next by thread: NumberForm does not do, please help