function C = DotPro(A,B) C = sum( A.*B ); end