Skip to content

Commit

Permalink
Unix style end of line
Browse files Browse the repository at this point in the history
  • Loading branch information
fggp committed Apr 22, 2017
1 parent ae5161a commit a5f6dd6
Show file tree
Hide file tree
Showing 4 changed files with 208 additions and 222 deletions.
106 changes: 52 additions & 54 deletions opcodes/dot.xml
@@ -1,54 +1,52 @@

<refentry id="dot">
<indexterm id="IndexDot"><primary>dot</primary></indexterm>
<refentryinfo><title>Array Operations: dot product </title></refentryinfo>
<refmeta>
<refentrytitle>dot</refentrytitle>
</refmeta>
<refnamediv>
<refname>dot</refname>

<refpurpose>
Calculates the dot product of two arrays.
</refpurpose>
</refnamediv>

<refsect1>
<title>Description</title>
<para>
Takes twp numeric arrays (k or i-rate) and calculates the dot product.
</para>
</refsect1>

<refsect1>
<title>Syntax</title>
<synopsis>kres/ires<command>dot</command> karr1[]/iarr1[], karr2[]/iarr2[] (k- or i-arrays )</synopsis>
</refsect1>

<refsect1>
<title>Examples</title>
<para>
Here is an example of the dot opcode. It uses the file <ulink url="examples/dot.csd"><citetitle>dota.csd</citetitle></ulink>.

<example>
<title>Example of the dot opcode.</title>
<para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
<xi:include href="examples-xml/dot.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</example>
</para>
</refsect1>

<refsect1>
<title>See Also</title>
<para>
<link linkend="sumarray"><citetitle>sumarray</citetitle></link>
<link linkend="productarray"><citetitle>product</citetitle></link>
</para>
</refsect1>

<refsect1>
<title>Credits</title>
<para>Author: Victor Lazzarini</para>
<para>New in version 6.09</para>
</refsect1>
</refentry>

<refentry id="dot">
<indexterm id="IndexDot"><primary>dot</primary></indexterm>
<refentryinfo><title>Array Operations: dot product </title></refentryinfo>
<refmeta>
<refentrytitle>dot</refentrytitle>
</refmeta>
<refnamediv>
<refname>dot</refname>
<refpurpose>
Calculates the dot product of two arrays.
</refpurpose>
</refnamediv>

<refsect1>
<title>Description</title>
<para>
Takes two numeric arrays (k or i-rate) and calculates the dot product.
</para>
</refsect1>

<refsect1>
<title>Syntax</title>
<synopsis>kres/ires<command>dot</command> karr1[]/iarr1[], karr2[]/iarr2[] (k- or i-arrays )</synopsis>
</refsect1>

<refsect1>
<title>Examples</title>
<para>
Here is an example of the dot opcode. It uses the file <ulink url="examples/dot.csd"><citetitle>dota.csd</citetitle></ulink>.
<example>
<title>Example of the dot opcode.</title>
<para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
<xi:include href="examples-xml/dot.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</example>
</para>
</refsect1>

<refsect1>
<title>See Also</title>
<para>
<link linkend="sumarray"><citetitle>sumarray</citetitle></link>
<link linkend="productarray"><citetitle>product</citetitle></link>
</para>
</refsect1>

<refsect1>
<title>Credits</title>
<para>Author: Victor Lazzarini</para>
<para>New in version 6.09</para>
</refsect1>
</refentry>
106 changes: 52 additions & 54 deletions opcodes/productarray.xml
@@ -1,54 +1,52 @@

<refentry id="productarray">
<indexterm id="IndexProductArray"><primary>product</primary></indexterm>
<refentryinfo><title>Array Operations: product </title></refentryinfo>
<refmeta>
<refentrytitle>product</refentrytitle>
</refmeta>
<refnamediv>
<refname>product</refname>

<refpurpose>
Calculates the product of an array.
</refpurpose>
</refnamediv>

<refsect1>
<title>Description</title>
<para>
Takes a numeric array (k or i-rate) and calculates its product.
</para>
</refsect1>

<refsect1>
<title>Syntax</title>
<synopsis>kres/ires<command>product</command> karr[]/iarr[] (k- or i-arrays )</synopsis>
</refsect1>

<refsect1>
<title>Examples</title>
<para>
Here is an example of the product opcode. It uses the file <ulink url="examples/productarray.csd"><citetitle>producta.csd</citetitle></ulink>.

<example>
<title>Example of the product opcode.</title>
<para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
<xi:include href="examples-xml/productarray.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</example>
</para>
</refsect1>

<refsect1>
<title>See Also</title>
<para>
<link linkend="dot"><citetitle>dot</citetitle></link>
<link linkend="sumarray"><citetitle>sumarray</citetitle></link>
</para>
</refsect1>

<refsect1>
<title>Credits</title>
<para>Author: Victor Lazzarini</para>
<para>New in version 6.09</para>
</refsect1>
</refentry>

<refentry id="productarray">
<indexterm id="IndexProductArray"><primary>product</primary></indexterm>
<refentryinfo><title>Array Operations: product </title></refentryinfo>
<refmeta>
<refentrytitle>product</refentrytitle>
</refmeta>
<refnamediv>
<refname>product</refname>
<refpurpose>
Calculates the product of an array.
</refpurpose>
</refnamediv>

<refsect1>
<title>Description</title>
<para>
Takes a numeric array (k or i-rate) and calculates its product.
</para>
</refsect1>

<refsect1>
<title>Syntax</title>
<synopsis>kres/ires<command>product</command> karr[]/iarr[] (k- or i-arrays )</synopsis>
</refsect1>

<refsect1>
<title>Examples</title>
<para>
Here is an example of the product opcode. It uses the file <ulink url="examples/productarray.csd"><citetitle>producta.csd</citetitle></ulink>.
<example>
<title>Example of the product opcode.</title>
<para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
<xi:include href="examples-xml/productarray.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</example>
</para>
</refsect1>

<refsect1>
<title>See Also</title>
<para>
<link linkend="dot"><citetitle>dot</citetitle></link>
<link linkend="sumarray"><citetitle>sumarray</citetitle></link>
</para>
</refsect1>

<refsect1>
<title>Credits</title>
<para>Author: Victor Lazzarini</para>
<para>New in version 6.09</para>
</refsect1>
</refentry>
109 changes: 52 additions & 57 deletions opcodes/sorta.xml
@@ -1,57 +1,52 @@

<refentry id="sorta">
<indexterm id="IndexSorta"><primary>sorta</primary></indexterm>
<refentryinfo><title>Array Operations: sorting</title></refentryinfo>
<refmeta>
<refentrytitle>sorta</refentrytitle>
</refmeta>



<refnamediv>
<refname>sorta</refname>

<refpurpose>
Sorts an array in ascending order.
</refpurpose>
</refnamediv>

<refsect1>
<title>Description</title>
<para>
Takes a numeric array (k or i-rate) and returns it sorted in
ascending order.
</para>
</refsect1>

<refsect1>
<title>Syntax</title>
<synopsis>k/i[]<command>sorta</command> k/i[] (k- or i-arrays )</synopsis>
</refsect1>

<refsect1>
<title>Examples</title>
<para>
Here is an example of the sorta opcode. It uses the file <ulink url="examples/sorta.csd"><citetitle>sorta.csd</citetitle></ulink>.

<example>
<title>Example of the sorta opcode.</title>
<para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
<xi:include href="examples-xml/sorta.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</example>
</para>
</refsect1>

<refsect1>
<title>See Also</title>
<para>
<link linkend="sortd"><citetitle>sortd</citetitle></link>
</para>
</refsect1>

<refsect1>
<title>Credits</title>
<para>Author: Victor Lazzarini</para>
<para>New in version 6.09</para>
</refsect1>
</refentry>

<refentry id="sorta">
<indexterm id="IndexSorta"><primary>sorta</primary></indexterm>
<refentryinfo><title>Array Operations: sorting</title></refentryinfo>
<refmeta>
<refentrytitle>sorta</refentrytitle>
</refmeta>
<refnamediv>
<refname>sorta</refname>
<refpurpose>
Sorts an array in ascending order.
</refpurpose>
</refnamediv>

<refsect1>
<title>Description</title>
<para>
Takes a numeric array (k or i-rate) and returns it sorted in
ascending order.
</para>
</refsect1>

<refsect1>
<title>Syntax</title>
<synopsis>k/i[]<command>sorta</command> k/i[] (k- or i-arrays )</synopsis>
</refsect1>

<refsect1>
<title>Examples</title>
<para>
Here is an example of the sorta opcode. It uses the file <ulink url="examples/sorta.csd"><citetitle>sorta.csd</citetitle></ulink>.
<example>
<title>Example of the sorta opcode.</title>
<para>See the sections <link linkend="UsingRealTime"><citetitle>Real-time Audio</citetitle></link> and <link linkend="CommandFlags"><citetitle>Command Line Flags</citetitle></link> for more information on using command line flags.</para>
<xi:include href="examples-xml/sorta.csd.xml" xmlns:xi="http://www.w3.org/2001/XInclude"/>
</example>
</para>
</refsect1>

<refsect1>
<title>See Also</title>
<para>
<link linkend="sortd"><citetitle>sortd</citetitle></link>
</para>
</refsect1>

<refsect1>
<title>Credits</title>
<para>Author: Victor Lazzarini</para>
<para>New in version 6.09</para>
</refsect1>
</refentry>

0 comments on commit a5f6dd6

Please sign in to comment.