public T Scalar_vector(Vector <T> b) { if (_vector.Count != b.Count) { throw new ArithmeticException(); } T skal = default(T); for (int i = 0; i < _vector.Count; i++) { T multi = _calculator.Multiplication(_vector[i], b[i]); skal = _calculator.Sum(skal, multi); } return(skal); }