Re: Re: Matrix Operator form using Mathematica
- To: mathgroup at smc.vnet.net
- Subject: [mg53217] Re: [mg53216] Re: Matrix Operator form using Mathematica
- From: "Pratik Desai" <pdesai1 at umbc.edu>
- Date: Fri, 31 Dec 2004 03:47:42 -0500 (EST)
- References: <cqtc4e$7ic$1@smc.vnet.net> <200412300638.BAA23335@smc.vnet.net>
- Sender: owner-wri-mathgroup at wolfram.com
Thanks Steve for your response,
What if the matrix operates on a vector,
aone1=aone[{Tan[x],1}];
VectorQ[aone1]
Output:
False
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,
Pratik
------ Original Message -----
From: "Steve Luttrell" <steve_usenet at _removemefirst_luttrell.org.uk>
To: mathgroup at smc.vnet.net
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 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
>>
>
>
- References:
- Re: Matrix Operator form using Mathematica
- From: "Steve Luttrell" <steve_usenet@_removemefirst_luttrell.org.uk>
- Re: Matrix Operator form using Mathematica