<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>scipy.optimize.LbfgsInvHessProduct.matmat — SciPy v1.1.0.dev0+4e64658 Reference Guide</title> <link rel="stylesheet" type="text/css" href="../_static/css/spc-bootstrap.css"> <link rel="stylesheet" type="text/css" href="../_static/css/spc-extend.css"> <link rel="stylesheet" href="../_static/scipy.css" type="text/css" > <link rel="stylesheet" href="../_static/pygments.css" type="text/css" > <script type="text/javascript"> var DOCUMENTATION_OPTIONS = { URL_ROOT: '../', VERSION: '1.1.0.dev0+4e64658', COLLAPSE_INDEX: false, FILE_SUFFIX: '.html', HAS_SOURCE: false }; </script> <script type="text/javascript" src="../_static/jquery.js"></script> <script type="text/javascript" src="../_static/underscore.js"></script> <script type="text/javascript" src="../_static/doctools.js"></script> <script type="text/javascript" src="../_static/scipy-mathjax/MathJax.js?config=scipy-mathjax"></script> <script type="text/javascript" src="../_static/js/copybutton.js"></script> <link rel="index" title="Index" href="../genindex.html" > <link rel="search" title="Search" href="../search.html" > <link rel="top" title="SciPy v1.1.0.dev0+4e64658 Reference Guide" href="../index.html" > <link rel="up" title="scipy.optimize.LbfgsInvHessProduct" href="scipy.optimize.LbfgsInvHessProduct.html" > <link rel="next" title="scipy.optimize.LbfgsInvHessProduct.matvec" href="scipy.optimize.LbfgsInvHessProduct.matvec.html" > <link rel="prev" title="scipy.optimize.LbfgsInvHessProduct.dot" href="scipy.optimize.LbfgsInvHessProduct.dot.html" > </head> <body> <div class="container"> <div class="header"> </div> </div> <div class="container"> <div class="main"> <div class="row-fluid"> <div class="span12"> <div class="spc-navbar"> <ul class="nav nav-pills pull-left"> <li class="active"><a href="../index.html">SciPy v1.1.0.dev0+4e64658 Reference Guide</a></li> <li class="active"><a href="../optimize.html" >Optimization and root finding (<code class="docutils literal"><span class="pre">scipy.optimize</span></code>)</a></li> <li class="active"><a href="scipy.optimize.LbfgsInvHessProduct.html" accesskey="U">scipy.optimize.LbfgsInvHessProduct</a></li> </ul> <ul class="nav nav-pills pull-right"> <li class="active"> <a href="../genindex.html" title="General Index" accesskey="I">index</a> </li> <li class="active"> <a href="../py-modindex.html" title="Python Module Index" >modules</a> </li> <li class="active"> <a href="scipy.optimize.LbfgsInvHessProduct.matvec.html" title="scipy.optimize.LbfgsInvHessProduct.matvec" accesskey="N">next</a> </li> <li class="active"> <a href="scipy.optimize.LbfgsInvHessProduct.dot.html" title="scipy.optimize.LbfgsInvHessProduct.dot" accesskey="P">previous</a> </li> </ul> </div> </div> </div> <div class="row-fluid"> <div class="spc-rightsidebar span3"> <div class="sphinxsidebarwrapper"> <p class="logo"><a href="../index.html"> <img class="logo" src="../_static/scipyshiny_small.png" alt="Logo"> </a></p> <h4>Previous topic</h4> <p class="topless"><a href="scipy.optimize.LbfgsInvHessProduct.dot.html" title="previous chapter">scipy.optimize.LbfgsInvHessProduct.dot</a></p> <h4>Next topic</h4> <p class="topless"><a href="scipy.optimize.LbfgsInvHessProduct.matvec.html" title="next chapter">scipy.optimize.LbfgsInvHessProduct.matvec</a></p> </div> </div> <div class="span9"> <div class="bodywrapper"> <div class="body" id="spc-section-body"> <div class="section" id="scipy-optimize-lbfgsinvhessproduct-matmat"> <h1>scipy.optimize.LbfgsInvHessProduct.matmat<a class="headerlink" href="#scipy-optimize-lbfgsinvhessproduct-matmat" title="Permalink to this headline">¶</a></h1> <dl class="method"> <dt id="scipy.optimize.LbfgsInvHessProduct.matmat"> <code class="descclassname">LbfgsInvHessProduct.</code><code class="descname">matmat</code><span class="sig-paren">(</span><em>X</em><span class="sig-paren">)</span><a class="reference external" href="https://github.com/scipy/scipy/blob/4e64658/scipy/sparse/linalg/interface.py#L290-L331"><span class="viewcode-link">[source]</span></a><a class="headerlink" href="#scipy.optimize.LbfgsInvHessProduct.matmat" title="Permalink to this definition">¶</a></dt> <dd><p>Matrix-matrix multiplication.</p> <p>Performs the operation y=A*X where A is an MxN linear operator and X dense N*K matrix or ndarray.</p> <table class="docutils field-list" frame="void" rules="none"> <col class="field-name" /> <col class="field-body" /> <tbody valign="top"> <tr class="field-odd field"><th class="field-name">Parameters:</th><td class="field-body"><p class="first"><strong>X</strong> : {matrix, ndarray}</p> <blockquote> <div><p>An array with shape (N,K).</p> </div></blockquote> </td> </tr> <tr class="field-even field"><th class="field-name">Returns:</th><td class="field-body"><p class="first"><strong>Y</strong> : {matrix, ndarray}</p> <blockquote class="last"> <div><p>A matrix or ndarray with shape (M,K) depending on the type of the X argument.</p> </div></blockquote> </td> </tr> </tbody> </table> <p class="rubric">Notes</p> <p>This matmat wraps any user-specified matmat routine or overridden _matmat method to ensure that y has the correct type.</p> </dd></dl> </div> </div> </div> </div> </div> </div> </div> <div class="container container-navbar-bottom"> <div class="spc-navbar"> </div> </div> <div class="container"> <div class="footer"> <div class="row-fluid"> <ul class="inline pull-left"> <li> © Copyright 2008-2016, The Scipy community. </li> <li> Last updated on Sep 21, 2017. </li> <li> Created using <a href="http://sphinx.pocoo.org/">Sphinx</a> 1.6.3. </li> </ul> </div> </div> </div> </body> </html>