Commit | Line | Data |
---|---|---|
7faf1d71 AW |
1 | <?xml version="1.0" encoding="UTF-8"?>\r |
2 | <!DOCTYPE book PUBLIC "-//OASIS//DTD DocBook MathML Module V1.1b1//EN"\r | |
3 | "http://www.oasis-open.org/docbook/xml/mathml/1.1CR1/dbmathml.dtd">\r | |
4 | <refentry id="matrixCompMult">\r | |
5 | <refmeta>\r | |
6 | <refmetainfo>\r | |
7 | <copyright>\r | |
8 | <year>2011</year>\r | |
9 | <holder>Khronos Group</holder>\r | |
10 | </copyright>\r | |
11 | </refmetainfo>\r | |
12 | <refentrytitle>matrixCompMult</refentrytitle>\r | |
13 | <manvolnum>3G</manvolnum>\r | |
14 | </refmeta>\r | |
15 | <refnamediv>\r | |
16 | <refname>matrixCompMult</refname>\r | |
17 | <refpurpose>perform a component-wise multiplication of two matrices</refpurpose>\r | |
18 | </refnamediv>\r | |
19 | <refsynopsisdiv><title>Declaration</title>\r | |
20 | <funcsynopsis>\r | |
21 | <funcprototype>\r | |
22 | <funcdef>mat <function>matrixCompMult</function></funcdef>\r | |
23 | <paramdef>mat <parameter>x</parameter></paramdef>\r | |
24 | <paramdef>mat <parameter>y</parameter></paramdef>\r | |
25 | </funcprototype>\r | |
26 | <funcprototype>\r | |
27 | <funcdef>dmat <function>matrixCompMult</function></funcdef>\r | |
28 | <paramdef>dmat <parameter>x</parameter></paramdef>\r | |
29 | <paramdef>dmat <parameter>y</parameter></paramdef>\r | |
30 | </funcprototype>\r | |
31 | </funcsynopsis>\r | |
32 | </refsynopsisdiv>\r | |
33 | <refsect1 id="parameters"><title>Parameters</title>\r | |
34 | <variablelist>\r | |
35 | <varlistentry>\r | |
36 | <term><parameter>x</parameter></term>\r | |
37 | <listitem>\r | |
38 | <para>\r | |
39 | Specifies the first matrix multiplicand.\r | |
40 | </para>\r | |
41 | </listitem>\r | |
42 | </varlistentry>\r | |
43 | <varlistentry>\r | |
44 | <term><parameter>y</parameter></term>\r | |
45 | <listitem>\r | |
46 | <para>\r | |
47 | Specifies the second matrix multiplicand.\r | |
48 | </para>\r | |
49 | </listitem>\r | |
50 | </varlistentry>\r | |
51 | </variablelist>\r | |
52 | </refsect1>\r | |
53 | <refsect1 id="description"><title>Description</title>\r | |
54 | <para>\r | |
55 | <function>matrixCompMult</function> performs a component-wise multiplication of two\r | |
56 | matrices, yielding a result matrix where each component, <code>result[i][j]</code> is\r | |
57 | computed as the scalar product of <code><parameter>x</parameter>[i][j]</code> and\r | |
58 | <code><parameter>y</parameter>[i][j]</code>.\r | |
59 | </para>\r | |
60 | </refsect1>\r | |
61 | <refsect1 id="versions"><title>Version Support</title>\r | |
62 | <informaltable frame="topbot">\r | |
63 | #VARTABLECOLS#\r | |
64 | <thead>\r | |
65 | #FUNCTABLEHEADER#\r | |
66 | <row>\r | |
67 | <entry>matrixCompMult (genType)</entry>#newin11#\r | |
68 | </row>\r | |
69 | <row>\r | |
70 | <entry>matrixCompMult (genDType)</entry>#newin40#\r | |
71 | </row>\r | |
72 | </thead>\r | |
73 | </tgroup>\r | |
74 | </informaltable>\r | |
75 | </refsect1>\r | |
76 | <refsect1 id="seealso"><title>See Also</title>\r | |
77 | <para>\r | |
78 | <citerefentry><refentrytitle>dot</refentrytitle></citerefentry>,\r | |
79 | <citerefentry><refentrytitle>reflect</refentrytitle></citerefentry>\r | |
80 | </para>\r | |
81 | </refsect1>\r | |
82 | <refsect1 id="Copyright"><title>Copyright</title>\r | |
83 | <para>\r | |
84 | Copyright <trademark class="copyright"></trademark> 2011 Khronos Group. \r | |
85 | This material may be distributed subject to the terms and conditions set forth in \r | |
86 | the Open Publication License, v 1.0, 8 June 1999.\r | |
87 | <ulink url="http://opencontent.org/openpub/">http://opencontent.org/openpub/</ulink>.\r | |
88 | </para>\r | |
89 | </refsect1>\r | |
90 | </refentry>\r |