Changeset 339
- Timestamp:
- Sep 22, 2004, 2:20:05 PM (20 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
inundation/ga/storm_surge/pyvolution/least_squares.py
r338 r339 111 111 if point_coordinates: 112 112 self.build_interpolation_matrix_A(point_coordinates) 113 114 self.B = self.AtA + self.alpha*self.D 115 else: 116 self.B = self.D 113 AtA = dot(self.At, self.A) 114 self.B = AtA + self.alpha*self.D 117 115 118 116 … … 174 172 175 173 176 #Precompute shorthands174 #Precompute 177 175 self.At = transpose(self.A) 178 self.AtA = dot(self.At, self.A)179 176 180 177 … … 355 352 z = [z1, z2, z3] 356 353 357 f = smooth_attributes_to_mesh(vertex_coordinates,354 f = fit_to_mesh(vertex_coordinates, 358 355 triangles, 359 356 data_coords,
Note: See TracChangeset
for help on using the changeset viewer.