summaryrefslogtreecommitdiff
path: root/grc/blocks/gr_transcendental.xml
blob: eede447f98a221689531e604ff2145a8e391b8a2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
<?xml version="1.0"?>
<!--
###################################################
##transcendental functions
###################################################
 -->
<block>
	<name>Transcendental</name>
	<key>gr_transcendental</key>
	<import>from gnuradio import gr</import>
	<make>gr.transcendental($name, "$type")</make>
	<param>
		<name>Type</name>
		<key>type</key>
		<type>enum</type>
		<option>
			<name>Complex</name>
			<key>complex_double</key>
			<opt>type:complex</opt>
		</option>
		<option>
			<name>Float</name>
			<key>float</key>
			<opt>type:float</opt>
		</option>
	</param>
	<param>
		<name>Function Name</name>
		<key>name</key>
		<value>cos</value>
		<type>string</type>
	</param>
	<sink>
		<name>in</name>
		<type>$type.type</type>
	</sink>
	<source>
		<name>out</name>
		<type>$type.type</type>
	</source>
</block>