Book
Linear Algebra
Author
Gilbert Strang
Edition
# Sec. 3.2, Example 2 import numpy as np a = matrix((1,1,1)) at = a.transpose() num = np.dot(at, a) den = np.dot(a, at)[0][0] print num / float(den)
Solution by:
*<Dr. A. W. Pangantiwar>, <Associate Professor in Physics>, <Govt. College of Engineering, KARAD - 415124. Dist. Satara>