Archive for the ‘compalg’ Category
chain rule once again
Encore une fois…
g:Rm→Rn∧f:Rn→Rk
“D(f)@g”∈Rm→Rk x n∧ D(g)∈Rm→Rn x m
It means that D(h) contains the partial differentials as columns and components as rows.
chain rule
$ maple
|\^/| Maple 7 (IBM INTEL LINUX)
._|\| |/|_. Copyright (c) 2001 by Waterloo Maple Inc.
\ MAPLE / All rights reserved. Maple is a registered trademark of
<____ ____> Waterloo Maple Inc.
| Type ? for help.
> D(f@g);
((D(f))@g) D(g)
> quit
bytes used=320280, alloc=327620, time=0.02
$
infix notation
(defun infixify (op parlist &optional (coll '()))
(if (null parlist)
coll
(infixify op
(cdr parlist)
(append coll
(list (car parlist))
(if (not (null (cdr parlist)))
(list op))))))