Mercurial > hg > aimc
view branches/carfac_cpp/src/unit_conversion.cpp @ 679:594b410c2aed
Sixth revision of Alex Brandmeyer's C++ implementation. Only small changes in response to Lyon's comments from r285. Note: I tried to use a consistent indentation with two spaces, but also preserving parenthetical structure to make reading the longer equations easier. Please advise if this is OK. Additional documentation and tests with non-standard parameter sets will be added in a subsequent revision.
author | alexbrandmeyer |
---|---|
date | Tue, 28 May 2013 15:54:54 +0000 |
parents | d59c0d65624b |
children |
line wrap: on
line source
#include "unit_conversion.h" float ERB_Hz(float cf_hz, float erb_break_freq, float erb_q){ return (erb_break_freq + cf_hz) / erb_q; }