首页> 外国专利> Calculating the dot product of large dimensional vectors in two's complement representation

Calculating the dot product of large dimensional vectors in two's complement representation

机译:计算以二进制补码表示的大维向量的点积

摘要

A system for calculating the dot product of the vectors A(k) and B(k) of dimension Q written in two's complement representation. A bus has a width sufficient for communicating signals representing a plurality of bit planes A(j,Q) and B(n,Q) corresponding to the two's complement representations of A(k) and B(k), respectively. Circuitry connected to the bus calculates C(j,n)=A(j,Q).B(n,Q) for each of said bit planes. An adder sequentially determines R(n)=C(0,n)2.sup.0 +C(1,n)2.sup.1 + . . . C(N-1,n)2.sup.(N-1) -C(N,n)2.sup.N for n=0,1,2 . . . N. An accumulator connected to the adder shifts and accumulates the R(n)'s to thereby determine the dot product according to: ##EQU1##
机译:一种计算以二进制补码表示的,维数为Q的向量A(k)和B(k)的点积的系统。总线具有足以传送表示分别对应于A(k)和B(k)的两个补码表示的多个位平面A(j,Q)和B(n,Q)的信号的宽度。连接到总线的电路针对每个所述位平面计算C(j,n)= A(j,Q).B(n,Q)。加法器依次确定R(n)= C(0,n)2 s 0 + C(1,n)2 s1 +。 。 。 C(N-1,n)2 =(N-1)-C(N,n)2 = N,其中n = 0,1,2。 。 。 N.连接到加法器的累加器进行移位并累加R(n),从而根据以下公式确定点积:## EQU1 ##

著录项

相似文献

  • 专利
  • 外文文献
  • 中文文献
获取专利

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号