| <!-- HTML header for doxygen 1.8.4--> |
| <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> |
| <html xmlns="http://www.w3.org/1999/xhtml"> |
| <head> |
| <meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/> |
| <meta http-equiv="X-UA-Compatible" content="IE=9"/> |
| <meta name="generator" content="Doxygen 1.8.4"/> |
| <meta name="keywords" content="madlib,postgres,greenplum,machine learning,data mining,deep learning,ensemble methods,data science,market basket analysis,affinity analysis,pca,lda,regression,elastic net,huber white,proportional hazards,k-means,latent dirichlet allocation,bayes,support vector machines,svm"/> |
| <title>MADlib: matrix_op.sql_in File Reference</title> |
| <link href="tabs.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="jquery.js"></script> |
| <script type="text/javascript" src="dynsections.js"></script> |
| <link href="navtree.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="resize.js"></script> |
| <script type="text/javascript" src="navtree.js"></script> |
| <script type="text/javascript"> |
| $(document).ready(initResizable); |
| $(window).load(resizeHeight); |
| </script> |
| <link href="search/search.css" rel="stylesheet" type="text/css"/> |
| <script type="text/javascript" src="search/search.js"></script> |
| <script type="text/javascript"> |
| $(document).ready(function() { searchBox.OnSelectItem(0); }); |
| </script> |
| <script type="text/x-mathjax-config"> |
| MathJax.Hub.Config({ |
| extensions: ["tex2jax.js", "TeX/AMSmath.js", "TeX/AMSsymbols.js"], |
| jax: ["input/TeX","output/HTML-CSS"], |
| }); |
| </script><script src="../mathjax/MathJax.js"></script> |
| <link href="doxygen.css" rel="stylesheet" type="text/css" /> |
| <link href="madlib_extra.css" rel="stylesheet" type="text/css"/> |
| <!-- google analytics --> |
| <script> |
| (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){ |
| (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o), |
| m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m) |
| })(window,document,'script','//www.google-analytics.com/analytics.js','ga'); |
| ga('create', 'UA-45382226-1', 'auto'); |
| ga('send', 'pageview'); |
| </script> |
| </head> |
| <body> |
| <div id="top"><!-- do not remove this div, it is closed by doxygen! --> |
| <div id="titlearea"> |
| <table cellspacing="0" cellpadding="0"> |
| <tbody> |
| <tr style="height: 56px;"> |
| <td id="projectlogo"><a href="http://madlib.incubator.apache.org"><img alt="Logo" src="madlib.png" height="50" style="padding-left:0.5em;" border="0"/ ></a></td> |
| <td style="padding-left: 0.5em;"> |
| <div id="projectname"> |
| <span id="projectnumber">1.7.1</span> <span style="font-size:10pt; font-style:italic"><a href="../latest/./matrix__op_8sql__in.html"> A newer version is available</a></span> |
| </div> |
| <div id="projectbrief">User Documentation</div> |
| </td> |
| <td> <div id="MSearchBox" class="MSearchBoxInactive"> |
| <span class="left"> |
| <img id="MSearchSelect" src="search/mag_sel.png" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| alt=""/> |
| <input type="text" id="MSearchField" value="Search" accesskey="S" |
| onfocus="searchBox.OnSearchFieldFocus(true)" |
| onblur="searchBox.OnSearchFieldFocus(false)" |
| onkeyup="searchBox.OnSearchFieldChange(event)"/> |
| </span><span class="right"> |
| <a id="MSearchClose" href="javascript:searchBox.CloseResultsWindow()"><img id="MSearchCloseImg" border="0" src="search/close.png" alt=""/></a> |
| </span> |
| </div> |
| </td> |
| </tr> |
| </tbody> |
| </table> |
| </div> |
| <!-- end header part --> |
| <!-- Generated by Doxygen 1.8.4 --> |
| <script type="text/javascript"> |
| var searchBox = new SearchBox("searchBox", "search",false,'Search'); |
| </script> |
| </div><!-- top --> |
| <div id="side-nav" class="ui-resizable side-nav-resizable"> |
| <div id="nav-tree"> |
| <div id="nav-tree-contents"> |
| <div id="nav-sync" class="sync"></div> |
| </div> |
| </div> |
| <div id="splitbar" style="-moz-user-select:none;" |
| class="ui-resizable-handle"> |
| </div> |
| </div> |
| <script type="text/javascript"> |
| $(document).ready(function(){initNavTree('matrix__op_8sql__in.html','');}); |
| </script> |
| <div id="doc-content"> |
| <!-- window showing the filter options --> |
| <div id="MSearchSelectWindow" |
| onmouseover="return searchBox.OnSearchSelectShow()" |
| onmouseout="return searchBox.OnSearchSelectHide()" |
| onkeydown="return searchBox.OnSearchSelectKey(event)"> |
| <a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(0)"><span class="SelectionMark"> </span>All</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(1)"><span class="SelectionMark"> </span>Files</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(2)"><span class="SelectionMark"> </span>Functions</a><a class="SelectItem" href="javascript:void(0)" onclick="searchBox.OnSelectItem(3)"><span class="SelectionMark"> </span>Groups</a></div> |
| |
| <!-- iframe showing the search results (closed by default) --> |
| <div id="MSearchResultsWindow"> |
| <iframe src="javascript:void(0)" frameborder="0" |
| name="MSearchResults" id="MSearchResults"> |
| </iframe> |
| </div> |
| |
| <div class="header"> |
| <div class="summary"> |
| <a href="#func-members">Functions</a> </div> |
| <div class="headertitle"> |
| <div class="title">matrix_op.sql_in File Reference</div> </div> |
| </div><!--header--> |
| <div class="contents"> |
| <table class="memberdecls"> |
| <tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a> |
| Functions</h2></td></tr> |
| <tr class="memitem:a716158fc895763243a9b222733cbdd9a"><td class="memItemLeft" align="right" valign="top">matrix_result </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#a716158fc895763243a9b222733cbdd9a">matrix_mult</a> (text matrix_a, text a_row, text a_col, text a_val, boolean a_trans, text matrix_b, text b_row, text b_col, text b_val, boolean b_trans, text matrix_r)</td></tr> |
| <tr class="separator:a716158fc895763243a9b222733cbdd9a"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:acd70c3e9b5d081aa743c9aa746eaf273"><td class="memItemLeft" align="right" valign="top">matrix_result </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#acd70c3e9b5d081aa743c9aa746eaf273">matrix_mult</a> (text matrix_a, boolean a_trans, text matrix_b, boolean b_trans, text matrix_r)</td></tr> |
| <tr class="separator:acd70c3e9b5d081aa743c9aa746eaf273"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a2569d504e2f91bb4ab84ef483c3eb806"><td class="memItemLeft" align="right" valign="top">matrix_result </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#a2569d504e2f91bb4ab84ef483c3eb806">matrix_block_mult</a> (text matrix_a, text matrix_b, text matrix_r)</td></tr> |
| <tr class="separator:a2569d504e2f91bb4ab84ef483c3eb806"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a1099e22b2ed3cd995a858827a8efd6e2"><td class="memItemLeft" align="right" valign="top">matrix_result </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#a1099e22b2ed3cd995a858827a8efd6e2">matrix_block_square</a> (text matrix_in, text matrix_out)</td></tr> |
| <tr class="separator:a1099e22b2ed3cd995a858827a8efd6e2"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a18208524dce36a0e1a3cd4f3d4699d7d"><td class="memItemLeft" align="right" valign="top">matrix_result </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#a18208524dce36a0e1a3cd4f3d4699d7d">matrix_block_trans</a> (text matrix_in, text matrix_out, boolean use_temp_table)</td></tr> |
| <tr class="separator:a18208524dce36a0e1a3cd4f3d4699d7d"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ac375bfae0a288546c46f858669379118"><td class="memItemLeft" align="right" valign="top">matrix_result </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#ac375bfae0a288546c46f858669379118">matrix_block_trans</a> (text matrix_in, text matrix_out)</td></tr> |
| <tr class="separator:ac375bfae0a288546c46f858669379118"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a1cd4cba697f163a4e2ec2fe2ca0c8f46"><td class="memItemLeft" align="right" valign="top">matrix_result </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#a1cd4cba697f163a4e2ec2fe2ca0c8f46">matrix_square</a> (text matrix_in, text matrix_out)</td></tr> |
| <tr class="separator:a1cd4cba697f163a4e2ec2fe2ca0c8f46"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a505b024301dd1a7ceb9ee01e1bf572d3"><td class="memItemLeft" align="right" valign="top">matrix_result </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#a505b024301dd1a7ceb9ee01e1bf572d3">matrix_trans</a> (text matrix_in, text in_row, text in_col, text in_val, text matrix_out, boolean use_temp_table)</td></tr> |
| <tr class="separator:a505b024301dd1a7ceb9ee01e1bf572d3"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a751cc82dfc357006e51b8e484f36b2fb"><td class="memItemLeft" align="right" valign="top">matrix_result </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#a751cc82dfc357006e51b8e484f36b2fb">matrix_trans</a> (text matrix_in, text matrix_out, boolean use_temp_table)</td></tr> |
| <tr class="separator:a751cc82dfc357006e51b8e484f36b2fb"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ac5937bd13fa68864318970bc48425f59"><td class="memItemLeft" align="right" valign="top">matrix_result </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#ac5937bd13fa68864318970bc48425f59">matrix_sparsify</a> (text matrix_in, text matrix_out, boolean use_temp_table)</td></tr> |
| <tr class="separator:ac5937bd13fa68864318970bc48425f59"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ad56abb5f2271700423a51147b8b890b6"><td class="memItemLeft" align="right" valign="top">matrix_result </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#ad56abb5f2271700423a51147b8b890b6">matrix_densify</a> (text matrix_in, text in_row, text in_col, text in_val, text matrix_out, boolean use_temp_table)</td></tr> |
| <tr class="separator:ad56abb5f2271700423a51147b8b890b6"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ac68c3061bde46b889bbb2621ae377691"><td class="memItemLeft" align="right" valign="top">float8[] </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#ac68c3061bde46b889bbb2621ae377691">__matrix_densify_sfunc</a> (float8[] state, int4 col_dim, int4 col, float8 val)</td></tr> |
| <tr class="separator:ac68c3061bde46b889bbb2621ae377691"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ac2f46c2a3408819fb90baa1a3bacd4b4"><td class="memItemLeft" align="right" valign="top">int4[] </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#ac2f46c2a3408819fb90baa1a3bacd4b4">__rand_vector</a> (int4 dim)</td></tr> |
| <tr class="separator:ac2f46c2a3408819fb90baa1a3bacd4b4"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a4a9900d2e7831e14fe39c60ad1c8422e"><td class="memItemLeft" align="right" valign="top">int4[] </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#a4a9900d2e7831e14fe39c60ad1c8422e">__rand_block</a> (int4 row_dim, int4 col_dim)</td></tr> |
| <tr class="separator:a4a9900d2e7831e14fe39c60ad1c8422e"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a9ba1aa85388b334eca7e06cf7a9dd02c"><td class="memItemLeft" align="right" valign="top">int4[] </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#a9ba1aa85388b334eca7e06cf7a9dd02c">__rand_block</a> (int4 dim)</td></tr> |
| <tr class="separator:a9ba1aa85388b334eca7e06cf7a9dd02c"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ac727adc3dbc77ac92c8bab20d0bdf79e"><td class="memItemLeft" align="right" valign="top">set< float8[]> </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#ac727adc3dbc77ac92c8bab20d0bdf79e">__matrix_row_split</a> (float8[] row_in, int4 size)</td></tr> |
| <tr class="separator:ac727adc3dbc77ac92c8bab20d0bdf79e"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ac84dd58b7a59e67a5354b610f704b65f"><td class="memItemLeft" align="right" valign="top">float8[] </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#ac84dd58b7a59e67a5354b610f704b65f">__matrix_blockize_sfunc</a> (float8[] state, int4 row_id, float8[] row_vec, int4 rsize)</td></tr> |
| <tr class="separator:ac84dd58b7a59e67a5354b610f704b65f"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a4ad508fba158c74ab84cbb98f893bbff"><td class="memItemLeft" align="right" valign="top">float8[] </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#a4ad508fba158c74ab84cbb98f893bbff">__matrix_unblockize_sfunc</a> (float8[] state, int4 total_col_dim, int4 col_id, float8[] row_vec)</td></tr> |
| <tr class="separator:a4ad508fba158c74ab84cbb98f893bbff"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ae693003d02d034ac0bebe734d940fcbd"><td class="memItemLeft" align="right" valign="top">aggregate float8[] </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#ae693003d02d034ac0bebe734d940fcbd">__matrix_densify_agg</a> (int4, int4, float8)</td></tr> |
| <tr class="separator:ae693003d02d034ac0bebe734d940fcbd"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aac74aea3d4e5e9693878afab972c3ba2"><td class="memItemLeft" align="right" valign="top">aggregate float8[] </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#aac74aea3d4e5e9693878afab972c3ba2">__matrix_blockize_agg</a> (int4, float8[], int4)</td></tr> |
| <tr class="separator:aac74aea3d4e5e9693878afab972c3ba2"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:afc9a95bf54d3b28a4d579cd0240e2830"><td class="memItemLeft" align="right" valign="top">aggregate float8[] </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#afc9a95bf54d3b28a4d579cd0240e2830">__matrix_unblockize_agg</a> (int4, int4, float8[])</td></tr> |
| <tr class="separator:afc9a95bf54d3b28a4d579cd0240e2830"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ad16c824212e369760b9fb8ea658eac8c"><td class="memItemLeft" align="right" valign="top">float8[] </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#ad16c824212e369760b9fb8ea658eac8c">matrix_mem_mult</a> (float[] matrix_a, float[] matrix_b, boolean trans_b)</td></tr> |
| <tr class="separator:ad16c824212e369760b9fb8ea658eac8c"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a91383f59dcb8b7ca2fba89ea350d113b"><td class="memItemLeft" align="right" valign="top">float8[] </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#a91383f59dcb8b7ca2fba89ea350d113b">matrix_mem_mult</a> (float[] matrix_a, float[] matrix_b)</td></tr> |
| <tr class="separator:a91383f59dcb8b7ca2fba89ea350d113b"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a0731901b985a90c3aa2f686a7ce95978"><td class="memItemLeft" align="right" valign="top">float8[] </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#a0731901b985a90c3aa2f686a7ce95978">matrix_mem_trans</a> (float[] matrix)</td></tr> |
| <tr class="separator:a0731901b985a90c3aa2f686a7ce95978"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a634478f746232cb12f3c46cbb2c20837"><td class="memItemLeft" align="right" valign="top">float8[] </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#a634478f746232cb12f3c46cbb2c20837">__matrix_mem_sum_sfunc</a> (float[] state, float[] matrix)</td></tr> |
| <tr class="separator:a634478f746232cb12f3c46cbb2c20837"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aa9f91e48c5890026fc35e65722bb6a0b"><td class="memItemLeft" align="right" valign="top">aggregate float8[] </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#aa9f91e48c5890026fc35e65722bb6a0b">__matrix_mem_sum</a> (float8[])</td></tr> |
| <tr class="separator:aa9f91e48c5890026fc35e65722bb6a0b"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ae4176a88e13c09362af1e4c1afd1f12b"><td class="memItemLeft" align="right" valign="top">matrix_result </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#ae4176a88e13c09362af1e4c1afd1f12b">__matrix_column_to_array_format</a> (text matrix_in, text row_id, text matrix_out, boolean istemp)</td></tr> |
| <tr class="separator:ae4176a88e13c09362af1e4c1afd1f12b"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aaaef33a34ca7d5b34d19fcc1778d02d6"><td class="memItemLeft" align="right" valign="top">matrix_result </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#aaaef33a34ca7d5b34d19fcc1778d02d6">matrix_blockize</a> (text matrix_in, int4 rsize, int4 csize, text matrix_out)</td></tr> |
| <tr class="separator:aaaef33a34ca7d5b34d19fcc1778d02d6"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ad48d14a3b941b2c5ba61a76128f9e597"><td class="memItemLeft" align="right" valign="top">matrix_result </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#ad48d14a3b941b2c5ba61a76128f9e597">matrix_unblockize</a> (text matrix_in, text matrix_out)</td></tr> |
| <tr class="separator:ad48d14a3b941b2c5ba61a76128f9e597"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a01ea5d175f37efba0cedbba6ade0f7bd"><td class="memItemLeft" align="right" valign="top">set< float8[]> </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#a01ea5d175f37efba0cedbba6ade0f7bd">__matrix_unnest_block</a> (float8[] block)</td></tr> |
| <tr class="separator:a01ea5d175f37efba0cedbba6ade0f7bd"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:ab4018d7ab7e3c0c667f12f5421d437cd"><td class="memItemLeft" align="right" valign="top">void </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#ab4018d7ab7e3c0c667f12f5421d437cd">matrix_scale_and_add</a> (text matrix_a, text matrix_b, float8 scale, text matrix_r)</td></tr> |
| <tr class="memdesc:ab4018d7ab7e3c0c667f12f5421d437cd"><td class="mdescLeft"> </td><td class="mdescRight">Scale and add matrix operation ( R <- A + sB) <a href="#ab4018d7ab7e3c0c667f12f5421d437cd">More...</a><br/></td></tr> |
| <tr class="separator:ab4018d7ab7e3c0c667f12f5421d437cd"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:aa3e1bf84295bb870c097bb293dc56d5b"><td class="memItemLeft" align="right" valign="top">float8 </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#aa3e1bf84295bb870c097bb293dc56d5b">matrix_norm</a> (text matrix_a, text norm_type)</td></tr> |
| <tr class="memdesc:aa3e1bf84295bb870c097bb293dc56d5b"><td class="mdescLeft"> </td><td class="mdescRight">Compute matrix norm (of various types) <a href="#aa3e1bf84295bb870c097bb293dc56d5b">More...</a><br/></td></tr> |
| <tr class="separator:aa3e1bf84295bb870c097bb293dc56d5b"><td class="memSeparator" colspan="2"> </td></tr> |
| <tr class="memitem:a96cea663d82643dfc409b3c310a10094"><td class="memItemLeft" align="right" valign="top">float8 </td><td class="memItemRight" valign="bottom"><a class="el" href="matrix__op_8sql__in.html#a96cea663d82643dfc409b3c310a10094">matrix_norm</a> (text matrix_a)</td></tr> |
| <tr class="separator:a96cea663d82643dfc409b3c310a10094"><td class="memSeparator" colspan="2"> </td></tr> |
| </table> |
| <h2 class="groupheader">Function Documentation</h2> |
| <a class="anchor" id="aac74aea3d4e5e9693878afab972c3ba2"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">aggregate float8 [] __matrix_blockize_agg </td> |
| <td>(</td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname">, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">float8 </td> |
| <td class="paramname">[], </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname"> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ac84dd58b7a59e67a5354b610f704b65f"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">float8 [] __matrix_blockize_sfunc </td> |
| <td>(</td> |
| <td class="paramtype">float8[] </td> |
| <td class="paramname"><em>state</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname"><em>row_id</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">float8[] </td> |
| <td class="paramname"><em>row_vec</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname"><em>rsize</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ae4176a88e13c09362af1e4c1afd1f12b"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">matrix_result __matrix_column_to_array_format </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_in</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>row_id</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_out</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">boolean </td> |
| <td class="paramname"><em>istemp</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ae693003d02d034ac0bebe734d940fcbd"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">aggregate float8 [] __matrix_densify_agg </td> |
| <td>(</td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname">, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname">, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">float8 </td> |
| <td class="paramname"> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ac68c3061bde46b889bbb2621ae377691"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">float8 [] __matrix_densify_sfunc </td> |
| <td>(</td> |
| <td class="paramtype">float8[] </td> |
| <td class="paramname"><em>state</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname"><em>col_dim</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname"><em>col</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">float8 </td> |
| <td class="paramname"><em>val</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="aa9f91e48c5890026fc35e65722bb6a0b"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">aggregate float8 [] __matrix_mem_sum </td> |
| <td>(</td> |
| <td class="paramtype">float8 </td> |
| <td class="paramname">[])</td><td></td> |
| <td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a634478f746232cb12f3c46cbb2c20837"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">float8 [] __matrix_mem_sum_sfunc </td> |
| <td>(</td> |
| <td class="paramtype">float[] </td> |
| <td class="paramname"><em>state</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">float[] </td> |
| <td class="paramname"><em>matrix</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ac727adc3dbc77ac92c8bab20d0bdf79e"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">set<float8[]> __matrix_row_split </td> |
| <td>(</td> |
| <td class="paramtype">float8[] </td> |
| <td class="paramname"><em>row_in</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname"><em>size</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="afc9a95bf54d3b28a4d579cd0240e2830"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">aggregate float8 [] __matrix_unblockize_agg </td> |
| <td>(</td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname">, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname">, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">float8 </td> |
| <td class="paramname">[] </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a4ad508fba158c74ab84cbb98f893bbff"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">float8 [] __matrix_unblockize_sfunc </td> |
| <td>(</td> |
| <td class="paramtype">float8[] </td> |
| <td class="paramname"><em>state</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname"><em>total_col_dim</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname"><em>col_id</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">float8[] </td> |
| <td class="paramname"><em>row_vec</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a01ea5d175f37efba0cedbba6ade0f7bd"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">set<float8[]> __matrix_unnest_block </td> |
| <td>(</td> |
| <td class="paramtype">float8[] </td> |
| <td class="paramname"><em>block</em>)</td><td></td> |
| <td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a4a9900d2e7831e14fe39c60ad1c8422e"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">int4 [] __rand_block </td> |
| <td>(</td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname"><em>row_dim</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname"><em>col_dim</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a9ba1aa85388b334eca7e06cf7a9dd02c"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">int4 [] __rand_block </td> |
| <td>(</td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname"><em>dim</em>)</td><td></td> |
| <td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ac2f46c2a3408819fb90baa1a3bacd4b4"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">int4 [] __rand_vector </td> |
| <td>(</td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname"><em>dim</em>)</td><td></td> |
| <td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a2569d504e2f91bb4ab84ef483c3eb806"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">matrix_result matrix_block_mult </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_a</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_b</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_r</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a1099e22b2ed3cd995a858827a8efd6e2"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">matrix_result matrix_block_square </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_in</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_out</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a18208524dce36a0e1a3cd4f3d4699d7d"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">matrix_result matrix_block_trans </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_in</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_out</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">boolean </td> |
| <td class="paramname"><em>use_temp_table</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ac375bfae0a288546c46f858669379118"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">matrix_result matrix_block_trans </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_in</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_out</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="aaaef33a34ca7d5b34d19fcc1778d02d6"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">matrix_result matrix_blockize </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_in</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname"><em>rsize</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">int4 </td> |
| <td class="paramname"><em>csize</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_out</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ad56abb5f2271700423a51147b8b890b6"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">matrix_result matrix_densify </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_in</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>in_row</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>in_col</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>in_val</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_out</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">boolean </td> |
| <td class="paramname"><em>use_temp_table</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ad16c824212e369760b9fb8ea658eac8c"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">float8 [] matrix_mem_mult </td> |
| <td>(</td> |
| <td class="paramtype">float[] </td> |
| <td class="paramname"><em>matrix_a</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">float[] </td> |
| <td class="paramname"><em>matrix_b</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">boolean </td> |
| <td class="paramname"><em>trans_b</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a91383f59dcb8b7ca2fba89ea350d113b"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">float8 [] matrix_mem_mult </td> |
| <td>(</td> |
| <td class="paramtype">float[] </td> |
| <td class="paramname"><em>matrix_a</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">float[] </td> |
| <td class="paramname"><em>matrix_b</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a0731901b985a90c3aa2f686a7ce95978"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">float8 [] matrix_mem_trans </td> |
| <td>(</td> |
| <td class="paramtype">float[] </td> |
| <td class="paramname"><em>matrix</em>)</td><td></td> |
| <td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a716158fc895763243a9b222733cbdd9a"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">matrix_result matrix_mult </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_a</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>a_row</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>a_col</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>a_val</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">boolean </td> |
| <td class="paramname"><em>a_trans</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_b</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>b_row</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>b_col</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>b_val</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">boolean </td> |
| <td class="paramname"><em>b_trans</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_r</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="acd70c3e9b5d081aa743c9aa746eaf273"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">matrix_result matrix_mult </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_a</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">boolean </td> |
| <td class="paramname"><em>a_trans</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_b</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">boolean </td> |
| <td class="paramname"><em>b_trans</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_r</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="aa3e1bf84295bb870c097bb293dc56d5b"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">float8 matrix_norm </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_a</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>norm_type</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">source_table</td><td>Source matrix table (dense matrix format) </td></tr> |
| <tr><td class="paramname">norm_type</td><td>Type of norm used (default: fro)</td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="section return"><dt>Returns</dt><dd>DOUBLE PRECISION</dd></dl> |
| <dl class="section user"><dt>Usage Currenty, we support the following norms</dt><dd>(a) 'fro': Computes the frobenius norm</dd></dl> |
| <pre> |
| SELECT matrix_norm('<em>matrix_table_name</em>', 'fro'); |
| </pre> |
| </div> |
| </div> |
| <a class="anchor" id="a96cea663d82643dfc409b3c310a10094"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">float8 matrix_norm </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_a</em>)</td><td></td> |
| <td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ab4018d7ab7e3c0c667f12f5421d437cd"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">void matrix_scale_and_add </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_a</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_b</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">float8 </td> |
| <td class="paramname"><em>scale</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_r</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| <dl class="params"><dt>Parameters</dt><dd> |
| <table class="params"> |
| <tr><td class="paramname">matrix_a</td><td>Source matrix table A (dense matrix format) </td></tr> |
| <tr><td class="paramname">matrix_b</td><td>Source matrix table B (dense matrix format) </td></tr> |
| <tr><td class="paramname">scale</td><td>Scale for matrix B </td></tr> |
| <tr><td class="paramname">matrix_r</td><td>Output table for matrix R <- A + sB</td></tr> |
| </table> |
| </dd> |
| </dl> |
| <dl class="section return"><dt>Returns</dt><dd>VOID</dd></dl> |
| <dl class="section user"><dt>Usage</dt><dd>For matrix addition and subtration, you can use the same function with different values of scalar <pre> |
| SELECT matrix_scale_and_add('matrix_a', 'matrix_b', 1, 'matrix_r'); |
| SELECT matrix_scale_and_add('matrix_a', 'matrix_b', -1, 'matrix_r'); |
| </pre> </dd></dl> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ac5937bd13fa68864318970bc48425f59"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">matrix_result matrix_sparsify </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_in</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_out</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">boolean </td> |
| <td class="paramname"><em>use_temp_table</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a1cd4cba697f163a4e2ec2fe2ca0c8f46"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">matrix_result matrix_square </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_in</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_out</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a505b024301dd1a7ceb9ee01e1bf572d3"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">matrix_result matrix_trans </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_in</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>in_row</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>in_col</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>in_val</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_out</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">boolean </td> |
| <td class="paramname"><em>use_temp_table</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="a751cc82dfc357006e51b8e484f36b2fb"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">matrix_result matrix_trans </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_in</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_out</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">boolean </td> |
| <td class="paramname"><em>use_temp_table</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| <a class="anchor" id="ad48d14a3b941b2c5ba61a76128f9e597"></a> |
| <div class="memitem"> |
| <div class="memproto"> |
| <table class="memname"> |
| <tr> |
| <td class="memname">matrix_result matrix_unblockize </td> |
| <td>(</td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_in</em>, </td> |
| </tr> |
| <tr> |
| <td class="paramkey"></td> |
| <td></td> |
| <td class="paramtype">text </td> |
| <td class="paramname"><em>matrix_out</em> </td> |
| </tr> |
| <tr> |
| <td></td> |
| <td>)</td> |
| <td></td><td></td> |
| </tr> |
| </table> |
| </div><div class="memdoc"> |
| |
| </div> |
| </div> |
| </div><!-- contents --> |
| </div><!-- doc-content --> |
| <!-- start footer part --> |
| <div id="nav-path" class="navpath"><!-- id is needed for treeview function! --> |
| <ul> |
| <li class="navelem"><a class="el" href="dir_68267d1309a1af8e8297ef4c3efbcdba.html">src</a></li><li class="navelem"><a class="el" href="dir_efbcf68973d247bbf15f9eecae7f24e3.html">ports</a></li><li class="navelem"><a class="el" href="dir_a4a48839224ef8488facbffa8a397967.html">postgres</a></li><li class="navelem"><a class="el" href="dir_dc596537ad427a4d866006d1a3e1fe29.html">modules</a></li><li class="navelem"><a class="el" href="dir_9e42ee0a0235722f482630aa6cc99334.html">linalg</a></li><li class="navelem"><a class="el" href="matrix__op_8sql__in.html">matrix_op.sql_in</a></li> |
| <li class="footer">Generated on Tue Mar 17 2015 21:51:08 for MADlib by |
| <a href="http://www.doxygen.org/index.html"> |
| <img class="footer" src="doxygen.png" alt="doxygen"/></a> 1.8.4 </li> |
| </ul> |
| </div> |
| </body> |
| </html> |