Deutsch   English   Français   Italiano  
<bb6c8c8a91804425fd02dda5fcd766ec@www.novabbs.com>

View for Bookmarking (what is this?)
Look up another Usenet article

Path: ...!weretis.net!feeder9.news.weretis.net!news.nk.ca!rocksolid2!i2pn2.org!.POSTED!not-for-mail
From: melahi_ahmed@yahoo.fr (ahmed)
Newsgroups: comp.lang.forth
Subject: Re: Differentiable Forth
Date: Wed, 17 Jul 2024 17:17:23 +0000
Organization: novaBBS
Message-ID: <bb6c8c8a91804425fd02dda5fcd766ec@www.novabbs.com>
References: <e9689378e46f06961fe4fe43b47dfd3b@www.novabbs.com> <v766m4$3hipk$1@news.xmission.com> <f806c73034c83af94d0ce3d857075241@www.novabbs.com> <7e6998ad43698a3e80e2483e932ec7a1@www.novabbs.com> <06155327b9b2e4b08c479044803e2511@www.novabbs.com> <a6052445cfd6c3264ff86446dbbe2d37@www.novabbs.com> <9afe4526bf6617b38f7861b770b8b7ec@www.novabbs.com>
MIME-Version: 1.0
Content-Type: text/plain; charset=utf-8; format=flowed
Content-Transfer-Encoding: 8bit
Injection-Info: i2pn2.org;
	logging-data="3621518"; mail-complaints-to="usenet@i2pn2.org";
	posting-account="fh2jRJ/PGtIlZMySaIjc6gsLWP80WZpB2lZYFC5wgKI";
User-Agent: Rocksolid Light
X-Rslight-Site: $2y$10$SvcKhbSZ.OxENpeOIlktmuImTHiDmc4jsp3rHragtcRhTWhiPE6Hm
X-Spam-Checker-Version: SpamAssassin 4.0.0
X-Rslight-Posting-User: a55529988cdb6fa7b5e36631aef8884238b8448a
Bytes: 2044
Lines: 30

On Wed, 17 Jul 2024 16:42:41 +0000, mhx wrote:

...
>
> Try the exponential matrix ( expm(A) where A
> is a square matrix ) next.
>
> -marcel

By expm(A) do you mean expm(A*t) where t is time (the independant
variable)
and A the matrix in the state model:

x_dot = A*x + B*u
y     = C*x + D*u

and PHI = expm(A*t) the transition matrix that permits to get the time
solution of the state model.

or you mean exactly expm(A), where A is the independant variable.
in the latter case I don't know how to calculate derivatives with
respect to matrices analytically.

for former case, time t is real, then we pass to dual numbers (t,1e) = t
+ 1e*eps where eps^2 =0
then we use the formulas known for floating point numbers
and generate versions for dual numbers and use them as in the posted
program.


Ahmed