summaryrefslogtreecommitdiff
path: root/gr-blocks/include/gnuradio/blocks/nlog10_ff.h
diff options
context:
space:
mode:
Diffstat (limited to 'gr-blocks/include/gnuradio/blocks/nlog10_ff.h')
-rw-r--r--gr-blocks/include/gnuradio/blocks/nlog10_ff.h37
1 files changed, 18 insertions, 19 deletions
diff --git a/gr-blocks/include/gnuradio/blocks/nlog10_ff.h b/gr-blocks/include/gnuradio/blocks/nlog10_ff.h
index e5f7d7bc2a..55bd275a3c 100644
--- a/gr-blocks/include/gnuradio/blocks/nlog10_ff.h
+++ b/gr-blocks/include/gnuradio/blocks/nlog10_ff.h
@@ -27,29 +27,28 @@
#include <gnuradio/sync_block.h>
namespace gr {
- namespace blocks {
+namespace blocks {
+
+/*!
+ * \brief output = n*log10(input) + k
+ * \ingroup math_operators_blk
+ */
+class BLOCKS_API nlog10_ff : virtual public sync_block
+{
+public:
+ // gr::blocks::nlog10_ff::sptr
+ typedef boost::shared_ptr<nlog10_ff> sptr;
/*!
- * \brief output = n*log10(input) + k
- * \ingroup math_operators_blk
+ * \brief Make an instance of an nlog10_ff block.
+ * \param n Scalar multiplicative constant
+ * \param vlen Input vector length
+ * \param k Scalar additive constant
*/
- class BLOCKS_API nlog10_ff : virtual public sync_block
- {
- public:
-
- // gr::blocks::nlog10_ff::sptr
- typedef boost::shared_ptr<nlog10_ff> sptr;
-
- /*!
- * \brief Make an instance of an nlog10_ff block.
- * \param n Scalar multiplicative constant
- * \param vlen Input vector length
- * \param k Scalar additive constant
- */
- static sptr make(float n=1.0, size_t vlen=1, float k=0.0);
- };
+ static sptr make(float n = 1.0, size_t vlen = 1, float k = 0.0);
+};
- } /* namespace blocks */
+} /* namespace blocks */
} /* namespace gr */
#endif /* INCLUDED_BLOCKS_NLOG10_FF_H */