- Timestamp:
- May 11, 2016, 7:06:08 AM (9 years ago)
- Branches:
- feature/autosink, feature/cnn, feature/cnn_org, feature/constantq, feature/crepe, feature/crepe_org, feature/pitchshift, feature/pydocstrings, feature/timestretch, fix/ffmpeg5, master, pitchshift, sampler, timestretch, yinfft+
- Children:
- b96a7b8
- Parents:
- 1ad9dc3
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
python/tests/test_fvec.py
r1ad9dc3 r0df6e9e 62 62 self.assertEqual (alpha_norm(a, 1), 1) 63 63 a = array([0, 1], dtype=float_type) 64 from math import sqrt 65 assert_almost_equal (alpha_norm(a, 2), sqrt(2)/2.) 64 assert_almost_equal (alpha_norm(a, 2), .5*2.**.5) 66 65 67 66 def test_alpha_norm_of_none(self):
Note: See TracChangeset
for help on using the changeset viewer.