Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.forth > #50126

Dot product

From Ron Aaron <rambamist@gmail.com>
Newsgroups comp.lang.forth
Subject Dot product
Date 2016-08-15 07:19 +0300
Organization A noiseless patient Spider
Message-ID <norft6$sva$1@dont-email.me> (permalink)

Show all headers | View raw


From RosettaCode:

http://8th-dev.com/forum/index.php/topic,1050.0.html

[1,3,-5] [4,-2,1] ' n:* ' n:+ a:dot . cr

outputs 3

The a:dot word is a generalized dot-product of two similarly-sized
arrays.  So it can do a great deal more than a simple math dot-product.

Back to comp.lang.forth | Previous | Next — Next in thread | Find similar | Unroll thread


Thread

Dot product Ron Aaron <rambamist@gmail.com> - 2016-08-15 07:19 +0300
  Re: Dot product lawrencedo99@gmail.com - 2016-08-14 21:57 -0700
    Re: Dot product Ron Aaron <rambamist@gmail.com> - 2016-08-15 08:33 +0300
  Re: Dot product lehs <skydda.barnen@gmail.com> - 2016-08-14 23:43 -0700
    Re: Dot product Ron Aaron <rambamist@gmail.com> - 2016-08-15 10:01 +0300
  Re: Dot product "WJ" <w_a_x_man@yahoo.com> - 2016-08-18 17:19 +0000

csiph-web