Results 1 to 1 of 1

Math Help - vector differentiation by looping in Mathematica

  1. #1
    Newbie
    Joined
    Jan 2008
    Posts
    5

    Question vector differentiation by looping in Mathematica

    Hi all
    I need to take the derivative of a row vector w.r.t. another row vector using Mathematica.
    e.g. take the derivative of {a1,a2,....an} w.r.t {b1,b2,....,bk}
    But each element in the first row vector is very large and it takes too much ram to run.
    I am trying to do it by looping, i.e. take the elements in the first row vector one at a time to take the derivative w.r.t. the second row vector.
    Based on what I know, the command "Do" can only take the elements from a true matrix, which cannot only be a vector. Also, I cannot specify the row vector in the way that each row (of a matrix) is only a scalar. i.e. {{a1},{a2},....{an}} because each element is very large, and it takes lots of ram to change just a tiny thing.
    Does anyone know how to take the elements in the first row vector one at a time to take the derivative w.r.t. the second row vector?
    Thanks a lot!
    Last edited by snowrain; January 22nd 2008 at 07:16 PM.
    Follow Math Help Forum on Facebook and Google+

Similar Math Help Forum Discussions

  1. Help with looping films please!
    Posted in the Algebra Forum
    Replies: 4
    Last Post: October 22nd 2011, 06:45 AM
  2. Matlab looping/plotting problem
    Posted in the Math Software Forum
    Replies: 3
    Last Post: February 21st 2009, 10:30 AM
  3. vector reordering w/ mathematica
    Posted in the Math Software Forum
    Replies: 3
    Last Post: October 2nd 2008, 07:48 AM
  4. Vector Differentiation etc.
    Posted in the Advanced Applied Math Forum
    Replies: 4
    Last Post: February 27th 2008, 11:49 AM
  5. looping
    Posted in the Math Topics Forum
    Replies: 3
    Last Post: February 25th 2008, 08:17 PM

Search Tags


/mathhelpforum @mathhelpforum