Differences between revisions 1 and 2
Revision 1 as of 2010-12-17 09:26:07
Size: 463
Editor: 172
Comment:
Revision 2 as of 2010-12-17 11:47:00
Size: 455
Editor: 172
Comment:
Deletions are marked like this. Additions are marked like this.
Line 9: Line 9:
Line 19: Line 20:
 * '''Solution by''':
   *

   * <Dr. A. W. Pangantiwar>, <Associate Professor in Physics>, <Govt. College of Engineering, KARAD - 415124. Dist. Satara>
 * '''Solution by''':
*<Dr. A. W. Pangantiwar>, <Associate Professor in Physics>, <Govt. College of Engineering, KARAD - 415124. Dist. Satara>
  • 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>

Strang-3.2-2 (last edited 2010-12-17 11:47:00 by 172)