[187] | 1 | <?xml version='1.0' encoding='UTF-8' standalone='no'?> |
---|
| 2 | <doxygen xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="compound.xsd" version="1.5.6"> |
---|
| 3 | <compounddef id="blas__test2_8m" kind="file"> |
---|
| 4 | <compoundname>blas_test2.m</compoundname> |
---|
| 5 | <sectiondef kind="var"> |
---|
| 6 | <memberdef kind="variable" id="blas__test2_8m_1cc1e63b6f2c547c521a706fd48abf50f" prot="public" static="no" mutable="no"> |
---|
| 7 | <type>function test</type> |
---|
| 8 | <definition>function test et</definition> |
---|
| 9 | <argsstring></argsstring> |
---|
| 10 | <name>et</name> |
---|
| 11 | <initializer> zeros(1,4)</initializer> |
---|
| 12 | <briefdescription> |
---|
| 13 | </briefdescription> |
---|
| 14 | <detaileddescription> |
---|
| 15 | </detaileddescription> |
---|
| 16 | <inbodydescription> |
---|
| 17 | </inbodydescription> |
---|
| 18 | <location file="/home/smidl/work/mixpp/matlab/blas_test2.m" line="3" bodyfile="/home/smidl/work/mixpp/matlab/blas_test2.m" bodystart="3" bodyend="-1"/> |
---|
| 19 | </memberdef> |
---|
| 20 | <memberdef kind="variable" id="blas__test2_8m_15e767c53276c5ba0367f6ba64dc82f99" prot="public" static="no" mutable="no"> |
---|
| 21 | <type></type> |
---|
| 22 | <definition>etf</definition> |
---|
| 23 | <argsstring></argsstring> |
---|
| 24 | <name>etf</name> |
---|
| 25 | <initializer> zeros(1,4)</initializer> |
---|
| 26 | <briefdescription> |
---|
| 27 | </briefdescription> |
---|
| 28 | <detaileddescription> |
---|
| 29 | </detaileddescription> |
---|
| 30 | <inbodydescription> |
---|
| 31 | </inbodydescription> |
---|
| 32 | <location file="/home/smidl/work/mixpp/matlab/blas_test2.m" line="4" bodyfile="/home/smidl/work/mixpp/matlab/blas_test2.m" bodystart="4" bodyend="-1"/> |
---|
| 33 | </memberdef> |
---|
| 34 | <memberdef kind="variable" id="blas__test2_8m_1d53aeb78abc83a52ab8982f5c82a3d5b" prot="public" static="no" mutable="no"> |
---|
| 35 | <type></type> |
---|
| 36 | <definition>S</definition> |
---|
| 37 | <argsstring></argsstring> |
---|
| 38 | <name>S</name> |
---|
| 39 | <initializer>struct('A',2,'B',3*eye(100))</initializer> |
---|
| 40 | <briefdescription> |
---|
| 41 | </briefdescription> |
---|
| 42 | <detaileddescription> |
---|
| 43 | </detaileddescription> |
---|
| 44 | <inbodydescription> |
---|
| 45 | </inbodydescription> |
---|
| 46 | <location file="/home/smidl/work/mixpp/matlab/blas_test2.m" line="5" bodyfile="/home/smidl/work/mixpp/matlab/blas_test2.m" bodystart="5" bodyend="-1"/> |
---|
| 47 | </memberdef> |
---|
| 48 | <memberdef kind="variable" id="blas__test2_8m_1aa53ca0b650dfd85c4f59fa156f7a2cc" prot="public" static="no" mutable="no"> |
---|
| 49 | <type></type> |
---|
| 50 | <definition>C</definition> |
---|
| 51 | <argsstring></argsstring> |
---|
| 52 | <name>C</name> |
---|
| 53 | <initializer> {[2],[3]} |
---|
| 54 | |
---|
| 55 | vn = [1000 10000 100000]</initializer> |
---|
| 56 | <briefdescription> |
---|
| 57 | </briefdescription> |
---|
| 58 | <detaileddescription> |
---|
| 59 | </detaileddescription> |
---|
| 60 | <inbodydescription> |
---|
| 61 | </inbodydescription> |
---|
| 62 | <location file="/home/smidl/work/mixpp/matlab/blas_test2.m" line="8" bodyfile="/home/smidl/work/mixpp/matlab/blas_test2.m" bodystart="6" bodyend="-1"/> |
---|
| 63 | </memberdef> |
---|
| 64 | <memberdef kind="variable" id="blas__test2_8m_1c3100d653fe17cd5b26bd98491df5fed" prot="public" static="no" mutable="no"> |
---|
| 65 | <type></type> |
---|
| 66 | <definition>iind</definition> |
---|
| 67 | <argsstring></argsstring> |
---|
| 68 | <name>iind</name> |
---|
| 69 | <initializer>1</initializer> |
---|
| 70 | <briefdescription> |
---|
| 71 | </briefdescription> |
---|
| 72 | <detaileddescription> |
---|
| 73 | </detaileddescription> |
---|
| 74 | <inbodydescription> |
---|
| 75 | </inbodydescription> |
---|
| 76 | <location file="/home/smidl/work/mixpp/matlab/blas_test2.m" line="9" bodyfile="/home/smidl/work/mixpp/matlab/blas_test2.m" bodystart="9" bodyend="-1"/> |
---|
| 77 | </memberdef> |
---|
| 78 | <memberdef kind="variable" id="blas__test2_8m_1a52645c0ee282a748dee9b026b638478" prot="public" static="no" mutable="no"> |
---|
| 79 | <type>for</type> |
---|
| 80 | <definition>x n</definition> |
---|
| 81 | <argsstring></argsstring> |
---|
| 82 | <name>n</name> |
---|
| 83 | <initializer> vn |
---|
| 84 | S.A = 0</initializer> |
---|
| 85 | <briefdescription> |
---|
| 86 | </briefdescription> |
---|
| 87 | <detaileddescription> |
---|
| 88 | </detaileddescription> |
---|
| 89 | <inbodydescription> |
---|
| 90 | </inbodydescription> |
---|
| 91 | <location file="/home/smidl/work/mixpp/matlab/blas_test2.m" line="11" bodyfile="/home/smidl/work/mixpp/matlab/blas_test2.m" bodystart="10" bodyend="-1"/> |
---|
| 92 | </memberdef> |
---|
| 93 | <memberdef kind="variable" id="blas__test2_8m_1f6364c8177e92a378fa7fda86c61d4a8" prot="public" static="no" mutable="no"> |
---|
| 94 | <type>tic for</type> |
---|
| 95 | <definition>tic for i</definition> |
---|
| 96 | <argsstring></argsstring> |
---|
| 97 | <name>i</name> |
---|
| 98 | <initializer>1:n |
---|
| 99 | C{1} = C{1} + 1</initializer> |
---|
| 100 | <briefdescription> |
---|
| 101 | </briefdescription> |
---|
| 102 | <detaileddescription> |
---|
| 103 | </detaileddescription> |
---|
| 104 | <inbodydescription> |
---|
| 105 | </inbodydescription> |
---|
| 106 | <location file="/home/smidl/work/mixpp/matlab/blas_test2.m" line="14" bodyfile="/home/smidl/work/mixpp/matlab/blas_test2.m" bodystart="13" bodyend="-1"/> |
---|
| 107 | </memberdef> |
---|
| 108 | </sectiondef> |
---|
| 109 | <sectiondef kind="func"> |
---|
| 110 | <memberdef kind="function" id="blas__test2_8m_165a6326f95794ee282cd2a13b4986bfd" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 111 | <type>end</type> |
---|
| 112 | <definition>end et</definition> |
---|
| 113 | <argsstring>(iind)</argsstring> |
---|
| 114 | <name>et</name> |
---|
| 115 | <param> |
---|
| 116 | <type>iind</type> |
---|
| 117 | </param> |
---|
| 118 | <briefdescription> |
---|
| 119 | </briefdescription> |
---|
| 120 | <detaileddescription> |
---|
| 121 | </detaileddescription> |
---|
| 122 | <inbodydescription> |
---|
| 123 | </inbodydescription> |
---|
| 124 | <location file="/home/smidl/work/mixpp/matlab/blas_test2.m" line="16"/> |
---|
| 125 | </memberdef> |
---|
| 126 | <memberdef kind="function" id="blas__test2_8m_152605b8bfe9724f4910df2a68e7ac87d" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 127 | <type>end</type> |
---|
| 128 | <definition>end etf</definition> |
---|
| 129 | <argsstring>(iind)</argsstring> |
---|
| 130 | <name>etf</name> |
---|
| 131 | <param> |
---|
| 132 | <type>iind</type> |
---|
| 133 | </param> |
---|
| 134 | <briefdescription> |
---|
| 135 | </briefdescription> |
---|
| 136 | <detaileddescription> |
---|
| 137 | </detaileddescription> |
---|
| 138 | <inbodydescription> |
---|
| 139 | </inbodydescription> |
---|
| 140 | <location file="/home/smidl/work/mixpp/matlab/blas_test2.m" line="21"/> |
---|
| 141 | </memberdef> |
---|
| 142 | <memberdef kind="function" id="blas__test2_8m_1525ce07fd6e0bf2e31a809f3a5c8e421" prot="public" static="no" const="no" explicit="no" inline="no" virt="non-virtual"> |
---|
| 143 | <type>end et etf</type> |
---|
| 144 | <definition>end et etf et</definition> |
---|
| 145 | <argsstring>(1) function S</argsstring> |
---|
| 146 | <name>et</name> |
---|
| 147 | <param> |
---|
| 148 | <type>1</type> |
---|
| 149 | </param> |
---|
| 150 | <briefdescription> |
---|
| 151 | </briefdescription> |
---|
| 152 | <detaileddescription> |
---|
| 153 | </detaileddescription> |
---|
| 154 | <inbodydescription> |
---|
| 155 | </inbodydescription> |
---|
| 156 | <location file="/home/smidl/work/mixpp/matlab/blas_test2.m" line="30"/> |
---|
| 157 | </memberdef> |
---|
| 158 | </sectiondef> |
---|
| 159 | <briefdescription> |
---|
| 160 | </briefdescription> |
---|
| 161 | <detaileddescription> |
---|
| 162 | </detaileddescription> |
---|
| 163 | <programlisting> |
---|
| 164 | <codeline lineno="1"><highlight class="normal">function<sp/>test</highlight></codeline> |
---|
| 165 | <codeline lineno="2"><highlight class="normal"></highlight></codeline> |
---|
| 166 | <codeline lineno="3"><highlight class="normal">et<sp/>=<sp/>zeros(1,4);</highlight></codeline> |
---|
| 167 | <codeline lineno="4"><highlight class="normal">etf<sp/>=<sp/>zeros(1,4);</highlight></codeline> |
---|
| 168 | <codeline lineno="5"><highlight class="normal">S=</highlight><highlight class="keyword">struct</highlight><highlight class="normal">(</highlight><highlight class="charliteral">'A'</highlight><highlight class="normal">,2,</highlight><highlight class="charliteral">'B'</highlight><highlight class="normal">,3*eye(100));</highlight></codeline> |
---|
| 169 | <codeline lineno="6"><highlight class="normal">C<sp/>=<sp/>{,}</highlight></codeline> |
---|
| 170 | <codeline lineno="7"><highlight class="normal"></highlight></codeline> |
---|
| 171 | <codeline lineno="8"><highlight class="normal">vn<sp/>=<sp/>;</highlight></codeline> |
---|
| 172 | <codeline lineno="9"><highlight class="normal">iind=1;</highlight></codeline> |
---|
| 173 | <codeline lineno="10"><highlight class="normal"></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>n=<sp/>vn</highlight></codeline> |
---|
| 174 | <codeline lineno="11"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>S.A<sp/>=<sp/>0;</highlight></codeline> |
---|
| 175 | <codeline lineno="12"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>tic</highlight></codeline> |
---|
| 176 | <codeline lineno="13"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i=1:n</highlight></codeline> |
---|
| 177 | <codeline lineno="14"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>C{1}<sp/>=<sp/>C{1}<sp/>+<sp/>1;</highlight></codeline> |
---|
| 178 | <codeline lineno="15"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>end</highlight></codeline> |
---|
| 179 | <codeline lineno="16"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>et(iind)<sp/>=<sp/>toc;<sp/></highlight></codeline> |
---|
| 180 | <codeline lineno="17"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>tic</highlight></codeline> |
---|
| 181 | <codeline lineno="18"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/></highlight><highlight class="keywordflow">for</highlight><highlight class="normal"><sp/>i=1:n</highlight></codeline> |
---|
| 182 | <codeline lineno="19"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>S=aa(S);</highlight></codeline> |
---|
| 183 | <codeline lineno="20"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>end</highlight></codeline> |
---|
| 184 | <codeline lineno="21"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>etf(iind)<sp/>=<sp/>toc;<sp/></highlight></codeline> |
---|
| 185 | <codeline lineno="22"><highlight class="normal"><sp/><sp/><sp/><sp/><sp/><sp/><sp/><sp/>iind<sp/>=<sp/>iind+1;</highlight></codeline> |
---|
| 186 | <codeline lineno="23"><highlight class="normal">end</highlight></codeline> |
---|
| 187 | <codeline lineno="24"><highlight class="normal">et</highlight></codeline> |
---|
| 188 | <codeline lineno="25"><highlight class="normal">etf</highlight></codeline> |
---|
| 189 | <codeline lineno="26"><highlight class="normal"></highlight></codeline> |
---|
| 190 | <codeline lineno="27"><highlight class="normal">et(1)</highlight></codeline> |
---|
| 191 | <codeline lineno="28"><highlight class="normal"></highlight></codeline> |
---|
| 192 | <codeline lineno="29"><highlight class="normal">function<sp/>S=aa(S)</highlight></codeline> |
---|
| 193 | <codeline lineno="30"><highlight class="normal">S.A<sp/>=<sp/>S.A<sp/>+<sp/>1;</highlight></codeline> |
---|
| 194 | </programlisting> |
---|
| 195 | <location file="/home/smidl/work/mixpp/matlab/blas_test2.m"/> |
---|
| 196 | </compounddef> |
---|
| 197 | </doxygen> |
---|