| 1 |
<!DOCTYPE refentry [ <!ENTITY % mathent SYSTEM "math.ent"> %mathent; ]> |
| 2 |
|
| 3 |
|
| 4 |
|
| 5 |
<refentry xmlns="http://docbook.org/ns/docbook" version="5.0" xml:id="greaterThan"> |
| 6 |
<info> |
| 7 |
<copyright> |
| 8 |
<year>2011-2014</year> |
| 9 |
<holder>Khronos Group</holder> |
| 10 |
</copyright> |
| 11 |
</info> |
| 12 |
<refmeta> |
| 13 |
<refentrytitle>greaterThan</refentrytitle> |
| 14 |
<manvolnum>3G</manvolnum> |
| 15 |
</refmeta> |
| 16 |
<refnamediv> |
| 17 |
<refname>greaterThan</refname> |
| 18 |
<refpurpose>perform a component-wise greater-than comparison of two vectors</refpurpose> |
| 19 |
</refnamediv> |
| 20 |
<refsynopsisdiv><title>Declaration</title> |
| 21 |
<funcsynopsis> |
| 22 |
<funcprototype> |
| 23 |
<funcdef>bvec <function>greaterThan</function></funcdef> |
| 24 |
<paramdef>vec <parameter>x</parameter></paramdef> |
| 25 |
<paramdef>vec <parameter>y</parameter></paramdef> |
| 26 |
</funcprototype> |
| 27 |
<funcprototype> |
| 28 |
<funcdef>bvec <function>greaterThan</function></funcdef> |
| 29 |
<paramdef>ivec <parameter>x</parameter></paramdef> |
| 30 |
<paramdef>ivec <parameter>y</parameter></paramdef> |
| 31 |
</funcprototype> |
| 32 |
<funcprototype> |
| 33 |
<funcdef>bvec <function>greaterThan</function></funcdef> |
| 34 |
<paramdef>uvec <parameter>x</parameter></paramdef> |
| 35 |
<paramdef>uvec <parameter>y</parameter></paramdef> |
| 36 |
</funcprototype> |
| 37 |
</funcsynopsis> |
| 38 |
</refsynopsisdiv> |
| 39 |
<refsect1 xml:id="parameters"><title>Parameters</title> |
| 40 |
<variablelist> |
| 41 |
<varlistentry> |
| 42 |
<term><parameter>x</parameter></term> |
| 43 |
<listitem> |
| 44 |
<para> |
| 45 |
Specifies the first vector to be used in the comparison operation. |
| 46 |
</para> |
| 47 |
</listitem> |
| 48 |
</varlistentry> |
| 49 |
<varlistentry> |
| 50 |
<term><parameter>y</parameter></term> |
| 51 |
<listitem> |
| 52 |
<para> |
| 53 |
Specifies the second vector to be used in the comparison operation. |
| 54 |
</para> |
| 55 |
</listitem> |
| 56 |
</varlistentry> |
| 57 |
</variablelist> |
| 58 |
</refsect1> |
| 59 |
<refsect1 xml:id="description"><title>Description</title> |
| 60 |
<para> |
| 61 |
<function>greaterThan</function> returns a boolean vector in which each element <emphasis>i</emphasis> is computed |
| 62 |
as <parameter>x</parameter>[<emphasis>i</emphasis>] > <parameter>y</parameter>[<emphasis>i</emphasis>]. |
| 63 |
</para> |
| 64 |
</refsect1> |
| 65 |
<refsect1 xml:id="versions"><title>Version Support</title> |
| 66 |
<informaltable> |
| 67 |
<tgroup cols="13" align="left"> |
| 68 |
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="funchead.xml" xpointer="xpointer(/*/*)"/> |
| 69 |
<tbody> |
| 70 |
<row> |
| 71 |
<entry>greaterThan (vec)</entry> |
| 72 |
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="version.xml" xpointer="xpointer(/*/*[@role='11']/*)"/> |
| 73 |
</row> |
| 74 |
<row> |
| 75 |
<entry>greaterThan (ivec)</entry> |
| 76 |
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="version.xml" xpointer="xpointer(/*/*[@role='11']/*)"/> |
| 77 |
</row> |
| 78 |
<row> |
| 79 |
<entry>greaterThan (uvec)</entry> |
| 80 |
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="version.xml" xpointer="xpointer(/*/*[@role='13']/*)"/> |
| 81 |
</row> |
| 82 |
</tbody> |
| 83 |
</tgroup> |
| 84 |
</informaltable> |
| 85 |
</refsect1> |
| 86 |
<refsect1 xml:id="seealso"><title>See Also</title> |
| 87 |
<para> |
| 88 |
<citerefentry><refentrytitle>lessThan</refentrytitle></citerefentry>, |
| 89 |
<citerefentry><refentrytitle>lessThanEqual</refentrytitle></citerefentry>, |
| 90 |
<citerefentry><refentrytitle>greaterThanEqual</refentrytitle></citerefentry>, |
| 91 |
<citerefentry><refentrytitle>equal</refentrytitle></citerefentry>, |
| 92 |
<citerefentry><refentrytitle>notEqual</refentrytitle></citerefentry>, |
| 93 |
<citerefentry><refentrytitle>any</refentrytitle></citerefentry>, |
| 94 |
<citerefentry><refentrytitle>all</refentrytitle></citerefentry>, |
| 95 |
<citerefentry><refentrytitle>not</refentrytitle></citerefentry> |
| 96 |
</para> |
| 97 |
</refsect1> |
| 98 |
<refsect1 xml:id="Copyright"><title>Copyright</title> |
| 99 |
<para> |
| 100 |
Copyright <trademark class="copyright"/> 2011-2014 Khronos Group. |
| 101 |
This material may be distributed subject to the terms and conditions set forth in |
| 102 |
the Open Publication License, v 1.0, 8 June 1999. |
| 103 |
<link xmlns:xlink="http://www.w3.org/1999/xlink" xlink:href="http://opencontent.org/openpub/">http://opencontent.org/openpub/</link>. |
| 104 |
</para> |
| 105 |
</refsect1> |
| 106 |
</refentry> |