Matrices and ODE
- To: mathgroup at smc.vnet.net
- Subject: [mg129789] Matrices and ODE
- From: snowyphile <dtorney at valornet.com>
- Date: Wed, 13 Feb 2013 04:52:13 -0500 (EST)
- Delivered-to: l-mathgroup@mail-archive0.wolfram.com
- Delivered-to: l-mathgroup@wolfram.com
- Delivered-to: mathgroup-newout@smc.vnet.net
- Delivered-to: mathgroup-newsend@smc.vnet.net
I'm using NDSolve to solve a'[t]=f(a[t]), where a is a square matrix. On the right-hand side, how do I access elements of a[t]? a[t][[i,j]], doesn't work, and I can't guess the right syntax. ((0,0,1,0).a[t].(0,0,1,0) works but is not compact.)