|
[Date Index]
[Thread Index]
[Author Index]
Re: List Manipulation
- To: mathgroup at smc.vnet.net
- Subject: [mg72416] Re: List Manipulation
- From: "dkr" <dkrjeg at adelphia.net>
- Date: Wed, 27 Dec 2006 05:23:04 -0500 (EST)
- References: <emo866$g29$1@smc.vnet.net>
In[10]:=
data={a1+b1*k,a2+b2*k,a3+b3*k};
listA=Cases[data,Plus[a_,_Times]:>a,{1}]
listB=Cases[data,Plus[_Symbol,Times[b_,k]]:>b,{1}]
Out[11]=
{a1,a2,a3}
Out[12]=
{b1,b2,b3}
dkr
Prev by Date:
How can I solve these equations using mathematica?
Next by Date:
Compile RandomArray
Previous by thread:
Re: List Manipulation
Next by thread:
Re: List Manipulation
|