22
22
* See the file ./license.txt
24
24
<refentry xmlns="http://docbook.org/ns/docbook" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns:svg="http://www.w3.org/2000/svg" xmlns:ns5="http://www.w3.org/1999/xhtml" xmlns:mml="http://www.w3.org/1998/Math/MathML" xmlns:db="http://docbook.org/ns/docbook" version="5.0-subset Scilab" xml:id="SQRT">
26
<refname>SQRT</refname>
27
<refpurpose>Square root</refpurpose>
30
<title>Block Screenshot</title>
34
<imagedata align="center" fileref="../../../../images/palettes/SQRT.png" valign="middle"/>
39
<refsection id="Contents_SQRT">
40
<title>Contents</title>
44
<link linkend="SQRT">Square root</link>
51
<xref linkend="Palette_SQRT">Palette</xref>
56
<xref linkend="Description_SQRT">Description</xref>
61
<xref linkend="Dialogbox_SQRT">Dialog box</xref>
66
<xref linkend="Defaultproperties_SQRT">Default properties</xref>
71
<xref linkend="Interfacingfunction_SQRT">Interfacing function</xref>
76
<xref linkend="Computationalfunction_SQRT">Computational function</xref>
81
<xref linkend="Seealso_SQRT">See also</xref>
88
<refsection id="Palette_SQRT">
89
<title>Palette</title>
93
<link linkend="Mathoperations_pal">Math operations palette</link>
98
<refsection id="Description_SQRT">
99
<title>Description</title>
101
This block computes the square root of each element of the input matrix. It support double
102
and complex data types (<emphasis role="bold">Datatype</emphasis> parameter).
105
<refsection id="Dialogbox_SQRT">
106
<title>Dialog box</title>
110
<imagedata align="center" fileref="../../../../images/gui/SQRT_gui.gif" valign="middle"/>
118
<emphasis role="bold">Datatype (1=real double 2=Complex)</emphasis>
121
It indicates the type of the output. It support only the two
122
types double (1) and complex (2). If we input another entry in this
123
label Xcos will print the message "Datatype is not supported".
125
<para>Properties : Type 'vec' of size 1.</para>
129
<refsection id="Defaultproperties_SQRT">
130
<title>Default properties</title>
134
<emphasis role="bold">always active:</emphasis> no
139
<emphasis role="bold">direct-feedthrough:</emphasis> yes
144
<emphasis role="bold">zero-crossing:</emphasis> no
149
<emphasis role="bold">mode:</emphasis> no
154
<emphasis role="bold">regular inputs:</emphasis>
157
<emphasis role="bold">- port 1 : size [-1,-2] / type 1</emphasis>
162
<emphasis role="bold">regular outputs:</emphasis>
165
<emphasis role="bold">- port 1 : size [-1,-2] / type 1</emphasis>
170
<emphasis role="bold">number/sizes of activation
178
<emphasis role="bold">number/sizes of activation
186
<emphasis role="bold">continuous-time state:</emphasis>
192
<emphasis role="bold">discrete-time state:</emphasis> no
197
<emphasis role="bold">object discrete-time state:</emphasis>
203
<emphasis role="bold">name of computational function:</emphasis>
204
<emphasis role="italic">mat_sqrt</emphasis>
209
<refsection id="Interfacingfunction_SQRT">
210
<title>Interfacing function</title>
213
<para>SCI/modules/scicos_blocks/macros/MatrixOp/SQRT.sci</para>
217
<refsection id="Computationalfunction_SQRT">
218
<title>Computational function</title>
221
<para>SCI/modules/scicos_blocks/src/c/mat_sqrt.c</para>
224
<para>SCI/modules/scicos_blocks/src/c/matz_sqrt.c</para>
228
<refsection id="Seealso_SQRT">
229
<title>See also</title>
233
<link linkend="POWBLK_f">POWBLK_f - Array power</link>
238
<link linkend="EXPBLK_m">EXPBLK_m - Exponential of a scalar (Bloc Xcos)</link>
243
<link linkend="LOGBLK_f">LOGBLK_m - Logarithm (Bloc Xcos)</link>
26
<refname>SQRT</refname>
27
<refpurpose>Square root</refpurpose>
30
<title>Block Screenshot</title>
34
<imagedata align="center" fileref="../../../../images/palettes/SQRT.png" valign="middle"/>
39
<refsection id="Contents_SQRT">
40
<title>Contents</title>
44
<link linkend="SQRT">Square root</link>
51
<xref linkend="Palette_SQRT">Palette</xref>
56
<xref linkend="Description_SQRT">Description</xref>
61
<xref linkend="Dialogbox_SQRT">Dialog box</xref>
66
<xref linkend="Defaultproperties_SQRT">Default properties</xref>
71
<xref linkend="Interfacingfunction_SQRT">Interfacing function</xref>
76
<xref linkend="Computationalfunction_SQRT">Computational function</xref>
81
<xref linkend="Seealso_SQRT">See also</xref>
88
<refsection id="Palette_SQRT">
89
<title>Palette</title>
93
<link linkend="Mathoperations_pal">Math operations palette</link>
98
<refsection id="Description_SQRT">
99
<title>Description</title>
101
This block computes the square root of each element of the input matrix. It support double
102
and complex data types (<emphasis role="bold">Datatype</emphasis> parameter).
105
<refsection id="Dialogbox_SQRT">
106
<title>Dialog box</title>
110
<imagedata align="center" fileref="../../../../images/gui/SQRT_gui.gif" valign="middle"/>
118
<emphasis role="bold">Datatype (1=real double 2=Complex)</emphasis>
121
It indicates the type of the output. It support only the two
122
types double (1) and complex (2). If we input another entry in this
123
label Xcos will print the message "Datatype is not supported".
125
<para>Properties : Type 'vec' of size 1.</para>
129
<refsection id="Defaultproperties_SQRT">
130
<title>Default properties</title>
134
<emphasis role="bold">always active:</emphasis> no
139
<emphasis role="bold">direct-feedthrough:</emphasis> yes
144
<emphasis role="bold">zero-crossing:</emphasis> no
149
<emphasis role="bold">mode:</emphasis> no
154
<emphasis role="bold">regular inputs:</emphasis>
157
<emphasis role="bold">- port 1 : size [-1,-2] / type 1</emphasis>
162
<emphasis role="bold">regular outputs:</emphasis>
165
<emphasis role="bold">- port 1 : size [-1,-2] / type 1</emphasis>
170
<emphasis role="bold">number/sizes of activation
178
<emphasis role="bold">number/sizes of activation
186
<emphasis role="bold">continuous-time state:</emphasis>
192
<emphasis role="bold">discrete-time state:</emphasis> no
197
<emphasis role="bold">object discrete-time state:</emphasis>
203
<emphasis role="bold">name of computational function:</emphasis>
204
<emphasis role="italic">mat_sqrt</emphasis>
209
<refsection id="Interfacingfunction_SQRT">
210
<title>Interfacing function</title>
213
<para>SCI/modules/scicos_blocks/macros/MatrixOp/SQRT.sci</para>
217
<refsection id="Computationalfunction_SQRT">
218
<title>Computational function</title>
221
<para>SCI/modules/scicos_blocks/src/c/mat_sqrt.c</para>
224
<para>SCI/modules/scicos_blocks/src/c/matz_sqrt.c</para>
228
<refsection id="Seealso_SQRT">
229
<title>See also</title>
233
<link linkend="POWBLK_f">POWBLK_f - Array power</link>
238
<link linkend="EXPBLK_m">EXPBLK_m - Exponential of a scalar (Bloc Xcos)</link>
243
<link linkend="LOGBLK_f">LOGBLK_m - Logarithm (Bloc Xcos)</link>