MathGroup Archive 2004

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

Search the Archive

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 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