This file is indexed.

/usr/share/doc/libghc-hmatrix-doc/html/Numeric-LinearAlgebra-Static.html is in libghc-hmatrix-doc 0.18.0.0-1build1.

This file is owned by root:root, with mode 0o644.

The actual contents of the file can be viewed below.

1
2
3
4
5
6
<!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/html; charset=UTF-8" /><title>Numeric.LinearAlgebra.Static</title><link href="ocean.css" rel="stylesheet" type="text/css" title="Ocean" /><script src="haddock-util.js" type="text/javascript"></script><script src="file:///usr/share/javascript/mathjax/MathJax.js" type="text/javascript"></script><script type="text/javascript">//<![CDATA[
window.onload = function () {pageLoad();setSynopsis("mini_Numeric-LinearAlgebra-Static.html");};
//]]>
</script></head><body><div id="package-header"><ul class="links" id="page-menu"><li><a href="src/Numeric-LinearAlgebra-Static.html">Source</a></li><li><a href="index.html">Contents</a></li><li><a href="doc-index.html">Index</a></li></ul><p class="caption">hmatrix-0.18.0.0: Numeric Linear Algebra</p></div><div id="content"><div id="module-header"><table class="info"><tr><th valign="top">Copyright</th><td>(c) Alberto Ruiz 2014</td></tr><tr><th>License</th><td>BSD3</td></tr><tr><th>Stability</th><td>experimental</td></tr><tr><th>Safe Haskell</th><td>None</td></tr><tr><th>Language</th><td>Haskell98</td></tr></table><p class="caption">Numeric.LinearAlgebra.Static</p></div><div id="table-of-contents"><p class="caption">Contents</p><ul><li><a href="#g:1">Vector</a></li><li><a href="#g:2">Matrix</a></li><li><a href="#g:3">Complex</a></li><li><a href="#g:4">Products</a></li><li><a href="#g:5">Linear Systems</a></li><li><a href="#g:6">Factorizations</a></li><li><a href="#g:7">Norms</a></li><li><a href="#g:8">Random arrays</a></li><li><a href="#g:9">Misc</a></li><li><a href="#section.orphans">Orphan instances</a></li></ul></div><div id="description"><p class="caption">Description</p><div class="doc"><p>Experimental interface with statically checked dimensions.</p><p>See code examples at <a href="http://dis.um.es/~alberto/hmatrix/static.html">http://dis.um.es/~alberto/hmatrix/static.html</a>.</p></div></div><div id="synopsis"><p id="control.syn" class="caption expander" onclick="toggleSection('syn')">Synopsis</p><ul id="section.syn" class="hide" onclick="toggleSection('syn')"><li class="src short"><span class="keyword">type</span> <a href="#t:-8477-">&#8477;</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:R">R</a> n</li><li class="src short"><a href="#v:vec2">vec2</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> 2</li><li class="src short"><a href="#v:vec3">vec3</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> 3</li><li class="src short"><a href="#v:vec4">vec4</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> 4</li><li class="src short"><a href="#v:-38-">(&amp;)</a> :: <span class="keyword">forall</span> n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, 1 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> (n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-43-">+</a> 1)</li><li class="src short"><a href="#v:-35-">(#)</a> :: <span class="keyword">forall</span> n m. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> (n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-43-">+</a> m)</li><li class="src short"><a href="#v:split">split</a> :: <span class="keyword">forall</span> p n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> p, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, p <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> p, <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> (n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-45-">-</a> p))</li><li class="src short"><a href="#v:headTail">headTail</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, 1 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>, <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> (n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-45-">-</a> 1))</li><li class="src short"><a href="#v:vector">vector</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; [<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>] -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n</li><li class="src short"><a href="#v:linspace">linspace</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>, <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n</li><li class="src short"><a href="#v:range">range</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n</li><li class="src short"><a href="#v:dim">dim</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n</li><li class="src short"><span class="keyword">data</span> <a href="#t:L">L</a> m n</li><li class="src short"><span class="keyword">type</span> <a href="#t:Sq">Sq</a> n = <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n</li><li class="src short"><a href="#v:build">build</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m) =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n</li><li class="src short"><a href="#v:row">row</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> 1 n</li><li class="src short"><a href="#v:col">col</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n 1</li><li class="src short"><a href="#v:-124--124--124-">(|||)</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> r2, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> r1, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-43-">(+)</a> r1 r2), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> c) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> c r1 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> c r2 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> c (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-43-">(+)</a> r1 r2)</li><li class="src short"><a href="#v:-61--61--61-">(===)</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> r1, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> r2, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> c) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> r1 c -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> r2 c -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> (r1 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-43-">+</a> r2) c</li><li class="src short"><a href="#v:splitRows">splitRows</a> :: <span class="keyword">forall</span> p m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> p, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, p <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> m) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> p n, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> (m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-45-">-</a> p) n)</li><li class="src short"><a href="#v:splitCols">splitCols</a> :: <span class="keyword">forall</span> p m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> p, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> (n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-45-">-</a> p), p <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m p, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m (n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-45-">-</a> p))</li><li class="src short"><a href="#v:unrow">unrow</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> 1 n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n</li><li class="src short"><a href="#v:uncol">uncol</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n 1 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n</li><li class="src short"><a href="#v:tr">tr</a> :: <a href="Numeric-LinearAlgebra.html#t:Transposable">Transposable</a> m mt =&gt; m -&gt; mt</li><li class="src short"><a href="#v:eye">eye</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n</li><li class="src short"><a href="#v:diag">diag</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n</li><li class="src short"><a href="#v:blockAt">blockAt</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n</li><li class="src short"><a href="#v:matrix">matrix</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; [<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>] -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n</li><li class="src short"><span class="keyword">type</span> <a href="#t:-8450-">&#8450;</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Complex.html#t:Complex">Complex</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:C">C</a> n</li><li class="src short"><span class="keyword">data</span> <a href="#t:M">M</a> m n</li><li class="src short"><span class="keyword">data</span> <a href="#t:Her">Her</a> n</li><li class="src short"><a href="#v:her">her</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Her">Her</a> n</li><li class="src short"><a href="#v:-119894-">&#119894;</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sized">Sized</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> s c =&gt; s</li><li class="src short"><a href="#v:-60--62-">(&lt;&gt;)</a> :: <span class="keyword">forall</span> m k n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m k -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> k n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n</li><li class="src short"><a href="#v:-35--62-">(#&gt;)</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m</li><li class="src short"><a href="#v:-60-.-62-">(&lt;.&gt;)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a></li><li class="src short"><a href="#v:linSolve">linSolve</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n)</li><li class="src short"><a href="#v:-60--92--62-">(&lt;\&gt;)</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> r) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m r -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n r</li><li class="src short"><a href="#v:svd">svd</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m m, <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n)</li><li class="src short"><a href="#v:withCompactSVD">withCompactSVD</a> :: <span class="keyword">forall</span> m n z. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<span class="keyword">forall</span> k. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m k, <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> k, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n k) -&gt; z) -&gt; z</li><li class="src short"><a href="#v:svdTall">svdTall</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> m) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n, <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n)</li><li class="src short"><a href="#v:svdFlat">svdFlat</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m m, <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m)</li><li class="src short"><span class="keyword">class</span> <a href="#t:Eigen">Eigen</a> m l v | m -&gt; l, m -&gt; v <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><a href="#v:withNullspace">withNullspace</a> :: <span class="keyword">forall</span> m n z. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<span class="keyword">forall</span> k. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n k -&gt; z) -&gt; z</li><li class="src short"><a href="#v:withOrth">withOrth</a> :: <span class="keyword">forall</span> m n z. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<span class="keyword">forall</span> k. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n k -&gt; z) -&gt; z</li><li class="src short"><a href="#v:qr">qr</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m m, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n)</li><li class="src short"><a href="#v:chol">chol</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n</li><li class="src short"><span class="keyword">class</span> <a href="#t:Normed">Normed</a> a <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><span class="keyword">type</span> <a href="#t:Seed">Seed</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a></li><li class="src short"><span class="keyword">data</span> <a href="#t:RandDist">RandDist</a><ul class="subs"><li>= <a href="#v:Uniform">Uniform</a></li><li>| <a href="#v:Gaussian">Gaussian</a></li></ul></li><li class="src short"><a href="#v:randomVector">randomVector</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Seed">Seed</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n</li><li class="src short"><a href="#v:rand">rand</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n)</li><li class="src short"><a href="#v:randn">randn</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n)</li><li class="src short"><a href="#v:gaussianSample">gaussianSample</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Seed">Seed</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n</li><li class="src short"><a href="#v:uniformSample">uniformSample</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Seed">Seed</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n</li><li class="src short"><a href="#v:mean">mean</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, 1 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a></li><li class="src short"><a href="#v:meanCov">meanCov</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, 1 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> m) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n, <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n)</li><li class="src short"><span class="keyword">class</span> <a href="#t:Disp">Disp</a> t <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><span class="keyword">class</span> <a href="#t:Domain">Domain</a> field vec mat | mat -&gt; vec field, vec -&gt; mat field, field -&gt; mat vec <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><a href="#v:withVector">withVector</a> :: <span class="keyword">forall</span> z. <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; (<span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; z) -&gt; z</li><li class="src short"><a href="#v:withMatrix">withMatrix</a> :: <span class="keyword">forall</span> z. <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; (<span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; z) -&gt; z</li><li class="src short"><a href="#v:exactLength">exactLength</a> :: <span class="keyword">forall</span> n m. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</li><li class="src short"><a href="#v:exactDims">exactDims</a> :: <span class="keyword">forall</span> n m j k. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> j, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> j k)</li><li class="src short"><a href="#v:toRows">toRows</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; [<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n]</li><li class="src short"><a href="#v:toColumns">toColumns</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; [<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m]</li><li class="src short"><a href="#v:withRows">withRows</a> :: <span class="keyword">forall</span> n z. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; [<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n] -&gt; (<span class="keyword">forall</span> m. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; z) -&gt; z</li><li class="src short"><a href="#v:withColumns">withColumns</a> :: <span class="keyword">forall</span> m z. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m =&gt; [<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m] -&gt; (<span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; z) -&gt; z</li><li class="src short"><span class="keyword">class</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Num">Num</a> t =&gt; <a href="#t:Sized">Sized</a> t s d | s -&gt; t, s -&gt; d <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><span class="keyword">class</span> <a href="#t:Diag">Diag</a> m d | m -&gt; d <span class="keyword">where</span><ul class="subs"></ul></li><li class="src short"><span class="keyword">data</span> <a href="#t:Sym">Sym</a> n</li><li class="src short"><a href="#v:sym">sym</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n</li><li class="src short"><a href="#v:mTm">mTm</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n</li><li class="src short"><a href="#v:unSym">unSym</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n</li><li class="src short"><a href="#v:-60--183--62-">&lt;&#183;&gt;</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a></li></ul></div><div id="interface"><h1 id="g:1">Vector</h1><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:-8477-" class="def">&#8477;</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> <a href="src/Internal-Static.html#%211D" class="link">Source</a> <a href="#t:-8477-" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:R" class="def">R</a> n <a href="src/Internal-Static.html#R" class="link">Source</a> <a href="#t:R" class="selflink">#</a></p><div class="subs instances"><p id="control.i:R" class="caption collapser" onclick="toggleSection('i:R')">Instances</p><div id="section.i:R" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:R:Domain:1" class="instance expander" onclick="toggleSection('i:id:R:Domain:1')"></span> <a href="Numeric-LinearAlgebra-Static.html#t:Domain">Domain</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a></span> <a href="src/Numeric-LinearAlgebra-Static.html#line-545" class="link">Source</a> <a href="#t:Domain" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:R:Domain:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:mul">mul</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m k -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> k n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <a href="src/Numeric-LinearAlgebra-Static.html#mul" class="link">Source</a> <a href="#v:mul" class="selflink">#</a></p><p class="src"><a href="#v:app">app</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m <a href="src/Numeric-LinearAlgebra-Static.html#app" class="link">Source</a> <a href="#v:app" class="selflink">#</a></p><p class="src"><a href="#v:dot">dot</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="src/Numeric-LinearAlgebra-Static.html#dot" class="link">Source</a> <a href="#v:dot" class="selflink">#</a></p><p class="src"><a href="#v:cross">cross</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> 3 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> 3 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> 3 <a href="src/Numeric-LinearAlgebra-Static.html#cross" class="link">Source</a> <a href="#v:cross" class="selflink">#</a></p><p class="src"><a href="#v:diagR">diagR</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> k -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <a href="src/Numeric-LinearAlgebra-Static.html#diagR" class="link">Source</a> <a href="#v:diagR" class="selflink">#</a></p><p class="src"><a href="#v:dvmap">dvmap</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#dvmap" class="link">Source</a> <a href="#v:dvmap" class="selflink">#</a></p><p class="src"><a href="#v:dmmap">dmmap</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="src/Numeric-LinearAlgebra-Static.html#dmmap" class="link">Source</a> <a href="#v:dmmap" class="selflink">#</a></p><p class="src"><a href="#v:outer">outer</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="src/Numeric-LinearAlgebra-Static.html#outer" class="link">Source</a> <a href="#v:outer" class="selflink">#</a></p><p class="src"><a href="#v:zipWithVector">zipWithVector</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#zipWithVector" class="link">Source</a> <a href="#v:zipWithVector" class="selflink">#</a></p><p class="src"><a href="#v:det">det</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="src/Numeric-LinearAlgebra-Static.html#det" class="link">Source</a> <a href="#v:det" class="selflink">#</a></p><p class="src"><a href="#v:invlndet">invlndet</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n, (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>, <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>)) <a href="src/Numeric-LinearAlgebra-Static.html#invlndet" class="link">Source</a> <a href="#v:invlndet" class="selflink">#</a></p><p class="src"><a href="#v:expm">expm</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#expm" class="link">Source</a> <a href="#v:expm" class="selflink">#</a></p><p class="src"><a href="#v:sqrtm">sqrtm</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#sqrtm" class="link">Source</a> <a href="#v:sqrtm" class="selflink">#</a></p><p class="src"><a href="#v:inv">inv</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#inv" class="link">Source</a> <a href="#v:inv" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:R:Sized:2" class="instance expander" onclick="toggleSection('i:id:R:Sized:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sized">Sized</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n) <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a></span> <a href="src/Internal-Static.html#line-228" class="link">Source</a> <a href="#t:R" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:R:Sized:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:konst">konst</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Internal-Static.html#konst" class="link">Source</a> <a href="#v:konst" class="selflink">#</a></p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="src/Internal-Static.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>] -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Internal-Static.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:extract">extract</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="src/Internal-Static.html#extract" class="link">Source</a> <a href="#v:extract" class="selflink">#</a></p><p class="src"><a href="#v:create">create</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n) <a href="src/Internal-Static.html#create" class="link">Source</a> <a href="#v:create" class="selflink">#</a></p><p class="src"><a href="#v:size">size</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra.html#t:IndexOf">IndexOf</a> <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="src/Internal-Static.html#size" class="link">Source</a> <a href="#v:size" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:R:Floating:3" class="instance expander" onclick="toggleSection('i:id:R:Floating:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Numeric.html#t:Floating">Floating</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</span> <a href="src/Internal-Static.html#line-79" class="link">Source</a> <a href="#t:R" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:R:Floating:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pi">pi</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:pi" class="selflink">#</a></p><p class="src"><a href="#v:exp">exp</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:exp" class="selflink">#</a></p><p class="src"><a href="#v:log">log</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:log" class="selflink">#</a></p><p class="src"><a href="#v:sqrt">sqrt</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:sqrt" class="selflink">#</a></p><p class="src"><a href="#v:-42--42-">(**)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:-42--42-" class="selflink">#</a></p><p class="src"><a href="#v:logBase">logBase</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:logBase" class="selflink">#</a></p><p class="src"><a href="#v:sin">sin</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:sin" class="selflink">#</a></p><p class="src"><a href="#v:cos">cos</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:cos" class="selflink">#</a></p><p class="src"><a href="#v:tan">tan</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:tan" class="selflink">#</a></p><p class="src"><a href="#v:asin">asin</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:asin" class="selflink">#</a></p><p class="src"><a href="#v:acos">acos</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:acos" class="selflink">#</a></p><p class="src"><a href="#v:atan">atan</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:atan" class="selflink">#</a></p><p class="src"><a href="#v:sinh">sinh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:sinh" class="selflink">#</a></p><p class="src"><a href="#v:cosh">cosh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:cosh" class="selflink">#</a></p><p class="src"><a href="#v:tanh">tanh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:tanh" class="selflink">#</a></p><p class="src"><a href="#v:asinh">asinh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:asinh" class="selflink">#</a></p><p class="src"><a href="#v:acosh">acosh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:acosh" class="selflink">#</a></p><p class="src"><a href="#v:atanh">atanh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:atanh" class="selflink">#</a></p><p class="src"><a href="#v:log1p">log1p</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:log1p" class="selflink">#</a></p><p class="src"><a href="#v:expm1">expm1</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:expm1" class="selflink">#</a></p><p class="src"><a href="#v:log1pexp">log1pexp</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:log1pexp" class="selflink">#</a></p><p class="src"><a href="#v:log1mexp">log1mexp</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:log1mexp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:R:Fractional:4" class="instance expander" onclick="toggleSection('i:id:R:Fractional:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Fractional">Fractional</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</span> <a href="src/Internal-Static.html#line-79" class="link">Source</a> <a href="#t:R" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:R:Fractional:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-47-">(/)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:-47-" class="selflink">#</a></p><p class="src"><a href="#v:recip">recip</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:recip" class="selflink">#</a></p><p class="src"><a href="#v:fromRational">fromRational</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Rational">Rational</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:fromRational" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:R:Num:5" class="instance expander" onclick="toggleSection('i:id:R:Num:5')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Num">Num</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</span> <a href="src/Internal-Static.html#line-79" class="link">Source</a> <a href="#t:R" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:R:Num:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-43-">(+)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:-43-" class="selflink">#</a></p><p class="src"><a href="#v:-45-">(-)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:-45-" class="selflink">#</a></p><p class="src"><a href="#v:-42-">(*)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:-42-" class="selflink">#</a></p><p class="src"><a href="#v:negate">negate</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:negate" class="selflink">#</a></p><p class="src"><a href="#v:abs">abs</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:abs" class="selflink">#</a></p><p class="src"><a href="#v:signum">signum</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:signum" class="selflink">#</a></p><p class="src"><a href="#v:fromInteger">fromInteger</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:fromInteger" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:R:Show:6" class="instance expander" onclick="toggleSection('i:id:R:Show:6')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</span> <a href="src/Internal-Static.html#line-321" class="link">Source</a> <a href="#t:R" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:R:Show:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:R:Generic:7" class="instance expander" onclick="toggleSection('i:id:R:Generic:7')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</span> <a href="src/Internal-Static.html#line-79" class="link">Source</a> <a href="#t:R" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:R:Generic:7" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="#t:Rep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:from">from</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n) x <a href="#v:from" class="selflink">#</a></p><p class="src"><a href="#v:to">to</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n) x -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="#v:to" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:R:Binary:8" class="instance expander" onclick="toggleSection('i:id:R:Binary:8')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary.html#t:Binary">Binary</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</span> <a href="src/Internal-Static.html#line-79" class="link">Source</a> <a href="#t:R" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:R:Binary:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:put">put</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Put.html#t:Put">Put</a> <a href="#v:put" class="selflink">#</a></p><p class="src"><a href="#v:get">get</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Get-Internal.html#t:Get">Get</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n) <a href="#v:get" class="selflink">#</a></p><p class="src"><a href="#v:putList">putList</a> :: [<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Put.html#t:Put">Put</a> <a href="#v:putList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:R:NFData:9" class="instance expander" onclick="toggleSection('i:id:R:NFData:9')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/deepseq-1.4.2.0/Control-DeepSeq.html#t:NFData">NFData</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</span> <a href="src/Internal-Static.html#line-102" class="link">Source</a> <a href="#t:R" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:R:NFData:9" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:rnf">rnf</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; () <a href="#v:rnf" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:R:Additive:10" class="instance expander" onclick="toggleSection('i:id:R:Additive:10')"></span> <a href="Numeric-LinearAlgebra.html#t:Additive">Additive</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</span> <a href="src/Internal-Static.html#line-521" class="link">Source</a> <a href="#t:R" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:R:Additive:10" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:add">add</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Internal-Numeric.html#add" class="link">Source</a> <a href="#v:add" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:R:Disp:11" class="instance expander" onclick="toggleSection('i:id:R:Disp:11')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Disp">Disp</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</span> <a href="src/Internal-Static.html#line-556" class="link">Source</a> <a href="#t:R" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:R:Disp:11" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:disp">disp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Internal-Static.html#disp" class="link">Source</a> <a href="#v:disp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:R:Eigen:12" class="instance expander" onclick="toggleSection('i:id:R:Eigen:12')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Eigen">Eigen</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-312" class="link">Source</a> <a href="#t:Eigen" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:R:Eigen:12" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:eigensystem">eigensystem</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n) <a href="src/Numeric-LinearAlgebra-Static.html#eigensystem" class="link">Source</a> <a href="#v:eigensystem" class="selflink">#</a></p><p class="src"><a href="#v:eigenvalues">eigenvalues</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#eigenvalues" class="link">Source</a> <a href="#v:eigenvalues" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:R:Diag:13" class="instance expander" onclick="toggleSection('i:id:R:Diag:13')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Diag">Diag</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n) (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-231" class="link">Source</a> <a href="#t:Diag" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:R:Diag:13" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:takeDiag">takeDiag</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#takeDiag" class="link">Source</a> <a href="#v:takeDiag" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:R:Rep:14" class="instance expander" onclick="toggleSection('i:id:R:Rep:14')"></span> <span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</span> <a href="src/Internal-Static.html#line-78" class="link">Source</a> <a href="#t:R" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:R:Rep:14" class="inst-details hide"><div class="src"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:vec2" class="def">vec2</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> 2 <a href="src/Numeric-LinearAlgebra-Static.html#vec2" class="link">Source</a> <a href="#v:vec2" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:vec3" class="def">vec3</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> 3 <a href="src/Numeric-LinearAlgebra-Static.html#vec3" class="link">Source</a> <a href="#v:vec3" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:vec4" class="def">vec4</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> 4 <a href="src/Numeric-LinearAlgebra-Static.html#vec4" class="link">Source</a> <a href="#v:vec4" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:-38-" class="def">(&amp;)</a> :: <span class="keyword">forall</span> n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, 1 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> (n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-43-">+</a> 1) <span class="fixity">infixl 4</span><span class="rightedge"></span> <a href="src/Numeric-LinearAlgebra-Static.html#%26" class="link">Source</a> <a href="#v:-38-" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:-35-" class="def">(#)</a> :: <span class="keyword">forall</span> n m. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> (n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-43-">+</a> m) <span class="fixity">infixl 4</span><span class="rightedge"></span> <a href="src/Numeric-LinearAlgebra-Static.html#%23" class="link">Source</a> <a href="#v:-35-" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:split" class="def">split</a> :: <span class="keyword">forall</span> p n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> p, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, p <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> p, <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> (n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-45-">-</a> p)) <a href="src/Numeric-LinearAlgebra-Static.html#split" class="link">Source</a> <a href="#v:split" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:headTail" class="def">headTail</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, 1 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>, <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> (n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-45-">-</a> 1)) <a href="src/Numeric-LinearAlgebra-Static.html#headTail" class="link">Source</a> <a href="#v:headTail" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:vector" class="def">vector</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; [<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>] -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#vector" class="link">Source</a> <a href="#v:vector" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:linspace" class="def">linspace</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>, <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#linspace" class="link">Source</a> <a href="#v:linspace" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:range" class="def">range</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#range" class="link">Source</a> <a href="#v:range" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:dim" class="def">dim</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#dim" class="link">Source</a> <a href="#v:dim" class="selflink">#</a></p></div><h1 id="g:2">Matrix</h1><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:L" class="def">L</a> m n <a href="src/Internal-Static.html#L" class="link">Source</a> <a href="#t:L" class="selflink">#</a></p><div class="subs instances"><p id="control.i:L" class="caption collapser" onclick="toggleSection('i:L')">Instances</p><div id="section.i:L" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:L:Domain:1" class="instance expander" onclick="toggleSection('i:id:L:Domain:1')"></span> <a href="Numeric-LinearAlgebra-Static.html#t:Domain">Domain</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a></span> <a href="src/Numeric-LinearAlgebra-Static.html#line-545" class="link">Source</a> <a href="#t:Domain" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:L:Domain:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:mul">mul</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m k -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> k n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <a href="src/Numeric-LinearAlgebra-Static.html#mul" class="link">Source</a> <a href="#v:mul" class="selflink">#</a></p><p class="src"><a href="#v:app">app</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m <a href="src/Numeric-LinearAlgebra-Static.html#app" class="link">Source</a> <a href="#v:app" class="selflink">#</a></p><p class="src"><a href="#v:dot">dot</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="src/Numeric-LinearAlgebra-Static.html#dot" class="link">Source</a> <a href="#v:dot" class="selflink">#</a></p><p class="src"><a href="#v:cross">cross</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> 3 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> 3 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> 3 <a href="src/Numeric-LinearAlgebra-Static.html#cross" class="link">Source</a> <a href="#v:cross" class="selflink">#</a></p><p class="src"><a href="#v:diagR">diagR</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> k -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <a href="src/Numeric-LinearAlgebra-Static.html#diagR" class="link">Source</a> <a href="#v:diagR" class="selflink">#</a></p><p class="src"><a href="#v:dvmap">dvmap</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#dvmap" class="link">Source</a> <a href="#v:dvmap" class="selflink">#</a></p><p class="src"><a href="#v:dmmap">dmmap</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="src/Numeric-LinearAlgebra-Static.html#dmmap" class="link">Source</a> <a href="#v:dmmap" class="selflink">#</a></p><p class="src"><a href="#v:outer">outer</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="src/Numeric-LinearAlgebra-Static.html#outer" class="link">Source</a> <a href="#v:outer" class="selflink">#</a></p><p class="src"><a href="#v:zipWithVector">zipWithVector</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#zipWithVector" class="link">Source</a> <a href="#v:zipWithVector" class="selflink">#</a></p><p class="src"><a href="#v:det">det</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="src/Numeric-LinearAlgebra-Static.html#det" class="link">Source</a> <a href="#v:det" class="selflink">#</a></p><p class="src"><a href="#v:invlndet">invlndet</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n, (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>, <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>)) <a href="src/Numeric-LinearAlgebra-Static.html#invlndet" class="link">Source</a> <a href="#v:invlndet" class="selflink">#</a></p><p class="src"><a href="#v:expm">expm</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#expm" class="link">Source</a> <a href="#v:expm" class="selflink">#</a></p><p class="src"><a href="#v:sqrtm">sqrtm</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#sqrtm" class="link">Source</a> <a href="#v:sqrtm" class="selflink">#</a></p><p class="src"><a href="#v:inv">inv</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#inv" class="link">Source</a> <a href="#v:inv" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:L:Sized:2" class="instance expander" onclick="toggleSection('i:id:L:Sized:2')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sized">Sized</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n) <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a></span> <a href="src/Internal-Static.html#line-245" class="link">Source</a> <a href="#t:L" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:L:Sized:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:konst">konst</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <a href="src/Internal-Static.html#konst" class="link">Source</a> <a href="#v:konst" class="selflink">#</a></p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="src/Internal-Static.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>] -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <a href="src/Internal-Static.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:extract">extract</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="src/Internal-Static.html#extract" class="link">Source</a> <a href="#v:extract" class="selflink">#</a></p><p class="src"><a href="#v:create">create</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n) <a href="src/Internal-Static.html#create" class="link">Source</a> <a href="#v:create" class="selflink">#</a></p><p class="src"><a href="#v:size">size</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra.html#t:IndexOf">IndexOf</a> <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="src/Internal-Static.html#size" class="link">Source</a> <a href="#v:size" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:L:Eigen:3" class="instance expander" onclick="toggleSection('i:id:L:Eigen:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Eigen">Eigen</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-312" class="link">Source</a> <a href="#t:Eigen" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:L:Eigen:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:eigensystem">eigensystem</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n) <a href="src/Numeric-LinearAlgebra-Static.html#eigensystem" class="link">Source</a> <a href="#v:eigensystem" class="selflink">#</a></p><p class="src"><a href="#v:eigenvalues">eigenvalues</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#eigenvalues" class="link">Source</a> <a href="#v:eigenvalues" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:L:Eigen:4" class="instance expander" onclick="toggleSection('i:id:L:Eigen:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Eigen">Eigen</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-319" class="link">Source</a> <a href="#t:Eigen" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:L:Eigen:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:eigensystem">eigensystem</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n, <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n) <a href="src/Numeric-LinearAlgebra-Static.html#eigensystem" class="link">Source</a> <a href="#v:eigensystem" class="selflink">#</a></p><p class="src"><a href="#v:eigenvalues">eigenvalues</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Numeric-LinearAlgebra-Static.html#eigenvalues" class="link">Source</a> <a href="#v:eigenvalues" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:L:Floating:5" class="instance expander" onclick="toggleSection('i:id:L:Floating:5')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Numeric.html#t:Floating">Floating</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m)</span> <a href="src/Internal-Static.html#line-456" class="link">Source</a> <a href="#t:L" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:L:Floating:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pi">pi</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:pi" class="selflink">#</a></p><p class="src"><a href="#v:exp">exp</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:exp" class="selflink">#</a></p><p class="src"><a href="#v:log">log</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:log" class="selflink">#</a></p><p class="src"><a href="#v:sqrt">sqrt</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:sqrt" class="selflink">#</a></p><p class="src"><a href="#v:-42--42-">(**)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:-42--42-" class="selflink">#</a></p><p class="src"><a href="#v:logBase">logBase</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:logBase" class="selflink">#</a></p><p class="src"><a href="#v:sin">sin</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:sin" class="selflink">#</a></p><p class="src"><a href="#v:cos">cos</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:cos" class="selflink">#</a></p><p class="src"><a href="#v:tan">tan</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:tan" class="selflink">#</a></p><p class="src"><a href="#v:asin">asin</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:asin" class="selflink">#</a></p><p class="src"><a href="#v:acos">acos</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:acos" class="selflink">#</a></p><p class="src"><a href="#v:atan">atan</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:atan" class="selflink">#</a></p><p class="src"><a href="#v:sinh">sinh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:sinh" class="selflink">#</a></p><p class="src"><a href="#v:cosh">cosh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:cosh" class="selflink">#</a></p><p class="src"><a href="#v:tanh">tanh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:tanh" class="selflink">#</a></p><p class="src"><a href="#v:asinh">asinh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:asinh" class="selflink">#</a></p><p class="src"><a href="#v:acosh">acosh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:acosh" class="selflink">#</a></p><p class="src"><a href="#v:atanh">atanh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:atanh" class="selflink">#</a></p><p class="src"><a href="#v:log1p">log1p</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:log1p" class="selflink">#</a></p><p class="src"><a href="#v:expm1">expm1</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:expm1" class="selflink">#</a></p><p class="src"><a href="#v:log1pexp">log1pexp</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:log1pexp" class="selflink">#</a></p><p class="src"><a href="#v:log1mexp">log1mexp</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:log1mexp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:L:Fractional:6" class="instance expander" onclick="toggleSection('i:id:L:Fractional:6')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Fractional">Fractional</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m)</span> <a href="src/Internal-Static.html#line-451" class="link">Source</a> <a href="#t:L" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:L:Fractional:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-47-">(/)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:-47-" class="selflink">#</a></p><p class="src"><a href="#v:recip">recip</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:recip" class="selflink">#</a></p><p class="src"><a href="#v:fromRational">fromRational</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Rational">Rational</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:fromRational" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:L:Num:7" class="instance expander" onclick="toggleSection('i:id:L:Num:7')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Num">Num</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m)</span> <a href="src/Internal-Static.html#line-441" class="link">Source</a> <a href="#t:L" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:L:Num:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-43-">(+)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:-43-" class="selflink">#</a></p><p class="src"><a href="#v:-45-">(-)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:-45-" class="selflink">#</a></p><p class="src"><a href="#v:-42-">(*)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:-42-" class="selflink">#</a></p><p class="src"><a href="#v:negate">negate</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:negate" class="selflink">#</a></p><p class="src"><a href="#v:abs">abs</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:abs" class="selflink">#</a></p><p class="src"><a href="#v:signum">signum</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:signum" class="selflink">#</a></p><p class="src"><a href="#v:fromInteger">fromInteger</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="#v:fromInteger" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:L:Show:8" class="instance expander" onclick="toggleSection('i:id:L:Show:8')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n)</span> <a href="src/Internal-Static.html#line-337" class="link">Source</a> <a href="#t:L" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:L:Show:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:L:Generic:9" class="instance expander" onclick="toggleSection('i:id:L:Generic:9')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n)</span> <a href="src/Internal-Static.html#line-85" class="link">Source</a> <a href="#t:L" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:L:Generic:9" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="#t:Rep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:from">from</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n) x <a href="#v:from" class="selflink">#</a></p><p class="src"><a href="#v:to">to</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n) x -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <a href="#v:to" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:L:Binary:10" class="instance expander" onclick="toggleSection('i:id:L:Binary:10')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary.html#t:Binary">Binary</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n)</span> <a href="src/Internal-Static.html#line-85" class="link">Source</a> <a href="#t:L" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:L:Binary:10" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:put">put</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Put.html#t:Put">Put</a> <a href="#v:put" class="selflink">#</a></p><p class="src"><a href="#v:get">get</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Get-Internal.html#t:Get">Get</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n) <a href="#v:get" class="selflink">#</a></p><p class="src"><a href="#v:putList">putList</a> :: [<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/binary-0.8.3.0/Data-Binary-Put.html#t:Put">Put</a> <a href="#v:putList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:L:NFData:11" class="instance expander" onclick="toggleSection('i:id:L:NFData:11')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/deepseq-1.4.2.0/Control-DeepSeq.html#t:NFData">NFData</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m)</span> <a href="src/Internal-Static.html#line-108" class="link">Source</a> <a href="#t:L" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:L:NFData:11" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:rnf">rnf</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; () <a href="#v:rnf" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:L:Additive:12" class="instance expander" onclick="toggleSection('i:id:L:Additive:12')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra.html#t:Additive">Additive</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n)</span> <a href="src/Internal-Static.html#line-527" class="link">Source</a> <a href="#t:L" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:L:Additive:12" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:add">add</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <a href="src/Internal-Numeric.html#add" class="link">Source</a> <a href="#v:add" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:L:Disp:13" class="instance expander" onclick="toggleSection('i:id:L:Disp:13')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Disp">Disp</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n)</span> <a href="src/Internal-Static.html#line-541" class="link">Source</a> <a href="#t:L" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:L:Disp:13" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:disp">disp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Internal-Static.html#disp" class="link">Source</a> <a href="#v:disp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:L:Diag:14" class="instance expander" onclick="toggleSection('i:id:L:Diag:14')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Diag">Diag</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n) (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-231" class="link">Source</a> <a href="#t:Diag" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:L:Diag:14" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:takeDiag">takeDiag</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#takeDiag" class="link">Source</a> <a href="#v:takeDiag" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:L:Transposable:15" class="instance expander" onclick="toggleSection('i:id:L:Transposable:15')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m) =&gt; <a href="Numeric-LinearAlgebra.html#t:Transposable">Transposable</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n) (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m)</span> <a href="src/Internal-Static.html#line-282" class="link">Source</a> <a href="#t:L" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:L:Transposable:15" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:tr">tr</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="src/Internal-Numeric.html#tr" class="link">Source</a> <a href="#v:tr" class="selflink">#</a></p><p class="src"><a href="#v:tr-39-">tr'</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="src/Internal-Numeric.html#tr%27" class="link">Source</a> <a href="#v:tr-39-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:L:Rep:16" class="instance expander" onclick="toggleSection('i:id:L:Rep:16')"></span> <span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n)</span> <a href="src/Internal-Static.html#line-84" class="link">Source</a> <a href="#t:L" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:L:Rep:16" class="inst-details hide"><div class="src"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n)</div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:Sq" class="def">Sq</a> n = <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#Sq" class="link">Source</a> <a href="#t:Sq" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:build" class="def">build</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m) =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <a href="src/Numeric-LinearAlgebra-Static.html#build" class="link">Source</a> <a href="#v:build" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:row" class="def">row</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> 1 n <a href="src/Numeric-LinearAlgebra-Static.html#row" class="link">Source</a> <a href="#v:row" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:col" class="def">col</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n 1 <a href="src/Numeric-LinearAlgebra-Static.html#col" class="link">Source</a> <a href="#v:col" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:-124--124--124-" class="def">(|||)</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> r2, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> r1, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-43-">(+)</a> r1 r2), <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> c) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> c r1 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> c r2 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> c (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-43-">(+)</a> r1 r2) <span class="fixity">infixl 3</span><span class="rightedge"></span> <a href="src/Numeric-LinearAlgebra-Static.html#%7C%7C%7C" class="link">Source</a> <a href="#v:-124--124--124-" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:-61--61--61-" class="def">(===)</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> r1, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> r2, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> c) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> r1 c -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> r2 c -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> (r1 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-43-">+</a> r2) c <span class="fixity">infixl 2</span><span class="rightedge"></span> <a href="src/Numeric-LinearAlgebra-Static.html#%3D%3D%3D" class="link">Source</a> <a href="#v:-61--61--61-" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:splitRows" class="def">splitRows</a> :: <span class="keyword">forall</span> p m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> p, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, p <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> m) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> p n, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> (m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-45-">-</a> p) n) <a href="src/Numeric-LinearAlgebra-Static.html#splitRows" class="link">Source</a> <a href="#v:splitRows" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:splitCols" class="def">splitCols</a> :: <span class="keyword">forall</span> p m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> p, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> (n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-45-">-</a> p), p <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m p, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m (n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-45-">-</a> p)) <a href="src/Numeric-LinearAlgebra-Static.html#splitCols" class="link">Source</a> <a href="#v:splitCols" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:unrow" class="def">unrow</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> 1 n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#unrow" class="link">Source</a> <a href="#v:unrow" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:uncol" class="def">uncol</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n 1 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#uncol" class="link">Source</a> <a href="#v:uncol" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:tr" class="def">tr</a> :: <a href="Numeric-LinearAlgebra.html#t:Transposable">Transposable</a> m mt =&gt; m -&gt; mt <a href="src/Internal-Numeric.html#tr" class="link">Source</a> <a href="#v:tr" class="selflink">#</a></p><div class="doc"><p>conjugate transpose</p></div></div><div class="top"><p class="src"><a id="v:eye" class="def">eye</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n <a href="src/Numeric-LinearAlgebra-Static.html#eye" class="link">Source</a> <a href="#v:eye" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:diag" class="def">diag</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n <a href="src/Numeric-LinearAlgebra-Static.html#diag" class="link">Source</a> <a href="#v:diag" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:blockAt" class="def">blockAt</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <a href="src/Numeric-LinearAlgebra-Static.html#blockAt" class="link">Source</a> <a href="#v:blockAt" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:matrix" class="def">matrix</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; [<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>] -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <a href="src/Numeric-LinearAlgebra-Static.html#matrix" class="link">Source</a> <a href="#v:matrix" class="selflink">#</a></p></div><h1 id="g:3">Complex</h1><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:-8450-" class="def">&#8450;</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Complex.html#t:Complex">Complex</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Double">Double</a> <a href="src/Internal-Static.html#%2102" class="link">Source</a> <a href="#t:-8450-" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:C" class="def">C</a> n <a href="src/Internal-Static.html#C" class="link">Source</a> <a href="#t:C" class="selflink">#</a></p><div class="subs instances"><p id="control.i:C" class="caption collapser" onclick="toggleSection('i:C')">Instances</p><div id="section.i:C" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:C:Domain:1" class="instance expander" onclick="toggleSection('i:id:C:Domain:1')"></span> <a href="Numeric-LinearAlgebra-Static.html#t:Domain">Domain</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a></span> <a href="src/Numeric-LinearAlgebra-Static.html#line-562" class="link">Source</a> <a href="#t:Domain" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:C:Domain:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:mul">mul</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m k -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> k n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n <a href="src/Numeric-LinearAlgebra-Static.html#mul" class="link">Source</a> <a href="#v:mul" class="selflink">#</a></p><p class="src"><a href="#v:app">app</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> m <a href="src/Numeric-LinearAlgebra-Static.html#app" class="link">Source</a> <a href="#v:app" class="selflink">#</a></p><p class="src"><a href="#v:dot">dot</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="src/Numeric-LinearAlgebra-Static.html#dot" class="link">Source</a> <a href="#v:dot" class="selflink">#</a></p><p class="src"><a href="#v:cross">cross</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> 3 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> 3 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> 3 <a href="src/Numeric-LinearAlgebra-Static.html#cross" class="link">Source</a> <a href="#v:cross" class="selflink">#</a></p><p class="src"><a href="#v:diagR">diagR</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> k -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n <a href="src/Numeric-LinearAlgebra-Static.html#diagR" class="link">Source</a> <a href="#v:diagR" class="selflink">#</a></p><p class="src"><a href="#v:dvmap">dvmap</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Numeric-LinearAlgebra-Static.html#dvmap" class="link">Source</a> <a href="#v:dvmap" class="selflink">#</a></p><p class="src"><a href="#v:dmmap">dmmap</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="src/Numeric-LinearAlgebra-Static.html#dmmap" class="link">Source</a> <a href="#v:dmmap" class="selflink">#</a></p><p class="src"><a href="#v:outer">outer</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="src/Numeric-LinearAlgebra-Static.html#outer" class="link">Source</a> <a href="#v:outer" class="selflink">#</a></p><p class="src"><a href="#v:zipWithVector">zipWithVector</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Numeric-LinearAlgebra-Static.html#zipWithVector" class="link">Source</a> <a href="#v:zipWithVector" class="selflink">#</a></p><p class="src"><a href="#v:det">det</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="src/Numeric-LinearAlgebra-Static.html#det" class="link">Source</a> <a href="#v:det" class="selflink">#</a></p><p class="src"><a href="#v:invlndet">invlndet</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n, (<a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>, <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>)) <a href="src/Numeric-LinearAlgebra-Static.html#invlndet" class="link">Source</a> <a href="#v:invlndet" class="selflink">#</a></p><p class="src"><a href="#v:expm">expm</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#expm" class="link">Source</a> <a href="#v:expm" class="selflink">#</a></p><p class="src"><a href="#v:sqrtm">sqrtm</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#sqrtm" class="link">Source</a> <a href="#v:sqrtm" class="selflink">#</a></p><p class="src"><a href="#v:inv">inv</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#inv" class="link">Source</a> <a href="#v:inv" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:C:Sized:2" class="instance expander" onclick="toggleSection('i:id:C:Sized:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sized">Sized</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n) <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a></span> <a href="src/Internal-Static.html#line-212" class="link">Source</a> <a href="#t:C" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:C:Sized:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:konst">konst</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Internal-Static.html#konst" class="link">Source</a> <a href="#v:konst" class="selflink">#</a></p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="src/Internal-Static.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>] -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Internal-Static.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:extract">extract</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="src/Internal-Static.html#extract" class="link">Source</a> <a href="#v:extract" class="selflink">#</a></p><p class="src"><a href="#v:create">create</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n) <a href="src/Internal-Static.html#create" class="link">Source</a> <a href="#v:create" class="selflink">#</a></p><p class="src"><a href="#v:size">size</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra.html#t:IndexOf">IndexOf</a> <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="src/Internal-Static.html#size" class="link">Source</a> <a href="#v:size" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:C:Floating:3" class="instance expander" onclick="toggleSection('i:id:C:Floating:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Numeric.html#t:Floating">Floating</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n)</span> <a href="src/Internal-Static.html#line-82" class="link">Source</a> <a href="#t:C" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:C:Floating:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pi">pi</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:pi" class="selflink">#</a></p><p class="src"><a href="#v:exp">exp</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:exp" class="selflink">#</a></p><p class="src"><a href="#v:log">log</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:log" class="selflink">#</a></p><p class="src"><a href="#v:sqrt">sqrt</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:sqrt" class="selflink">#</a></p><p class="src"><a href="#v:-42--42-">(**)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:-42--42-" class="selflink">#</a></p><p class="src"><a href="#v:logBase">logBase</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:logBase" class="selflink">#</a></p><p class="src"><a href="#v:sin">sin</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:sin" class="selflink">#</a></p><p class="src"><a href="#v:cos">cos</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:cos" class="selflink">#</a></p><p class="src"><a href="#v:tan">tan</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:tan" class="selflink">#</a></p><p class="src"><a href="#v:asin">asin</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:asin" class="selflink">#</a></p><p class="src"><a href="#v:acos">acos</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:acos" class="selflink">#</a></p><p class="src"><a href="#v:atan">atan</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:atan" class="selflink">#</a></p><p class="src"><a href="#v:sinh">sinh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:sinh" class="selflink">#</a></p><p class="src"><a href="#v:cosh">cosh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:cosh" class="selflink">#</a></p><p class="src"><a href="#v:tanh">tanh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:tanh" class="selflink">#</a></p><p class="src"><a href="#v:asinh">asinh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:asinh" class="selflink">#</a></p><p class="src"><a href="#v:acosh">acosh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:acosh" class="selflink">#</a></p><p class="src"><a href="#v:atanh">atanh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:atanh" class="selflink">#</a></p><p class="src"><a href="#v:log1p">log1p</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:log1p" class="selflink">#</a></p><p class="src"><a href="#v:expm1">expm1</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:expm1" class="selflink">#</a></p><p class="src"><a href="#v:log1pexp">log1pexp</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:log1pexp" class="selflink">#</a></p><p class="src"><a href="#v:log1mexp">log1mexp</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:log1mexp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:C:Fractional:4" class="instance expander" onclick="toggleSection('i:id:C:Fractional:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Fractional">Fractional</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n)</span> <a href="src/Internal-Static.html#line-82" class="link">Source</a> <a href="#t:C" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:C:Fractional:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-47-">(/)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:-47-" class="selflink">#</a></p><p class="src"><a href="#v:recip">recip</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:recip" class="selflink">#</a></p><p class="src"><a href="#v:fromRational">fromRational</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Rational">Rational</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:fromRational" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:C:Num:5" class="instance expander" onclick="toggleSection('i:id:C:Num:5')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Num">Num</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n)</span> <a href="src/Internal-Static.html#line-82" class="link">Source</a> <a href="#t:C" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:C:Num:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-43-">(+)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:-43-" class="selflink">#</a></p><p class="src"><a href="#v:-45-">(-)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:-45-" class="selflink">#</a></p><p class="src"><a href="#v:-42-">(*)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:-42-" class="selflink">#</a></p><p class="src"><a href="#v:negate">negate</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:negate" class="selflink">#</a></p><p class="src"><a href="#v:abs">abs</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:abs" class="selflink">#</a></p><p class="src"><a href="#v:signum">signum</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:signum" class="selflink">#</a></p><p class="src"><a href="#v:fromInteger">fromInteger</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:fromInteger" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:C:Show:6" class="instance expander" onclick="toggleSection('i:id:C:Show:6')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n)</span> <a href="src/Internal-Static.html#line-329" class="link">Source</a> <a href="#t:C" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:C:Show:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:C:Generic:7" class="instance expander" onclick="toggleSection('i:id:C:Generic:7')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n)</span> <a href="src/Internal-Static.html#line-82" class="link">Source</a> <a href="#t:C" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:C:Generic:7" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="#t:Rep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:from">from</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n) x <a href="#v:from" class="selflink">#</a></p><p class="src"><a href="#v:to">to</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n) x -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="#v:to" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:C:NFData:8" class="instance expander" onclick="toggleSection('i:id:C:NFData:8')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/deepseq-1.4.2.0/Control-DeepSeq.html#t:NFData">NFData</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n)</span> <a href="src/Internal-Static.html#line-105" class="link">Source</a> <a href="#t:C" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:C:NFData:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:rnf">rnf</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; () <a href="#v:rnf" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:C:Additive:9" class="instance expander" onclick="toggleSection('i:id:C:Additive:9')"></span> <a href="Numeric-LinearAlgebra.html#t:Additive">Additive</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n)</span> <a href="src/Internal-Static.html#line-524" class="link">Source</a> <a href="#t:C" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:C:Additive:9" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:add">add</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Internal-Numeric.html#add" class="link">Source</a> <a href="#v:add" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:C:Disp:10" class="instance expander" onclick="toggleSection('i:id:C:Disp:10')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Disp">Disp</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n)</span> <a href="src/Internal-Static.html#line-562" class="link">Source</a> <a href="#t:C" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:C:Disp:10" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:disp">disp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Internal-Static.html#disp" class="link">Source</a> <a href="#v:disp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:C:Eigen:11" class="instance expander" onclick="toggleSection('i:id:C:Eigen:11')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Eigen">Eigen</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-319" class="link">Source</a> <a href="#t:Eigen" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:C:Eigen:11" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:eigensystem">eigensystem</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n, <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n) <a href="src/Numeric-LinearAlgebra-Static.html#eigensystem" class="link">Source</a> <a href="#v:eigensystem" class="selflink">#</a></p><p class="src"><a href="#v:eigenvalues">eigenvalues</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Numeric-LinearAlgebra-Static.html#eigenvalues" class="link">Source</a> <a href="#v:eigenvalues" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:C:Diag:12" class="instance expander" onclick="toggleSection('i:id:C:Diag:12')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Diag">Diag</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n) (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-236" class="link">Source</a> <a href="#t:Diag" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:C:Diag:12" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:takeDiag">takeDiag</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Numeric-LinearAlgebra-Static.html#takeDiag" class="link">Source</a> <a href="#v:takeDiag" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:C:Rep:13" class="instance expander" onclick="toggleSection('i:id:C:Rep:13')"></span> <span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n)</span> <a href="src/Internal-Static.html#line-81" class="link">Source</a> <a href="#t:C" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:C:Rep:13" class="inst-details hide"><div class="src"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n)</div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:M" class="def">M</a> m n <a href="src/Internal-Static.html#M" class="link">Source</a> <a href="#t:M" class="selflink">#</a></p><div class="subs instances"><p id="control.i:M" class="caption collapser" onclick="toggleSection('i:M')">Instances</p><div id="section.i:M" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:M:Domain:1" class="instance expander" onclick="toggleSection('i:id:M:Domain:1')"></span> <a href="Numeric-LinearAlgebra-Static.html#t:Domain">Domain</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a></span> <a href="src/Numeric-LinearAlgebra-Static.html#line-562" class="link">Source</a> <a href="#t:Domain" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:M:Domain:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:mul">mul</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m k -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> k n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n <a href="src/Numeric-LinearAlgebra-Static.html#mul" class="link">Source</a> <a href="#v:mul" class="selflink">#</a></p><p class="src"><a href="#v:app">app</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> m <a href="src/Numeric-LinearAlgebra-Static.html#app" class="link">Source</a> <a href="#v:app" class="selflink">#</a></p><p class="src"><a href="#v:dot">dot</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="src/Numeric-LinearAlgebra-Static.html#dot" class="link">Source</a> <a href="#v:dot" class="selflink">#</a></p><p class="src"><a href="#v:cross">cross</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> 3 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> 3 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> 3 <a href="src/Numeric-LinearAlgebra-Static.html#cross" class="link">Source</a> <a href="#v:cross" class="selflink">#</a></p><p class="src"><a href="#v:diagR">diagR</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> k -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n <a href="src/Numeric-LinearAlgebra-Static.html#diagR" class="link">Source</a> <a href="#v:diagR" class="selflink">#</a></p><p class="src"><a href="#v:dvmap">dvmap</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Numeric-LinearAlgebra-Static.html#dvmap" class="link">Source</a> <a href="#v:dvmap" class="selflink">#</a></p><p class="src"><a href="#v:dmmap">dmmap</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="src/Numeric-LinearAlgebra-Static.html#dmmap" class="link">Source</a> <a href="#v:dmmap" class="selflink">#</a></p><p class="src"><a href="#v:outer">outer</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="src/Numeric-LinearAlgebra-Static.html#outer" class="link">Source</a> <a href="#v:outer" class="selflink">#</a></p><p class="src"><a href="#v:zipWithVector">zipWithVector</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Numeric-LinearAlgebra-Static.html#zipWithVector" class="link">Source</a> <a href="#v:zipWithVector" class="selflink">#</a></p><p class="src"><a href="#v:det">det</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="src/Numeric-LinearAlgebra-Static.html#det" class="link">Source</a> <a href="#v:det" class="selflink">#</a></p><p class="src"><a href="#v:invlndet">invlndet</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n, (<a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>, <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>)) <a href="src/Numeric-LinearAlgebra-Static.html#invlndet" class="link">Source</a> <a href="#v:invlndet" class="selflink">#</a></p><p class="src"><a href="#v:expm">expm</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#expm" class="link">Source</a> <a href="#v:expm" class="selflink">#</a></p><p class="src"><a href="#v:sqrtm">sqrtm</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#sqrtm" class="link">Source</a> <a href="#v:sqrtm" class="selflink">#</a></p><p class="src"><a href="#v:inv">inv</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#inv" class="link">Source</a> <a href="#v:inv" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:M:Sized:2" class="instance expander" onclick="toggleSection('i:id:M:Sized:2')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sized">Sized</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n) <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a></span> <a href="src/Internal-Static.html#line-263" class="link">Source</a> <a href="#t:M" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:M:Sized:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:konst">konst</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n <a href="src/Internal-Static.html#konst" class="link">Source</a> <a href="#v:konst" class="selflink">#</a></p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="src/Internal-Static.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>] -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n <a href="src/Internal-Static.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:extract">extract</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="src/Internal-Static.html#extract" class="link">Source</a> <a href="#v:extract" class="selflink">#</a></p><p class="src"><a href="#v:create">create</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n) <a href="src/Internal-Static.html#create" class="link">Source</a> <a href="#v:create" class="selflink">#</a></p><p class="src"><a href="#v:size">size</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="Numeric-LinearAlgebra.html#t:IndexOf">IndexOf</a> <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="src/Internal-Static.html#size" class="link">Source</a> <a href="#v:size" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:M:Eigen:3" class="instance expander" onclick="toggleSection('i:id:M:Eigen:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Eigen">Eigen</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-319" class="link">Source</a> <a href="#t:Eigen" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:M:Eigen:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:eigensystem">eigensystem</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n, <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n) <a href="src/Numeric-LinearAlgebra-Static.html#eigensystem" class="link">Source</a> <a href="#v:eigensystem" class="selflink">#</a></p><p class="src"><a href="#v:eigenvalues">eigenvalues</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Numeric-LinearAlgebra-Static.html#eigenvalues" class="link">Source</a> <a href="#v:eigenvalues" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:M:Floating:4" class="instance expander" onclick="toggleSection('i:id:M:Floating:4')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Numeric.html#t:Floating">Floating</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m)</span> <a href="src/Internal-Static.html#line-502" class="link">Source</a> <a href="#t:M" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:M:Floating:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pi">pi</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:pi" class="selflink">#</a></p><p class="src"><a href="#v:exp">exp</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:exp" class="selflink">#</a></p><p class="src"><a href="#v:log">log</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:log" class="selflink">#</a></p><p class="src"><a href="#v:sqrt">sqrt</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:sqrt" class="selflink">#</a></p><p class="src"><a href="#v:-42--42-">(**)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:-42--42-" class="selflink">#</a></p><p class="src"><a href="#v:logBase">logBase</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:logBase" class="selflink">#</a></p><p class="src"><a href="#v:sin">sin</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:sin" class="selflink">#</a></p><p class="src"><a href="#v:cos">cos</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:cos" class="selflink">#</a></p><p class="src"><a href="#v:tan">tan</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:tan" class="selflink">#</a></p><p class="src"><a href="#v:asin">asin</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:asin" class="selflink">#</a></p><p class="src"><a href="#v:acos">acos</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:acos" class="selflink">#</a></p><p class="src"><a href="#v:atan">atan</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:atan" class="selflink">#</a></p><p class="src"><a href="#v:sinh">sinh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:sinh" class="selflink">#</a></p><p class="src"><a href="#v:cosh">cosh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:cosh" class="selflink">#</a></p><p class="src"><a href="#v:tanh">tanh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:tanh" class="selflink">#</a></p><p class="src"><a href="#v:asinh">asinh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:asinh" class="selflink">#</a></p><p class="src"><a href="#v:acosh">acosh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:acosh" class="selflink">#</a></p><p class="src"><a href="#v:atanh">atanh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:atanh" class="selflink">#</a></p><p class="src"><a href="#v:log1p">log1p</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:log1p" class="selflink">#</a></p><p class="src"><a href="#v:expm1">expm1</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:expm1" class="selflink">#</a></p><p class="src"><a href="#v:log1pexp">log1pexp</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:log1pexp" class="selflink">#</a></p><p class="src"><a href="#v:log1mexp">log1mexp</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:log1mexp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:M:Fractional:5" class="instance expander" onclick="toggleSection('i:id:M:Fractional:5')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Fractional">Fractional</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m)</span> <a href="src/Internal-Static.html#line-497" class="link">Source</a> <a href="#t:M" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:M:Fractional:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-47-">(/)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:-47-" class="selflink">#</a></p><p class="src"><a href="#v:recip">recip</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:recip" class="selflink">#</a></p><p class="src"><a href="#v:fromRational">fromRational</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Rational">Rational</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:fromRational" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:M:Num:6" class="instance expander" onclick="toggleSection('i:id:M:Num:6')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Num">Num</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m)</span> <a href="src/Internal-Static.html#line-487" class="link">Source</a> <a href="#t:M" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:M:Num:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-43-">(+)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:-43-" class="selflink">#</a></p><p class="src"><a href="#v:-45-">(-)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:-45-" class="selflink">#</a></p><p class="src"><a href="#v:-42-">(*)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:-42-" class="selflink">#</a></p><p class="src"><a href="#v:negate">negate</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:negate" class="selflink">#</a></p><p class="src"><a href="#v:abs">abs</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:abs" class="selflink">#</a></p><p class="src"><a href="#v:signum">signum</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:signum" class="selflink">#</a></p><p class="src"><a href="#v:fromInteger">fromInteger</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="#v:fromInteger" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:M:Show:7" class="instance expander" onclick="toggleSection('i:id:M:Show:7')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n)</span> <a href="src/Internal-Static.html#line-346" class="link">Source</a> <a href="#t:M" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:M:Show:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:M:Generic:8" class="instance expander" onclick="toggleSection('i:id:M:Generic:8')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Generic">Generic</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n)</span> <a href="src/Internal-Static.html#line-88" class="link">Source</a> <a href="#t:M" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:M:Generic:8" class="inst-details hide"><div class="subs associated-types"><p class="caption">Associated Types</p><p class="src"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n) :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Kind.html#t:-42-">*</a> <a href="#t:Rep" class="selflink">#</a></p></div> <div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:from">from</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n) x <a href="#v:from" class="selflink">#</a></p><p class="src"><a href="#v:to">to</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n) x -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n <a href="#v:to" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:M:NFData:9" class="instance expander" onclick="toggleSection('i:id:M:NFData:9')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/deepseq-1.4.2.0/Control-DeepSeq.html#t:NFData">NFData</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m)</span> <a href="src/Internal-Static.html#line-111" class="link">Source</a> <a href="#t:M" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:M:NFData:9" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:rnf">rnf</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; () <a href="#v:rnf" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:M:Additive:10" class="instance expander" onclick="toggleSection('i:id:M:Additive:10')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra.html#t:Additive">Additive</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n)</span> <a href="src/Internal-Static.html#line-530" class="link">Source</a> <a href="#t:M" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:M:Additive:10" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:add">add</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n <a href="src/Internal-Numeric.html#add" class="link">Source</a> <a href="#v:add" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:M:Disp:11" class="instance expander" onclick="toggleSection('i:id:M:Disp:11')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Disp">Disp</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n)</span> <a href="src/Internal-Static.html#line-548" class="link">Source</a> <a href="#t:M" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:M:Disp:11" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:disp">disp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Internal-Static.html#disp" class="link">Source</a> <a href="#v:disp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:M:Diag:12" class="instance expander" onclick="toggleSection('i:id:M:Diag:12')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Diag">Diag</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n) (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-236" class="link">Source</a> <a href="#t:Diag" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:M:Diag:12" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:takeDiag">takeDiag</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Numeric-LinearAlgebra-Static.html#takeDiag" class="link">Source</a> <a href="#v:takeDiag" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:M:Transposable:13" class="instance expander" onclick="toggleSection('i:id:M:Transposable:13')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m) =&gt; <a href="Numeric-LinearAlgebra.html#t:Transposable">Transposable</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n) (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m)</span> <a href="src/Internal-Static.html#line-288" class="link">Source</a> <a href="#t:M" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:M:Transposable:13" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:tr">tr</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="src/Internal-Numeric.html#tr" class="link">Source</a> <a href="#v:tr" class="selflink">#</a></p><p class="src"><a href="#v:tr-39-">tr'</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="src/Internal-Numeric.html#tr%27" class="link">Source</a> <a href="#v:tr-39-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:M:Rep:14" class="instance expander" onclick="toggleSection('i:id:M:Rep:14')"></span> <span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n)</span> <a href="src/Internal-Static.html#line-87" class="link">Source</a> <a href="#t:M" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:M:Rep:14" class="inst-details hide"><div class="src"><span class="keyword">type</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-Generics.html#t:Rep">Rep</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n)</div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Her" class="def">Her</a> n <a href="src/Numeric-LinearAlgebra-Static.html#Her" class="link">Source</a> <a href="#t:Her" class="selflink">#</a></p><div class="subs instances"><p id="control.i:Her" class="caption collapser" onclick="toggleSection('i:Her')">Instances</p><div id="section.i:Her" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Her:Disp:1" class="instance expander" onclick="toggleSection('i:id:Her:Disp:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Disp">Disp</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Her">Her</a> n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-304" class="link">Source</a> <a href="#t:Her" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Her:Disp:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:disp">disp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Her">Her</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Internal-Static.html#disp" class="link">Source</a> <a href="#v:disp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Her:Transposable:2" class="instance expander" onclick="toggleSection('i:id:Her:Transposable:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra.html#t:Transposable">Transposable</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Her">Her</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:Her">Her</a> n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-876" class="link">Source</a> <a href="#t:Her" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Her:Transposable:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:tr">tr</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Her">Her</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Her">Her</a> n <a href="src/Internal-Numeric.html#tr" class="link">Source</a> <a href="#v:tr" class="selflink">#</a></p><p class="src"><a href="#v:tr-39-">tr'</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Her">Her</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Her">Her</a> n <a href="src/Internal-Numeric.html#tr%27" class="link">Source</a> <a href="#v:tr-39-" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:her" class="def">her</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Her">Her</a> n <a href="src/Numeric-LinearAlgebra-Static.html#her" class="link">Source</a> <a href="#v:her" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:-119894-" class="def">&#119894;</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sized">Sized</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> s c =&gt; s <a href="src/Numeric-LinearAlgebra-Static.html#%1D456" class="link">Source</a> <a href="#v:-119894-" class="selflink">#</a></p></div><h1 id="g:4">Products</h1><div class="top"><p class="src"><a id="v:-60--62-" class="def">(&lt;&gt;)</a> :: <span class="keyword">forall</span> m k n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m k -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> k n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <span class="fixity">infixr 8</span><span class="rightedge"></span> <a href="src/Numeric-LinearAlgebra-Static.html#%3C%3E" class="link">Source</a> <a href="#v:-60--62-" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:-35--62-" class="def">(#&gt;)</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m <span class="fixity">infixr 8</span><span class="rightedge"></span> <a href="src/Numeric-LinearAlgebra-Static.html#%23%3E" class="link">Source</a> <a href="#v:-35--62-" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:-60-.-62-" class="def">(&lt;.&gt;)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <span class="fixity">infixr 8</span><span class="rightedge"></span> <a href="src/Numeric-LinearAlgebra-Static.html#%3C.%3E" class="link">Source</a> <a href="#v:-60-.-62-" class="selflink">#</a></p></div><h1 id="g:5">Linear Systems</h1><div class="top"><p class="src"><a id="v:linSolve" class="def">linSolve</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n) <a href="src/Numeric-LinearAlgebra-Static.html#linSolve" class="link">Source</a> <a href="#v:linSolve" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:-60--92--62-" class="def">(&lt;\&gt;)</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> r) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m r -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n r <a href="src/Numeric-LinearAlgebra-Static.html#%3C%5C%3E" class="link">Source</a> <a href="#v:-60--92--62-" class="selflink">#</a></p></div><h1 id="g:6">Factorizations</h1><div class="top"><p class="src"><a id="v:svd" class="def">svd</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m m, <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n) <a href="src/Numeric-LinearAlgebra-Static.html#svd" class="link">Source</a> <a href="#v:svd" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:withCompactSVD" class="def">withCompactSVD</a> :: <span class="keyword">forall</span> m n z. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<span class="keyword">forall</span> k. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m k, <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> k, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n k) -&gt; z) -&gt; z <a href="src/Numeric-LinearAlgebra-Static.html#withCompactSVD" class="link">Source</a> <a href="#v:withCompactSVD" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:svdTall" class="def">svdTall</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, n <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> m) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n, <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n) <a href="src/Numeric-LinearAlgebra-Static.html#svdTall" class="link">Source</a> <a href="#v:svdTall" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:svdFlat" class="def">svdFlat</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, m <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m m, <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m) <a href="src/Numeric-LinearAlgebra-Static.html#svdFlat" class="link">Source</a> <a href="#v:svdFlat" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">class</span> <a id="t:Eigen" class="def">Eigen</a> m l v | m -&gt; l, m -&gt; v <span class="keyword">where</span> <a href="src/Numeric-LinearAlgebra-Static.html#Eigen" class="link">Source</a> <a href="#t:Eigen" class="selflink">#</a></p><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Numeric-LinearAlgebra-Static.html#v:eigensystem">eigensystem</a>, <a href="Numeric-LinearAlgebra-Static.html#v:eigenvalues">eigenvalues</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:eigensystem" class="def">eigensystem</a> :: m -&gt; (l, v) <a href="src/Numeric-LinearAlgebra-Static.html#eigensystem" class="link">Source</a> <a href="#v:eigensystem" class="selflink">#</a></p><p class="src"><a id="v:eigenvalues" class="def">eigenvalues</a> :: m -&gt; l <a href="src/Numeric-LinearAlgebra-Static.html#eigenvalues" class="link">Source</a> <a href="#v:eigenvalues" class="selflink">#</a></p></div><div class="subs instances"><p id="control.i:Eigen" class="caption collapser" onclick="toggleSection('i:Eigen')">Instances</p><div id="section.i:Eigen" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Eigen:Eigen:1" class="instance expander" onclick="toggleSection('i:ic:Eigen:Eigen:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Eigen">Eigen</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-312" class="link">Source</a> <a href="#t:Eigen" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Eigen:Eigen:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:eigensystem">eigensystem</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n) <a href="src/Numeric-LinearAlgebra-Static.html#eigensystem" class="link">Source</a> <a href="#v:eigensystem" class="selflink">#</a></p><p class="src"><a href="#v:eigenvalues">eigenvalues</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#eigenvalues" class="link">Source</a> <a href="#v:eigenvalues" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Eigen:Eigen:2" class="instance expander" onclick="toggleSection('i:ic:Eigen:Eigen:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Eigen">Eigen</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-319" class="link">Source</a> <a href="#t:Eigen" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Eigen:Eigen:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:eigensystem">eigensystem</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n, <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n) <a href="src/Numeric-LinearAlgebra-Static.html#eigensystem" class="link">Source</a> <a href="#v:eigensystem" class="selflink">#</a></p><p class="src"><a href="#v:eigenvalues">eigenvalues</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Numeric-LinearAlgebra-Static.html#eigenvalues" class="link">Source</a> <a href="#v:eigenvalues" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:withNullspace" class="def">withNullspace</a> :: <span class="keyword">forall</span> m n z. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<span class="keyword">forall</span> k. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n k -&gt; z) -&gt; z <a href="src/Numeric-LinearAlgebra-Static.html#withNullspace" class="link">Source</a> <a href="#v:withNullspace" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:withOrth" class="def">withOrth</a> :: <span class="keyword">forall</span> m n z. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<span class="keyword">forall</span> k. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n k -&gt; z) -&gt; z <a href="src/Numeric-LinearAlgebra-Static.html#withOrth" class="link">Source</a> <a href="#v:withOrth" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:qr" class="def">qr</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m m, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n) <a href="src/Numeric-LinearAlgebra-Static.html#qr" class="link">Source</a> <a href="#v:qr" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:chol" class="def">chol</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n <a href="src/Numeric-LinearAlgebra-Static.html#chol" class="link">Source</a> <a href="#v:chol" class="selflink">#</a></p></div><h1 id="g:7">Norms</h1><div class="top"><p class="src"><span class="keyword">class</span> <a id="t:Normed" class="def">Normed</a> a <span class="keyword">where</span> <a href="src/Internal-Util.html#Normed" class="link">Source</a> <a href="#t:Normed" class="selflink">#</a></p><div class="doc"><p>p-norm for vectors, operator norm for matrices</p></div><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Numeric-LinearAlgebra-Static.html#v:norm_0">norm_0</a>, <a href="Numeric-LinearAlgebra-Static.html#v:norm_1">norm_1</a>, <a href="Numeric-LinearAlgebra-Static.html#v:norm_2">norm_2</a>, <a href="Numeric-LinearAlgebra-Static.html#v:norm_Inf">norm_Inf</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:norm_0" class="def">norm_0</a> :: a -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_0" class="link">Source</a> <a href="#v:norm_0" class="selflink">#</a></p><p class="src"><a id="v:norm_1" class="def">norm_1</a> :: a -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_1" class="link">Source</a> <a href="#v:norm_1" class="selflink">#</a></p><p class="src"><a id="v:norm_2" class="def">norm_2</a> :: a -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_2" class="link">Source</a> <a href="#v:norm_2" class="selflink">#</a></p><p class="src"><a id="v:norm_Inf" class="def">norm_Inf</a> :: a -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_Inf" class="link">Source</a> <a href="#v:norm_Inf" class="selflink">#</a></p></div><div class="subs instances"><p id="control.i:Normed" class="caption collapser" onclick="toggleSection('i:Normed')">Instances</p><div id="section.i:Normed" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Normed:Normed:1" class="instance expander" onclick="toggleSection('i:ic:Normed:Normed:1')"></span> <a href="Numeric-LinearAlgebra-Static.html#t:Normed">Normed</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a>)</span> <a href="src/Internal-Util.html#line-309" class="link">Source</a> <a href="#t:Normed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Normed:Normed:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:norm_0">norm_0</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_0" class="link">Source</a> <a href="#v:norm_0" class="selflink">#</a></p><p class="src"><a href="#v:norm_1">norm_1</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_1" class="link">Source</a> <a href="#v:norm_1" class="selflink">#</a></p><p class="src"><a href="#v:norm_2">norm_2</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_2" class="link">Source</a> <a href="#v:norm_2" class="selflink">#</a></p><p class="src"><a href="#v:norm_Inf">norm_Inf</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_Inf" class="link">Source</a> <a href="#v:norm_Inf" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Normed:Normed:2" class="instance expander" onclick="toggleSection('i:ic:Normed:Normed:2')"></span> <a href="Numeric-LinearAlgebra-Static.html#t:Normed">Normed</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Complex.html#t:Complex">Complex</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a>))</span> <a href="src/Internal-Util.html#line-316" class="link">Source</a> <a href="#t:Normed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Normed:Normed:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:norm_0">norm_0</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Complex.html#t:Complex">Complex</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a>) -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_0" class="link">Source</a> <a href="#v:norm_0" class="selflink">#</a></p><p class="src"><a href="#v:norm_1">norm_1</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Complex.html#t:Complex">Complex</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a>) -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_1" class="link">Source</a> <a href="#v:norm_1" class="selflink">#</a></p><p class="src"><a href="#v:norm_2">norm_2</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Complex.html#t:Complex">Complex</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a>) -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_2" class="link">Source</a> <a href="#v:norm_2" class="selflink">#</a></p><p class="src"><a href="#v:norm_Inf">norm_Inf</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Complex.html#t:Complex">Complex</a> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Float">Float</a>) -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_Inf" class="link">Source</a> <a href="#v:norm_Inf" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Normed:Normed:3" class="instance expander" onclick="toggleSection('i:ic:Normed:Normed:3')"></span> <a href="Numeric-LinearAlgebra-Static.html#t:Normed">Normed</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:C">C</a>)</span> <a href="src/Internal-Util.html#line-274" class="link">Source</a> <a href="#t:Normed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Normed:Normed:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:norm_0">norm_0</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:C">C</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_0" class="link">Source</a> <a href="#v:norm_0" class="selflink">#</a></p><p class="src"><a href="#v:norm_1">norm_1</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:C">C</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_1" class="link">Source</a> <a href="#v:norm_1" class="selflink">#</a></p><p class="src"><a href="#v:norm_2">norm_2</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:C">C</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_2" class="link">Source</a> <a href="#v:norm_2" class="selflink">#</a></p><p class="src"><a href="#v:norm_Inf">norm_Inf</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:C">C</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_Inf" class="link">Source</a> <a href="#v:norm_Inf" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Normed:Normed:4" class="instance expander" onclick="toggleSection('i:ic:Normed:Normed:4')"></span> <a href="Numeric-LinearAlgebra-Static.html#t:Normed">Normed</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a>)</span> <a href="src/Internal-Util.html#line-267" class="link">Source</a> <a href="#t:Normed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Normed:Normed:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:norm_0">norm_0</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_0" class="link">Source</a> <a href="#v:norm_0" class="selflink">#</a></p><p class="src"><a href="#v:norm_1">norm_1</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_1" class="link">Source</a> <a href="#v:norm_1" class="selflink">#</a></p><p class="src"><a href="#v:norm_2">norm_2</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_2" class="link">Source</a> <a href="#v:norm_2" class="selflink">#</a></p><p class="src"><a href="#v:norm_Inf">norm_Inf</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_Inf" class="link">Source</a> <a href="#v:norm_Inf" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Normed:Normed:5" class="instance expander" onclick="toggleSection('i:ic:Normed:Normed:5')"></span> <a href="Numeric-LinearAlgebra-Static.html#t:Normed">Normed</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:Z">Z</a>)</span> <a href="src/Internal-Util.html#line-302" class="link">Source</a> <a href="#t:Normed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Normed:Normed:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:norm_0">norm_0</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:Z">Z</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_0" class="link">Source</a> <a href="#v:norm_0" class="selflink">#</a></p><p class="src"><a href="#v:norm_1">norm_1</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:Z">Z</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_1" class="link">Source</a> <a href="#v:norm_1" class="selflink">#</a></p><p class="src"><a href="#v:norm_2">norm_2</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:Z">Z</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_2" class="link">Source</a> <a href="#v:norm_2" class="selflink">#</a></p><p class="src"><a href="#v:norm_Inf">norm_Inf</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:Z">Z</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_Inf" class="link">Source</a> <a href="#v:norm_Inf" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Normed:Normed:6" class="instance expander" onclick="toggleSection('i:ic:Normed:Normed:6')"></span> <a href="Numeric-LinearAlgebra-Static.html#t:Normed">Normed</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:I">I</a>)</span> <a href="src/Internal-Util.html#line-295" class="link">Source</a> <a href="#t:Normed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Normed:Normed:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:norm_0">norm_0</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:I">I</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_0" class="link">Source</a> <a href="#v:norm_0" class="selflink">#</a></p><p class="src"><a href="#v:norm_1">norm_1</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:I">I</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_1" class="link">Source</a> <a href="#v:norm_1" class="selflink">#</a></p><p class="src"><a href="#v:norm_2">norm_2</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:I">I</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_2" class="link">Source</a> <a href="#v:norm_2" class="selflink">#</a></p><p class="src"><a href="#v:norm_Inf">norm_Inf</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Data.html#t:I">I</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_Inf" class="link">Source</a> <a href="#v:norm_Inf" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Normed:Normed:7" class="instance expander" onclick="toggleSection('i:ic:Normed:Normed:7')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Normed">Normed</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Mod">Mod</a> m <a href="Numeric-LinearAlgebra-Data.html#t:Z">Z</a>))</span> <a href="src/Internal-Util.html#line-279" class="link">Source</a> <a href="#t:Normed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Normed:Normed:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:norm_0">norm_0</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Mod">Mod</a> m <a href="Numeric-LinearAlgebra-Data.html#t:Z">Z</a>) -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_0" class="link">Source</a> <a href="#v:norm_0" class="selflink">#</a></p><p class="src"><a href="#v:norm_1">norm_1</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Mod">Mod</a> m <a href="Numeric-LinearAlgebra-Data.html#t:Z">Z</a>) -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_1" class="link">Source</a> <a href="#v:norm_1" class="selflink">#</a></p><p class="src"><a href="#v:norm_2">norm_2</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Mod">Mod</a> m <a href="Numeric-LinearAlgebra-Data.html#t:Z">Z</a>) -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_2" class="link">Source</a> <a href="#v:norm_2" class="selflink">#</a></p><p class="src"><a href="#v:norm_Inf">norm_Inf</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Mod">Mod</a> m <a href="Numeric-LinearAlgebra-Data.html#t:Z">Z</a>) -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_Inf" class="link">Source</a> <a href="#v:norm_Inf" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Normed:Normed:8" class="instance expander" onclick="toggleSection('i:ic:Normed:Normed:8')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Normed">Normed</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Mod">Mod</a> m <a href="Numeric-LinearAlgebra-Data.html#t:I">I</a>))</span> <a href="src/Internal-Util.html#line-272" class="link">Source</a> <a href="#t:Normed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Normed:Normed:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:norm_0">norm_0</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Mod">Mod</a> m <a href="Numeric-LinearAlgebra-Data.html#t:I">I</a>) -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_0" class="link">Source</a> <a href="#v:norm_0" class="selflink">#</a></p><p class="src"><a href="#v:norm_1">norm_1</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Mod">Mod</a> m <a href="Numeric-LinearAlgebra-Data.html#t:I">I</a>) -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_1" class="link">Source</a> <a href="#v:norm_1" class="selflink">#</a></p><p class="src"><a href="#v:norm_2">norm_2</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Mod">Mod</a> m <a href="Numeric-LinearAlgebra-Data.html#t:I">I</a>) -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_2" class="link">Source</a> <a href="#v:norm_2" class="selflink">#</a></p><p class="src"><a href="#v:norm_Inf">norm_Inf</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Mod">Mod</a> m <a href="Numeric-LinearAlgebra-Data.html#t:I">I</a>) -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_Inf" class="link">Source</a> <a href="#v:norm_Inf" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Normed:Normed:9" class="instance expander" onclick="toggleSection('i:ic:Normed:Normed:9')"></span> <a href="Numeric-LinearAlgebra-Static.html#t:Normed">Normed</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Data.html#t:C">C</a>)</span> <a href="src/Internal-Util.html#line-288" class="link">Source</a> <a href="#t:Normed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Normed:Normed:9" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:norm_0">norm_0</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Data.html#t:C">C</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_0" class="link">Source</a> <a href="#v:norm_0" class="selflink">#</a></p><p class="src"><a href="#v:norm_1">norm_1</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Data.html#t:C">C</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_1" class="link">Source</a> <a href="#v:norm_1" class="selflink">#</a></p><p class="src"><a href="#v:norm_2">norm_2</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Data.html#t:C">C</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_2" class="link">Source</a> <a href="#v:norm_2" class="selflink">#</a></p><p class="src"><a href="#v:norm_Inf">norm_Inf</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Data.html#t:C">C</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_Inf" class="link">Source</a> <a href="#v:norm_Inf" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Normed:Normed:10" class="instance expander" onclick="toggleSection('i:ic:Normed:Normed:10')"></span> <a href="Numeric-LinearAlgebra-Static.html#t:Normed">Normed</a> (<a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a>)</span> <a href="src/Internal-Util.html#line-281" class="link">Source</a> <a href="#t:Normed" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Normed:Normed:10" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:norm_0">norm_0</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_0" class="link">Source</a> <a href="#v:norm_0" class="selflink">#</a></p><p class="src"><a href="#v:norm_1">norm_1</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_1" class="link">Source</a> <a href="#v:norm_1" class="selflink">#</a></p><p class="src"><a href="#v:norm_2">norm_2</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_2" class="link">Source</a> <a href="#v:norm_2" class="selflink">#</a></p><p class="src"><a href="#v:norm_Inf">norm_Inf</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_Inf" class="link">Source</a> <a href="#v:norm_Inf" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><h1 id="g:8">Random arrays</h1><div class="top"><p class="src"><span class="keyword">type</span> <a id="t:Seed" class="def">Seed</a> = <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="src/Internal-Vectorized.html#Seed" class="link">Source</a> <a href="#t:Seed" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:RandDist" class="def">RandDist</a> <a href="src/Internal-Vectorized.html#RandDist" class="link">Source</a> <a href="#t:RandDist" class="selflink">#</a></p><div class="subs constructors"><p class="caption">Constructors</p><table><tr><td class="src"><a id="v:Uniform" class="def">Uniform</a></td><td class="doc"><p>uniform distribution in [0,1)</p></td></tr><tr><td class="src"><a id="v:Gaussian" class="def">Gaussian</a></td><td class="doc"><p>normal distribution with mean zero and standard deviation one</p></td></tr></table></div><div class="subs instances"><p id="control.i:RandDist" class="caption collapser" onclick="toggleSection('i:RandDist')">Instances</p><div id="section.i:RandDist" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:RandDist:Enum:1" class="instance expander" onclick="toggleSection('i:id:RandDist:Enum:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Enum">Enum</a> <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a></span> <a href="src/Internal-Vectorized.html#line-365" class="link">Source</a> <a href="#t:RandDist" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:RandDist:Enum:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:succ">succ</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a> <a href="#v:succ" class="selflink">#</a></p><p class="src"><a href="#v:pred">pred</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a> <a href="#v:pred" class="selflink">#</a></p><p class="src"><a href="#v:toEnum">toEnum</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a> <a href="#v:toEnum" class="selflink">#</a></p><p class="src"><a href="#v:fromEnum">fromEnum</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> <a href="#v:fromEnum" class="selflink">#</a></p><p class="src"><a href="#v:enumFrom">enumFrom</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a> -&gt; [<a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a>] <a href="#v:enumFrom" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThen">enumFromThen</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a> -&gt; [<a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a>] <a href="#v:enumFromThen" class="selflink">#</a></p><p class="src"><a href="#v:enumFromTo">enumFromTo</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a> -&gt; [<a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a>] <a href="#v:enumFromTo" class="selflink">#</a></p><p class="src"><a href="#v:enumFromThenTo">enumFromThenTo</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a> -&gt; [<a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a>] <a href="#v:enumFromThenTo" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:randomVector" class="def">randomVector</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Seed">Seed</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:RandDist">RandDist</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#randomVector" class="link">Source</a> <a href="#v:randomVector" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:rand" class="def">rand</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n) <a href="src/Numeric-LinearAlgebra-Static.html#rand" class="link">Source</a> <a href="#v:rand" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:randn" class="def">randn</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n) <a href="src/Numeric-LinearAlgebra-Static.html#randn" class="link">Source</a> <a href="#v:randn" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:gaussianSample" class="def">gaussianSample</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Seed">Seed</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <a href="src/Numeric-LinearAlgebra-Static.html#gaussianSample" class="link">Source</a> <a href="#v:gaussianSample" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:uniformSample" class="def">uniformSample</a> <a href="src/Numeric-LinearAlgebra-Static.html#uniformSample" class="link">Source</a> <a href="#v:uniformSample" class="selflink">#</a></p><div class="subs arguments"><p class="caption">Arguments</p><table><tr><td class="src">:: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n)</td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">=&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Seed">Seed</a></td><td class="doc empty">&nbsp;</td></tr><tr><td class="src">-&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n</td><td class="doc"><p>minimums of each row</p></td></tr><tr><td class="src">-&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n</td><td class="doc"><p>maximums of each row</p></td></tr><tr><td class="src">-&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n</td><td class="doc empty">&nbsp;</td></tr></table></div></div><h1 id="g:9">Misc</h1><div class="top"><p class="src"><a id="v:mean" class="def">mean</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, 1 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="src/Numeric-LinearAlgebra-Static.html#mean" class="link">Source</a> <a href="#v:mean" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:meanCov" class="def">meanCov</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, 1 <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:-60--61-">&lt;=</a> m) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n, <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n) <a href="src/Numeric-LinearAlgebra-Static.html#meanCov" class="link">Source</a> <a href="#v:meanCov" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">class</span> <a id="t:Disp" class="def">Disp</a> t <span class="keyword">where</span> <a href="src/Internal-Static.html#Disp" class="link">Source</a> <a href="#t:Disp" class="selflink">#</a></p><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Numeric-LinearAlgebra-Static.html#v:disp">disp</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:disp" class="def">disp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; t -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Internal-Static.html#disp" class="link">Source</a> <a href="#v:disp" class="selflink">#</a></p></div><div class="subs instances"><p id="control.i:Disp" class="caption collapser" onclick="toggleSection('i:Disp')">Instances</p><div id="section.i:Disp" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Disp:Disp:1" class="instance expander" onclick="toggleSection('i:ic:Disp:Disp:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Disp">Disp</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n)</span> <a href="src/Internal-Static.html#line-562" class="link">Source</a> <a href="#t:Disp" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Disp:Disp:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:disp">disp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Internal-Static.html#disp" class="link">Source</a> <a href="#v:disp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Disp:Disp:2" class="instance expander" onclick="toggleSection('i:ic:Disp:Disp:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Disp">Disp</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</span> <a href="src/Internal-Static.html#line-556" class="link">Source</a> <a href="#t:Disp" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Disp:Disp:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:disp">disp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Internal-Static.html#disp" class="link">Source</a> <a href="#v:disp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Disp:Disp:3" class="instance expander" onclick="toggleSection('i:ic:Disp:Disp:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Disp">Disp</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Her">Her</a> n)</span> <a href="src/Internal-Static.html#line-304" class="link">Source</a> <a href="#t:Disp" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Disp:Disp:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:disp">disp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Her">Her</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Internal-Static.html#disp" class="link">Source</a> <a href="#v:disp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Disp:Disp:4" class="instance expander" onclick="toggleSection('i:ic:Disp:Disp:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Disp">Disp</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n)</span> <a href="src/Internal-Static.html#line-297" class="link">Source</a> <a href="#t:Disp" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Disp:Disp:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:disp">disp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Internal-Static.html#disp" class="link">Source</a> <a href="#v:disp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Disp:Disp:5" class="instance expander" onclick="toggleSection('i:ic:Disp:Disp:5')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Disp">Disp</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n)</span> <a href="src/Internal-Static.html#line-548" class="link">Source</a> <a href="#t:Disp" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Disp:Disp:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:disp">disp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Internal-Static.html#disp" class="link">Source</a> <a href="#v:disp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Disp:Disp:6" class="instance expander" onclick="toggleSection('i:ic:Disp:Disp:6')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Disp">Disp</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n)</span> <a href="src/Internal-Static.html#line-541" class="link">Source</a> <a href="#t:Disp" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Disp:Disp:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:disp">disp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Internal-Static.html#disp" class="link">Source</a> <a href="#v:disp" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a id="t:Domain" class="def">Domain</a> field vec mat | mat -&gt; vec field, vec -&gt; mat field, field -&gt; mat vec <span class="keyword">where</span> <a href="src/Numeric-LinearAlgebra-Static.html#Domain" class="link">Source</a> <a href="#t:Domain" class="selflink">#</a></p><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Numeric-LinearAlgebra-Static.html#v:mul">mul</a>, <a href="Numeric-LinearAlgebra-Static.html#v:app">app</a>, <a href="Numeric-LinearAlgebra-Static.html#v:dot">dot</a>, <a href="Numeric-LinearAlgebra-Static.html#v:cross">cross</a>, <a href="Numeric-LinearAlgebra-Static.html#v:diagR">diagR</a>, <a href="Numeric-LinearAlgebra-Static.html#v:dvmap">dvmap</a>, <a href="Numeric-LinearAlgebra-Static.html#v:dmmap">dmmap</a>, <a href="Numeric-LinearAlgebra-Static.html#v:outer">outer</a>, <a href="Numeric-LinearAlgebra-Static.html#v:zipWithVector">zipWithVector</a>, <a href="Numeric-LinearAlgebra-Static.html#v:det">det</a>, <a href="Numeric-LinearAlgebra-Static.html#v:invlndet">invlndet</a>, <a href="Numeric-LinearAlgebra-Static.html#v:expm">expm</a>, <a href="Numeric-LinearAlgebra-Static.html#v:sqrtm">sqrtm</a>, <a href="Numeric-LinearAlgebra-Static.html#v:inv">inv</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:mul" class="def">mul</a> :: <span class="keyword">forall</span> m k n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; mat m k -&gt; mat k n -&gt; mat m n <a href="src/Numeric-LinearAlgebra-Static.html#mul" class="link">Source</a> <a href="#v:mul" class="selflink">#</a></p><p class="src"><a id="v:app" class="def">app</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; mat m n -&gt; vec n -&gt; vec m <a href="src/Numeric-LinearAlgebra-Static.html#app" class="link">Source</a> <a href="#v:app" class="selflink">#</a></p><p class="src"><a id="v:dot" class="def">dot</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; vec n -&gt; vec n -&gt; field <a href="src/Numeric-LinearAlgebra-Static.html#dot" class="link">Source</a> <a href="#v:dot" class="selflink">#</a></p><p class="src"><a id="v:cross" class="def">cross</a> :: vec 3 -&gt; vec 3 -&gt; vec 3 <a href="src/Numeric-LinearAlgebra-Static.html#cross" class="link">Source</a> <a href="#v:cross" class="selflink">#</a></p><p class="src"><a id="v:diagR" class="def">diagR</a> :: <span class="keyword">forall</span> m n k. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k) =&gt; field -&gt; vec k -&gt; mat m n <a href="src/Numeric-LinearAlgebra-Static.html#diagR" class="link">Source</a> <a href="#v:diagR" class="selflink">#</a></p><p class="src"><a id="v:dvmap" class="def">dvmap</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; (field -&gt; field) -&gt; vec n -&gt; vec n <a href="src/Numeric-LinearAlgebra-Static.html#dvmap" class="link">Source</a> <a href="#v:dvmap" class="selflink">#</a></p><p class="src"><a id="v:dmmap" class="def">dmmap</a> :: <span class="keyword">forall</span> n m. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; (field -&gt; field) -&gt; mat n m -&gt; mat n m <a href="src/Numeric-LinearAlgebra-Static.html#dmmap" class="link">Source</a> <a href="#v:dmmap" class="selflink">#</a></p><p class="src"><a id="v:outer" class="def">outer</a> :: <span class="keyword">forall</span> n m. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; vec n -&gt; vec m -&gt; mat n m <a href="src/Numeric-LinearAlgebra-Static.html#outer" class="link">Source</a> <a href="#v:outer" class="selflink">#</a></p><p class="src"><a id="v:zipWithVector" class="def">zipWithVector</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; (field -&gt; field -&gt; field) -&gt; vec n -&gt; vec n -&gt; vec n <a href="src/Numeric-LinearAlgebra-Static.html#zipWithVector" class="link">Source</a> <a href="#v:zipWithVector" class="selflink">#</a></p><p class="src"><a id="v:det" class="def">det</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; mat n n -&gt; field <a href="src/Numeric-LinearAlgebra-Static.html#det" class="link">Source</a> <a href="#v:det" class="selflink">#</a></p><p class="src"><a id="v:invlndet" class="def">invlndet</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; mat n n -&gt; (mat n n, (field, field)) <a href="src/Numeric-LinearAlgebra-Static.html#invlndet" class="link">Source</a> <a href="#v:invlndet" class="selflink">#</a></p><p class="src"><a id="v:expm" class="def">expm</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; mat n n -&gt; mat n n <a href="src/Numeric-LinearAlgebra-Static.html#expm" class="link">Source</a> <a href="#v:expm" class="selflink">#</a></p><p class="src"><a id="v:sqrtm" class="def">sqrtm</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; mat n n -&gt; mat n n <a href="src/Numeric-LinearAlgebra-Static.html#sqrtm" class="link">Source</a> <a href="#v:sqrtm" class="selflink">#</a></p><p class="src"><a id="v:inv" class="def">inv</a> :: <span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; mat n n -&gt; mat n n <a href="src/Numeric-LinearAlgebra-Static.html#inv" class="link">Source</a> <a href="#v:inv" class="selflink">#</a></p></div><div class="subs instances"><p id="control.i:Domain" class="caption collapser" onclick="toggleSection('i:Domain')">Instances</p><div id="section.i:Domain" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Domain:Domain:1" class="instance expander" onclick="toggleSection('i:ic:Domain:Domain:1')"></span> <a href="Numeric-LinearAlgebra-Static.html#t:Domain">Domain</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a></span> <a href="src/Numeric-LinearAlgebra-Static.html#line-562" class="link">Source</a> <a href="#t:Domain" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Domain:Domain:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:mul">mul</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m k -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> k n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n <a href="src/Numeric-LinearAlgebra-Static.html#mul" class="link">Source</a> <a href="#v:mul" class="selflink">#</a></p><p class="src"><a href="#v:app">app</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> m <a href="src/Numeric-LinearAlgebra-Static.html#app" class="link">Source</a> <a href="#v:app" class="selflink">#</a></p><p class="src"><a href="#v:dot">dot</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="src/Numeric-LinearAlgebra-Static.html#dot" class="link">Source</a> <a href="#v:dot" class="selflink">#</a></p><p class="src"><a href="#v:cross">cross</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> 3 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> 3 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> 3 <a href="src/Numeric-LinearAlgebra-Static.html#cross" class="link">Source</a> <a href="#v:cross" class="selflink">#</a></p><p class="src"><a href="#v:diagR">diagR</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> k -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n <a href="src/Numeric-LinearAlgebra-Static.html#diagR" class="link">Source</a> <a href="#v:diagR" class="selflink">#</a></p><p class="src"><a href="#v:dvmap">dvmap</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Numeric-LinearAlgebra-Static.html#dvmap" class="link">Source</a> <a href="#v:dvmap" class="selflink">#</a></p><p class="src"><a href="#v:dmmap">dmmap</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="src/Numeric-LinearAlgebra-Static.html#dmmap" class="link">Source</a> <a href="#v:dmmap" class="selflink">#</a></p><p class="src"><a href="#v:outer">outer</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n m <a href="src/Numeric-LinearAlgebra-Static.html#outer" class="link">Source</a> <a href="#v:outer" class="selflink">#</a></p><p class="src"><a href="#v:zipWithVector">zipWithVector</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Numeric-LinearAlgebra-Static.html#zipWithVector" class="link">Source</a> <a href="#v:zipWithVector" class="selflink">#</a></p><p class="src"><a href="#v:det">det</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="src/Numeric-LinearAlgebra-Static.html#det" class="link">Source</a> <a href="#v:det" class="selflink">#</a></p><p class="src"><a href="#v:invlndet">invlndet</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n, (<a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>, <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>)) <a href="src/Numeric-LinearAlgebra-Static.html#invlndet" class="link">Source</a> <a href="#v:invlndet" class="selflink">#</a></p><p class="src"><a href="#v:expm">expm</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#expm" class="link">Source</a> <a href="#v:expm" class="selflink">#</a></p><p class="src"><a href="#v:sqrtm">sqrtm</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#sqrtm" class="link">Source</a> <a href="#v:sqrtm" class="selflink">#</a></p><p class="src"><a href="#v:inv">inv</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#inv" class="link">Source</a> <a href="#v:inv" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Domain:Domain:2" class="instance expander" onclick="toggleSection('i:ic:Domain:Domain:2')"></span> <a href="Numeric-LinearAlgebra-Static.html#t:Domain">Domain</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a></span> <a href="src/Numeric-LinearAlgebra-Static.html#line-545" class="link">Source</a> <a href="#t:Domain" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Domain:Domain:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:mul">mul</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m k -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> k n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <a href="src/Numeric-LinearAlgebra-Static.html#mul" class="link">Source</a> <a href="#v:mul" class="selflink">#</a></p><p class="src"><a href="#v:app">app</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m <a href="src/Numeric-LinearAlgebra-Static.html#app" class="link">Source</a> <a href="#v:app" class="selflink">#</a></p><p class="src"><a href="#v:dot">dot</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="src/Numeric-LinearAlgebra-Static.html#dot" class="link">Source</a> <a href="#v:dot" class="selflink">#</a></p><p class="src"><a href="#v:cross">cross</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> 3 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> 3 -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> 3 <a href="src/Numeric-LinearAlgebra-Static.html#cross" class="link">Source</a> <a href="#v:cross" class="selflink">#</a></p><p class="src"><a href="#v:diagR">diagR</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> k -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <a href="src/Numeric-LinearAlgebra-Static.html#diagR" class="link">Source</a> <a href="#v:diagR" class="selflink">#</a></p><p class="src"><a href="#v:dvmap">dvmap</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#dvmap" class="link">Source</a> <a href="#v:dvmap" class="selflink">#</a></p><p class="src"><a href="#v:dmmap">dmmap</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="src/Numeric-LinearAlgebra-Static.html#dmmap" class="link">Source</a> <a href="#v:dmmap" class="selflink">#</a></p><p class="src"><a href="#v:outer">outer</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n m <a href="src/Numeric-LinearAlgebra-Static.html#outer" class="link">Source</a> <a href="#v:outer" class="selflink">#</a></p><p class="src"><a href="#v:zipWithVector">zipWithVector</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>) -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#zipWithVector" class="link">Source</a> <a href="#v:zipWithVector" class="selflink">#</a></p><p class="src"><a href="#v:det">det</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="src/Numeric-LinearAlgebra-Static.html#det" class="link">Source</a> <a href="#v:det" class="selflink">#</a></p><p class="src"><a href="#v:invlndet">invlndet</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n, (<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>, <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>)) <a href="src/Numeric-LinearAlgebra-Static.html#invlndet" class="link">Source</a> <a href="#v:invlndet" class="selflink">#</a></p><p class="src"><a href="#v:expm">expm</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#expm" class="link">Source</a> <a href="#v:expm" class="selflink">#</a></p><p class="src"><a href="#v:sqrtm">sqrtm</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#sqrtm" class="link">Source</a> <a href="#v:sqrtm" class="selflink">#</a></p><p class="src"><a href="#v:inv">inv</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n <a href="src/Numeric-LinearAlgebra-Static.html#inv" class="link">Source</a> <a href="#v:inv" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:withVector" class="def">withVector</a> :: <span class="keyword">forall</span> z. <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; (<span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; z) -&gt; z <a href="src/Numeric-LinearAlgebra-Static.html#withVector" class="link">Source</a> <a href="#v:withVector" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:withMatrix" class="def">withMatrix</a> :: <span class="keyword">forall</span> z. <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; (<span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; z) -&gt; z <a href="src/Numeric-LinearAlgebra-Static.html#withMatrix" class="link">Source</a> <a href="#v:withMatrix" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:exactLength" class="def">exactLength</a> :: <span class="keyword">forall</span> n m. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n) <a href="src/Numeric-LinearAlgebra-Static.html#exactLength" class="link">Source</a> <a href="#v:exactLength" class="selflink">#</a></p><div class="doc"><p>Useful for constraining two dependently typed vectors to match each
 other in length when they are unknown at compile-time.</p></div></div><div class="top"><p class="src"><a id="v:exactDims" class="def">exactDims</a> :: <span class="keyword">forall</span> n m j k. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> j, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> k) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> j k) <a href="src/Numeric-LinearAlgebra-Static.html#exactDims" class="link">Source</a> <a href="#v:exactDims" class="selflink">#</a></p><div class="doc"><p>Useful for constraining two dependently typed matrices to match each
 other in dimensions when they are unknown at compile-time.</p></div></div><div class="top"><p class="src"><a id="v:toRows" class="def">toRows</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; [<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n] <a href="src/Numeric-LinearAlgebra-Static.html#toRows" class="link">Source</a> <a href="#v:toRows" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:toColumns" class="def">toColumns</a> :: <span class="keyword">forall</span> m n. (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; [<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m] <a href="src/Numeric-LinearAlgebra-Static.html#toColumns" class="link">Source</a> <a href="#v:toColumns" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:withRows" class="def">withRows</a> :: <span class="keyword">forall</span> n z. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; [<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n] -&gt; (<span class="keyword">forall</span> m. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; z) -&gt; z <a href="src/Numeric-LinearAlgebra-Static.html#withRows" class="link">Source</a> <a href="#v:withRows" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:withColumns" class="def">withColumns</a> :: <span class="keyword">forall</span> m z. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m =&gt; [<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> m] -&gt; (<span class="keyword">forall</span> n. <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; z) -&gt; z <a href="src/Numeric-LinearAlgebra-Static.html#withColumns" class="link">Source</a> <a href="#v:withColumns" class="selflink">#</a></p></div><div class="top"><p class="src"><span class="keyword">class</span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Num">Num</a> t =&gt; <a id="t:Sized" class="def">Sized</a> t s d | s -&gt; t, s -&gt; d <span class="keyword">where</span> <a href="src/Internal-Static.html#Sized" class="link">Source</a> <a href="#t:Sized" class="selflink">#</a></p><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Numeric-LinearAlgebra-Static.html#v:konst">konst</a>, <a href="Numeric-LinearAlgebra-Static.html#v:unwrap">unwrap</a>, <a href="Numeric-LinearAlgebra-Static.html#v:fromList">fromList</a>, <a href="Numeric-LinearAlgebra-Static.html#v:extract">extract</a>, <a href="Numeric-LinearAlgebra-Static.html#v:create">create</a>, <a href="Numeric-LinearAlgebra-Static.html#v:size">size</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:konst" class="def">konst</a> :: t -&gt; s <a href="src/Internal-Static.html#konst" class="link">Source</a> <a href="#v:konst" class="selflink">#</a></p><p class="src"><a id="v:unwrap" class="def">unwrap</a> :: s -&gt; d t <a href="src/Internal-Static.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p><p class="src"><a id="v:fromList" class="def">fromList</a> :: [t] -&gt; s <a href="src/Internal-Static.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a id="v:extract" class="def">extract</a> :: s -&gt; d t <a href="src/Internal-Static.html#extract" class="link">Source</a> <a href="#v:extract" class="selflink">#</a></p><p class="src"><a id="v:create" class="def">create</a> :: d t -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> s <a href="src/Internal-Static.html#create" class="link">Source</a> <a href="#v:create" class="selflink">#</a></p><p class="src"><a id="v:size" class="def">size</a> :: s -&gt; <a href="Numeric-LinearAlgebra.html#t:IndexOf">IndexOf</a> d <a href="src/Internal-Static.html#size" class="link">Source</a> <a href="#v:size" class="selflink">#</a></p></div><div class="subs instances"><p id="control.i:Sized" class="caption collapser" onclick="toggleSection('i:Sized')">Instances</p><div id="section.i:Sized" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Sized:Sized:1" class="instance expander" onclick="toggleSection('i:ic:Sized:Sized:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sized">Sized</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n) <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a></span> <a href="src/Internal-Static.html#line-212" class="link">Source</a> <a href="#t:Sized" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Sized:Sized:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:konst">konst</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Internal-Static.html#konst" class="link">Source</a> <a href="#v:konst" class="selflink">#</a></p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="src/Internal-Static.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>] -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Internal-Static.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:extract">extract</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="src/Internal-Static.html#extract" class="link">Source</a> <a href="#v:extract" class="selflink">#</a></p><p class="src"><a href="#v:create">create</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n) <a href="src/Internal-Static.html#create" class="link">Source</a> <a href="#v:create" class="selflink">#</a></p><p class="src"><a href="#v:size">size</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n -&gt; <a href="Numeric-LinearAlgebra.html#t:IndexOf">IndexOf</a> <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="src/Internal-Static.html#size" class="link">Source</a> <a href="#v:size" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Sized:Sized:2" class="instance expander" onclick="toggleSection('i:ic:Sized:Sized:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sized">Sized</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n) <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a></span> <a href="src/Internal-Static.html#line-228" class="link">Source</a> <a href="#t:Sized" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Sized:Sized:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:konst">konst</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Internal-Static.html#konst" class="link">Source</a> <a href="#v:konst" class="selflink">#</a></p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="src/Internal-Static.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>] -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Internal-Static.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:extract">extract</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="src/Internal-Static.html#extract" class="link">Source</a> <a href="#v:extract" class="selflink">#</a></p><p class="src"><a href="#v:create">create</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n) <a href="src/Internal-Static.html#create" class="link">Source</a> <a href="#v:create" class="selflink">#</a></p><p class="src"><a href="#v:size">size</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra.html#t:IndexOf">IndexOf</a> <a href="Numeric-LinearAlgebra-Data.html#t:Vector">Vector</a> <a href="src/Internal-Static.html#size" class="link">Source</a> <a href="#v:size" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Sized:Sized:3" class="instance expander" onclick="toggleSection('i:ic:Sized:Sized:3')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sized">Sized</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n) <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a></span> <a href="src/Internal-Static.html#line-263" class="link">Source</a> <a href="#t:Sized" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Sized:Sized:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:konst">konst</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n <a href="src/Internal-Static.html#konst" class="link">Source</a> <a href="#v:konst" class="selflink">#</a></p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="src/Internal-Static.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a>] -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n <a href="src/Internal-Static.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:extract">extract</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> <a href="src/Internal-Static.html#extract" class="link">Source</a> <a href="#v:extract" class="selflink">#</a></p><p class="src"><a href="#v:create">create</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8450-">&#8450;</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n) <a href="src/Internal-Static.html#create" class="link">Source</a> <a href="#v:create" class="selflink">#</a></p><p class="src"><a href="#v:size">size</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> m n -&gt; <a href="Numeric-LinearAlgebra.html#t:IndexOf">IndexOf</a> <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="src/Internal-Static.html#size" class="link">Source</a> <a href="#v:size" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Sized:Sized:4" class="instance expander" onclick="toggleSection('i:ic:Sized:Sized:4')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sized">Sized</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n) <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a></span> <a href="src/Internal-Static.html#line-245" class="link">Source</a> <a href="#t:Sized" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Sized:Sized:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:konst">konst</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <a href="src/Internal-Static.html#konst" class="link">Source</a> <a href="#v:konst" class="selflink">#</a></p><p class="src"><a href="#v:unwrap">unwrap</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="src/Internal-Static.html#unwrap" class="link">Source</a> <a href="#v:unwrap" class="selflink">#</a></p><p class="src"><a href="#v:fromList">fromList</a> :: [<a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a>] -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n <a href="src/Internal-Static.html#fromList" class="link">Source</a> <a href="#v:fromList" class="selflink">#</a></p><p class="src"><a href="#v:extract">extract</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <a href="src/Internal-Static.html#extract" class="link">Source</a> <a href="#v:extract" class="selflink">#</a></p><p class="src"><a href="#v:create">create</a> :: <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Maybe.html#t:Maybe">Maybe</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n) <a href="src/Internal-Static.html#create" class="link">Source</a> <a href="#v:create" class="selflink">#</a></p><p class="src"><a href="#v:size">size</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra.html#t:IndexOf">IndexOf</a> <a href="Numeric-LinearAlgebra-Data.html#t:Matrix">Matrix</a> <a href="src/Internal-Static.html#size" class="link">Source</a> <a href="#v:size" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">class</span> <a id="t:Diag" class="def">Diag</a> m d | m -&gt; d <span class="keyword">where</span> <a href="src/Numeric-LinearAlgebra-Static.html#Diag" class="link">Source</a> <a href="#t:Diag" class="selflink">#</a></p><div class="subs minimal"><p class="caption">Minimal complete definition</p><p class="src"><a href="Numeric-LinearAlgebra-Static.html#v:takeDiag">takeDiag</a></p></div><div class="subs methods"><p class="caption">Methods</p><p class="src"><a id="v:takeDiag" class="def">takeDiag</a> :: m -&gt; d <a href="src/Numeric-LinearAlgebra-Static.html#takeDiag" class="link">Source</a> <a href="#v:takeDiag" class="selflink">#</a></p></div><div class="subs instances"><p id="control.i:Diag" class="caption collapser" onclick="toggleSection('i:Diag')">Instances</p><div id="section.i:Diag" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Diag:Diag:1" class="instance expander" onclick="toggleSection('i:ic:Diag:Diag:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Diag">Diag</a> (<a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n) (<a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-236" class="link">Source</a> <a href="#t:Diag" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Diag:Diag:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:takeDiag">takeDiag</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:M">M</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:C">C</a> n <a href="src/Numeric-LinearAlgebra-Static.html#takeDiag" class="link">Source</a> <a href="#v:takeDiag" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:ic:Diag:Diag:2" class="instance expander" onclick="toggleSection('i:ic:Diag:Diag:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Diag">Diag</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n) (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-231" class="link">Source</a> <a href="#t:Diag" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:ic:Diag:Diag:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:takeDiag">takeDiag</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#takeDiag" class="link">Source</a> <a href="#v:takeDiag" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><span class="keyword">data</span> <a id="t:Sym" class="def">Sym</a> n <a href="src/Numeric-LinearAlgebra-Static.html#Sym" class="link">Source</a> <a href="#t:Sym" class="selflink">#</a></p><div class="subs instances"><p id="control.i:Sym" class="caption collapser" onclick="toggleSection('i:Sym')">Instances</p><div id="section.i:Sym" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Sym:Floating:1" class="instance expander" onclick="toggleSection('i:id:Sym:Floating:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Numeric.html#t:Floating">Floating</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-849" class="link">Source</a> <a href="#t:Sym" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Sym:Floating:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:pi">pi</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:pi" class="selflink">#</a></p><p class="src"><a href="#v:exp">exp</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:exp" class="selflink">#</a></p><p class="src"><a href="#v:log">log</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:log" class="selflink">#</a></p><p class="src"><a href="#v:sqrt">sqrt</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:sqrt" class="selflink">#</a></p><p class="src"><a href="#v:-42--42-">(**)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:-42--42-" class="selflink">#</a></p><p class="src"><a href="#v:logBase">logBase</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:logBase" class="selflink">#</a></p><p class="src"><a href="#v:sin">sin</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:sin" class="selflink">#</a></p><p class="src"><a href="#v:cos">cos</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:cos" class="selflink">#</a></p><p class="src"><a href="#v:tan">tan</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:tan" class="selflink">#</a></p><p class="src"><a href="#v:asin">asin</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:asin" class="selflink">#</a></p><p class="src"><a href="#v:acos">acos</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:acos" class="selflink">#</a></p><p class="src"><a href="#v:atan">atan</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:atan" class="selflink">#</a></p><p class="src"><a href="#v:sinh">sinh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:sinh" class="selflink">#</a></p><p class="src"><a href="#v:cosh">cosh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:cosh" class="selflink">#</a></p><p class="src"><a href="#v:tanh">tanh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:tanh" class="selflink">#</a></p><p class="src"><a href="#v:asinh">asinh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:asinh" class="selflink">#</a></p><p class="src"><a href="#v:acosh">acosh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:acosh" class="selflink">#</a></p><p class="src"><a href="#v:atanh">atanh</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:atanh" class="selflink">#</a></p><p class="src"><a href="#v:log1p">log1p</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:log1p" class="selflink">#</a></p><p class="src"><a href="#v:expm1">expm1</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:expm1" class="selflink">#</a></p><p class="src"><a href="#v:log1pexp">log1pexp</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:log1pexp" class="selflink">#</a></p><p class="src"><a href="#v:log1mexp">log1mexp</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:log1mexp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Sym:Fractional:2" class="instance expander" onclick="toggleSection('i:id:Sym:Fractional:2')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Fractional">Fractional</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-844" class="link">Source</a> <a href="#t:Sym" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Sym:Fractional:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-47-">(/)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:-47-" class="selflink">#</a></p><p class="src"><a href="#v:recip">recip</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:recip" class="selflink">#</a></p><p class="src"><a href="#v:fromRational">fromRational</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Rational">Rational</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:fromRational" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Sym:Num:3" class="instance expander" onclick="toggleSection('i:id:Sym:Num:3')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Num">Num</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-834" class="link">Source</a> <a href="#t:Sym" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Sym:Num:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:-43-">(+)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:-43-" class="selflink">#</a></p><p class="src"><a href="#v:-45-">(-)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:-45-" class="selflink">#</a></p><p class="src"><a href="#v:-42-">(*)</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:-42-" class="selflink">#</a></p><p class="src"><a href="#v:negate">negate</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:negate" class="selflink">#</a></p><p class="src"><a href="#v:abs">abs</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:abs" class="selflink">#</a></p><p class="src"><a href="#v:signum">signum</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:signum" class="selflink">#</a></p><p class="src"><a href="#v:fromInteger">fromInteger</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Prelude.html#t:Integer">Integer</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="#v:fromInteger" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Sym:Show:4" class="instance expander" onclick="toggleSection('i:id:Sym:Show:4')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:Show">Show</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-275" class="link">Source</a> <a href="#t:Sym" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Sym:Show:4" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:showsPrec">showsPrec</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showsPrec" class="selflink">#</a></p><p class="src"><a href="#v:show">show</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-String.html#t:String">String</a> <a href="#v:show" class="selflink">#</a></p><p class="src"><a href="#v:showList">showList</a> :: [<a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n] -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Text-Show.html#t:ShowS">ShowS</a> <a href="#v:showList" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Sym:Additive:5" class="instance expander" onclick="toggleSection('i:id:Sym:Additive:5')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra.html#t:Additive">Additive</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-869" class="link">Source</a> <a href="#t:Sym" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Sym:Additive:5" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:add">add</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="src/Internal-Numeric.html#add" class="link">Source</a> <a href="#v:add" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Sym:Disp:6" class="instance expander" onclick="toggleSection('i:id:Sym:Disp:6')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Disp">Disp</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-297" class="link">Source</a> <a href="#t:Sym" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Sym:Disp:6" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:disp">disp</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Int.html#t:Int">Int</a> -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> () <a href="src/Internal-Static.html#disp" class="link">Source</a> <a href="#v:disp" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Sym:Transposable:7" class="instance expander" onclick="toggleSection('i:id:Sym:Transposable:7')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra.html#t:Transposable">Transposable</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-872" class="link">Source</a> <a href="#t:Sym" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Sym:Transposable:7" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:tr">tr</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="src/Internal-Numeric.html#tr" class="link">Source</a> <a href="#v:tr" class="selflink">#</a></p><p class="src"><a href="#v:tr-39-">tr'</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="src/Internal-Numeric.html#tr%27" class="link">Source</a> <a href="#v:tr-39-" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:id:Sym:Eigen:8" class="instance expander" onclick="toggleSection('i:id:Sym:Eigen:8')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Eigen">Eigen</a> (<a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n) (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-312" class="link">Source</a> <a href="#t:Sym" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:id:Sym:Eigen:8" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:eigensystem">eigensystem</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n, <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n n) <a href="src/Numeric-LinearAlgebra-Static.html#eigensystem" class="link">Source</a> <a href="#v:eigensystem" class="selflink">#</a></p><p class="src"><a href="#v:eigenvalues">eigenvalues</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n <a href="src/Numeric-LinearAlgebra-Static.html#eigenvalues" class="link">Source</a> <a href="#v:eigenvalues" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div class="top"><p class="src"><a id="v:sym" class="def">sym</a> :: <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="src/Numeric-LinearAlgebra-Static.html#sym" class="link">Source</a> <a href="#v:sym" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:mTm" class="def">mTm</a> :: (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n <a href="src/Numeric-LinearAlgebra-Static.html#mTm" class="link">Source</a> <a href="#v:mTm" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:unSym" class="def">unSym</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:Sym">Sym</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Sq">Sq</a> n <a href="src/Numeric-LinearAlgebra-Static.html#unSym" class="link">Source</a> <a href="#v:unSym" class="selflink">#</a></p></div><div class="top"><p class="src"><a id="v:-60--183--62-" class="def">&lt;&#183;&gt;</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Static.html#t:-8477-">&#8477;</a> <span class="fixity">infixr 8</span><span class="rightedge"></span> <a href="src/Numeric-LinearAlgebra-Static.html#%3C%B7%3E" class="link">Source</a> <a href="#v:-60--183--62-" class="selflink">#</a></p></div><h1>Orphan instances</h1><div id="section.orphans" class="show"><table><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:o:ic:Normed:Normed:1" class="instance expander" onclick="toggleSection('i:o:ic:Normed:Normed:1')"></span> <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Normed">Normed</a> (<a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-817" class="link">Source</a> <a href="#v:-36-fNormedR" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:o:ic:Normed:Normed:1" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:norm_0">norm_0</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_0" class="link">Source</a> <a href="#v:norm_0" class="selflink">#</a></p><p class="src"><a href="#v:norm_1">norm_1</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_1" class="link">Source</a> <a href="#v:norm_1" class="selflink">#</a></p><p class="src"><a href="#v:norm_2">norm_2</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_2" class="link">Source</a> <a href="#v:norm_2" class="selflink">#</a></p><p class="src"><a href="#v:norm_Inf">norm_Inf</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:R">R</a> n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_Inf" class="link">Source</a> <a href="#v:norm_Inf" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:o:ic:Testable:Testable:2" class="instance expander" onclick="toggleSection('i:o:ic:Testable:Testable:2')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n', <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m') =&gt; <a href="Numeric-LinearAlgebra.html#t:Testable">Testable</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n' m')</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-811" class="link">Source</a> <a href="#v:-36-fTestableL" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:o:ic:Testable:Testable:2" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:checkT">checkT</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n' m' -&gt; (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()) <a href="src/Internal-Numeric.html#checkT" class="link">Source</a> <a href="#v:checkT" class="selflink">#</a></p><p class="src"><a href="#v:ioCheckT">ioCheckT</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> n' m' -&gt; <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/Data-Bool.html#t:Bool">Bool</a>, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/System-IO.html#t:IO">IO</a> ()) <a href="src/Internal-Numeric.html#ioCheckT" class="link">Source</a> <a href="#v:ioCheckT" class="selflink">#</a></p></div></div></td></tr><tr><td class="src clearfix"><span class="inst-left"><span id="control.i:o:ic:Normed:Normed:3" class="instance expander" onclick="toggleSection('i:o:ic:Normed:Normed:3')"></span> (<a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> m, <a href="file:///usr/share/doc/ghc-doc/html/libraries/base-4.9.1.0/GHC-TypeLits.html#t:KnownNat">KnownNat</a> n) =&gt; <a href="Numeric-LinearAlgebra-Static.html#t:Normed">Normed</a> (<a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n)</span> <a href="src/Numeric-LinearAlgebra-Static.html#line-824" class="link">Source</a> <a href="#v:-36-fNormedL" class="selflink">#</a></td><td class="doc empty">&nbsp;</td></tr><tr><td colspan="2"><div id="section.i:o:ic:Normed:Normed:3" class="inst-details hide"><div class="subs methods"><p class="caption">Methods</p><p class="src"><a href="#v:norm_0">norm_0</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_0" class="link">Source</a> <a href="#v:norm_0" class="selflink">#</a></p><p class="src"><a href="#v:norm_1">norm_1</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_1" class="link">Source</a> <a href="#v:norm_1" class="selflink">#</a></p><p class="src"><a href="#v:norm_2">norm_2</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_2" class="link">Source</a> <a href="#v:norm_2" class="selflink">#</a></p><p class="src"><a href="#v:norm_Inf">norm_Inf</a> :: <a href="Numeric-LinearAlgebra-Static.html#t:L">L</a> m n -&gt; <a href="Numeric-LinearAlgebra-Data.html#t:R">R</a> <a href="src/Internal-Util.html#norm_Inf" class="link">Source</a> <a href="#v:norm_Inf" class="selflink">#</a></p></div></div></td></tr></table></div></div></div><div id="footer"><p>Produced by <a href="http://www.haskell.org/haddock/">Haddock</a> version 2.17.3</p></div></body></html>