Cody

Problem 43626. Find scalar product of two polynomials a and b, given as vector array.

Find scalar product of two polynomials given as vector array.

Example

a=[1 -1 2]; b=[2 4 1];

result=0

Solution Stats

85.71% Correct | 14.29% Incorrect
Last solution submitted on Oct 13, 2019