PURPOSE: To increase the operation speed and to improve the operation precision by turning on/off an optical sensor by time division input multiplication due to light to transfer the electric charge, which is stored in a memory, to shift registers and performing analog addition and migrating the electric charge in shift registers to perform the multiplication of irregular binary processing in parallel.
CONSTITUTION: Multiplications as elements of vectors common to elements of respective rows of a matrix are inputted to an optical sensor 11 in parallel by light, and the optical sensor 11 is turned on/off to transfer the electric charge, which is stored in memory cells 12a to 12e, to shift registers 16a to 16e, and multiplication is performed by addition and migration in shift registers. The electric charge is analogically added in parallel by irregular binary processing. Thus, vector matrix operation is terminated at a high speed with a high precision.