摘要 |
PURPOSE:To multiply a large-scaled matrix at a high speed by storing a multiplied matrix and a multiplying vector in two data memories, multiplying sequentially two data, adding them and obtaining an inner product. CONSTITUTION:A data memory part is constituted of the data memory A for holding the entire 1st multiplied matrix and the data memory B for storing any one column of the 2nd multiplying matrix. An multiplier 3 multiplies two input data, while an adder 4 adds the multiplied result to contents of an inner product register 5 and outputs the added result to the inner product register 5. A control part 12 gives an input instruction, a read one, a multiplying one, an addition one and an output one to an input part, the data memory, the multiplier, the adder and an output part, respectively, and indicates the action of each part of the arithmetic device, thereby reducing significantly the arithmetic time. |