User Tools

Site Tools


cs401r_w2016:lab10

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
cs401r_w2016:lab10 [2018/04/02 09:21]
sadler [Deliverable:]
cs401r_w2016:lab10 [2018/04/02 09:50] (current)
sadler [Description:]
Line 47: Line 47:
 import numpy as np import numpy as np
 def p( x, temperature=1.0 ): def p( x, temperature=1.0 ):
-    return np.exp( -10*t*((x-2)**2) ) + 0.3*np.exp( -0.5*10*temperature*((x+1)**2) )+    return np.exp( -10*temperature*((x-2)**2) ) + 0.3*np.exp( -0.5*10*temperature*((x+1)**2) )
 </​code>​ </​code>​
  
cs401r_w2016/lab10.txt ยท Last modified: 2018/04/02 09:50 by sadler