Services & Resources / Wolfram Forums
MathGroup Archive
*Archive Index
*Ask about this page
*Print this page
*Give us feedback
*Sign up for the Wolfram Insider

MathGroup Archive 2004

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

Search the Archive

Re: Re: Matrix Operator form using Mathematica

  • To: mathgroup at
  • Subject: [mg53217] Re: [mg53216] Re: Matrix Operator form using Mathematica
  • From: "Pratik Desai" <pdesai1 at>
  • Date: Fri, 31 Dec 2004 03:47:42 -0500 (EST)
  • References: <cqtc4e$7ic$> <>
  • Sender: owner-wri-mathgroup at

Thanks Steve for your response,

What if the matrix operates on a vector,


Actually when the matrix aone operates on a 2*1 vector, it should give me 
another 2*1 vector,--I then want to multiply this new vector to another row 
vector to give me back a matrix. Is this possible

Thanks again,


------ Original Message ----- 
From: "Steve Luttrell" <steve_usenet at>
To: mathgroup at
Subject: [mg53217] [mg53216] Re: Matrix Operator form using Mathematica

> Oops! I missed out a # from my first reply:
> One way to do this is to define a matrix-valued function
> aone={{-#,0},{0,D[#,{x,2}]}}&
> so that (for instance) evaluating
> aone[Tan[x]]
> gives the result
> {{-Tan[x], 0}, {0, 2*Sec[x]^2*Tan[x]}}
> Steve Luttrell
> "Pratik Desai" <pdesai1 at> wrote in message
> news:cqtc4e$7ic$1 at
>> Hello all,
>> How do I define an operator embedded in a matrix and functions
>> operator
>> azero={{0,1},{1,0.05}};
>> aone={{-1,0},{0,(k)}};
>> (*k is the second order differential operator with respect to x d,xx, Is
>> there a way to define this in mathematica *)
>> Thanks
>> Pratik Desai

  • Prev by Date: Re: rotating 3D graphic by the mouse
  • Next by Date: Re: Mathematica is destroying my sanity....
  • Previous by thread: Re: Matrix Operator form using Mathematica
  • Next by thread: Re: N[] does not work inside Replace[] ?