Changeset 7035 for branches/numpy/anuga/utilities/numerical_tools.py
- Timestamp:
- May 14, 2009, 2:24:54 PM (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
branches/numpy/anuga/utilities/numerical_tools.py
r6462 r7035 83 83 # Compute angle 84 84 p = num.inner(v1, v2) 85 c = num.inner(v1, normal_vector(v2)) # Projection onto normal85 c = num.inner(v1, normal_vector(v2)) # Projection onto normal 86 86 # (negative cross product) 87 87 … … 238 238 def ensure_numeric(A, typecode=None): 239 239 """Ensure that sequence is a numeric array. 240 240 241 Inputs: 241 242 A: Sequence. If A is already a numeric array it will be returned
Note: See TracChangeset
for help on using the changeset viewer.