       Re: Matrix Operator form using Mathematica

• To: mathgroup at smc.vnet.net
• Subject: [mg53216] Re: Matrix Operator form using Mathematica
• From: "Steve Luttrell" <steve_usenet at _removemefirst_luttrell.org.uk>
• Date: Thu, 30 Dec 2004 01:38:27 -0500 (EST)
• References: <cqtc4e\$7ic\$1@smc.vnet.net>
• Sender: owner-wri-mathgroup at wolfram.com

```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 umbc.edu> wrote in message
news:cqtc4e\$7ic\$1 at smc.vnet.net...
>
> Hello all,
>
> How do I define an operator embedded in a matrix and functions
> as...well........an 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: Matrix Operator form using Mathematica
• Next by Date: Re: Re: rotating 3D graphic by the mouse
• Previous by thread: Re: Matrix Operator form using Mathematica
• Next by thread: Re: Re: Matrix Operator form using Mathematica