kmath/kmath-core/space.kscience.kmath.linear/index.html

803 lines
127 KiB
HTML
Raw Permalink Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>space.kscience.kmath.linear</title>
<link href="../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../";</script> <script>const storage = localStorage.getItem("dokka-dark-mode")
if (storage == null) {
const osDarkSchemePreferred = window.matchMedia && window.matchMedia('(prefers-color-scheme: dark)').matches
if (osDarkSchemePreferred === true) {
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}
} else {
const savedDarkMode = JSON.parse(storage)
if(savedDarkMode === true) {
document.getElementsByTagName("html")[0].classList.add("theme-dark")
}
}
</script>
<script type="text/javascript" src="../../scripts/sourceset_dependencies.js" async></script>
<link href="../../styles/style.css" rel="Stylesheet">
<link href="../../styles/jetbrains-mono.css" rel="Stylesheet">
<link href="../../styles/main.css" rel="Stylesheet">
<link href="../../styles/prism.css" rel="Stylesheet">
<link href="../../styles/logo-styles.css" rel="Stylesheet">
<script type="text/javascript" src="../../scripts/clipboard.js" async></script>
<script type="text/javascript" src="../../scripts/navigation-loader.js" async></script>
<script type="text/javascript" src="../../scripts/platform-content-handler.js" async></script>
<script type="text/javascript" src="../../scripts/main.js" defer></script>
<script type="text/javascript" src="../../scripts/prism.js" async></script>
<script type="text/javascript" src="../../scripts/symbol-parameters-wrapper_deferred.js" defer></script></head>
<body>
<div class="navigation-wrapper" id="navigation-wrapper">
<div id="leftToggler"><span class="icon-toggler"></span></div>
<div class="library-name">
<a href="../../index.html">
<span>kmath</span> </a> </div>
<div>0.3.1-dev-RC
</div>
<div class="pull-right d-flex">
<div class="filter-section" id="filter-section">
<button class="platform-tag platform-selector common-like" data-active="" data-filter=":kmath-core:dokkaHtmlPartial/commonMain">common</button>
</div>
<button id="theme-toggle-button"><span id="theme-toggle"></span></button>
<div id="searchBar"></div>
</div>
</div>
<div id="container">
<div id="leftColumn">
<div id="sideMenu"></div>
</div>
<div id="main">
<div class="main-content" data-page-type="package" id="content" pageids="kmath-core::space.kscience.kmath.linear////PointingToDeclaration//244675578">
<div class="breadcrumbs"><a href="../index.html">kmath-core</a><span class="delimiter">/</span><span class="current">space.kscience.kmath.linear</span></div>
<div class="cover ">
<h1 class="cover"><span><span>Package-level</span></span> <span><span>declarations</span></span></h1>
</div>
<div class="tabbedcontent">
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="TYPE">Types</button><button class="section-tab" data-togglable="FUNCTION,EXTENSION_FUNCTION">Functions</button><button class="section-tab" data-togglable="PROPERTY,EXTENSION_PROPERTY">Properties</button></div>
<div class="tabs-section-body">
<div data-togglable="TYPE">
<h2 class="">Types</h2>
<div class="table"><a data-name="286860305%2FClasslikes%2F244675578" anchor-label="BufferedLinearSpace" id="286860305%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-buffered-linear-space/index.html"><span>Buffered</span><wbr><span>Linear</span><wbr><span><span>Space</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="286860305%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">class </span><a href="-buffered-linear-space/index.html">BufferedLinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-buffered-linear-space/index.html">T</a><span class="token punctuation">, </span><span class="token keyword">out </span><a href="-buffered-linear-space/index.html">A</a><span class="token operator"> : </span><a href="../space.kscience.kmath.operations/-ring/index.html">Ring</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-buffered-linear-space/index.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">bufferAlgebra<span class="token operator">: </span><a href="../space.kscience.kmath.operations/-buffer-algebra/index.html">BufferAlgebra</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-buffered-linear-space/index.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-buffered-linear-space/index.html">A</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span> : <a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-buffered-linear-space/index.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-buffered-linear-space/index.html">A</a><span class="token operator">&gt; </span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1862239428%2FClasslikes%2F244675578" anchor-label="CholeskyDecompositionFeature" id="1862239428%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-cholesky-decomposition-feature/index.html"><span>Cholesky</span><wbr><span>Decomposition</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1862239428%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-cholesky-decomposition-feature/index.html">CholeskyDecompositionFeature</a><span class="token operator">&lt;</span><span class="token keyword">out </span><a href="-cholesky-decomposition-feature/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span> : <a href="-matrix-feature/index.html">MatrixFeature</a></div><div class="brief "><p class="paragraph">Matrices with this feature support Cholesky factorization: <i>a = </i><a href="-cholesky-decomposition-feature/l.html"><i>l</i></a><i> · </i><a href="-cholesky-decomposition-feature/l.html"><i>l</i></a><sup><i>H</i></sup> where <i>a</i> is the owning matrix.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1824115698%2FClasslikes%2F244675578" anchor-label="DeterminantFeature" id="-1824115698%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-determinant-feature/index.html"><span>Determinant</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1824115698%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-determinant-feature/index.html">DeterminantFeature</a><span class="token operator">&lt;</span><span class="token keyword">out </span><a href="-determinant-feature/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span> : <a href="-matrix-feature/index.html">MatrixFeature</a></div><div class="brief "><p class="paragraph">Matrices with this feature can compute their determinant.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1880221554%2FClasslikes%2F244675578" anchor-label="DiagonalFeature" id="1880221554%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-diagonal-feature/index.html"><span>Diagonal</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1880221554%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-diagonal-feature/index.html">DiagonalFeature</a> : <a href="-matrix-feature/index.html">MatrixFeature</a></div><div class="brief "><p class="paragraph">Matrices with this feature are considered to have only diagonal non-null elements.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="978787971%2FClasslikes%2F244675578" anchor-label="DoubleLinearSpace" id="978787971%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-double-linear-space/index.html"><span>Double</span><wbr><span>Linear</span><wbr><span><span>Space</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="978787971%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">object </span><a href="-double-linear-space/index.html">DoubleLinearSpace</a> : <a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../space.kscience.kmath.operations/-double-field/index.html">DoubleField</a><span class="token operator">&gt; </span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1262116170%2FClasslikes%2F244675578" anchor-label="InverseMatrixFeature" id="1262116170%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-inverse-matrix-feature/index.html"><span>Inverse</span><wbr><span>Matrix</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1262116170%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-inverse-matrix-feature/index.html">InverseMatrixFeature</a><span class="token operator">&lt;</span><span class="token keyword">out </span><a href="-inverse-matrix-feature/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span> : <a href="-matrix-feature/index.html">MatrixFeature</a></div><div class="brief "><p class="paragraph">Matrices with this feature can be inverted: <a href="-inverse-matrix-feature/inverse.html"><i>inverse</i></a><i> = a</i><sup><i>1</i></sup> where <i>a</i> is the owning matrix.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1910027173%2FClasslikes%2F244675578" anchor-label="LFeature" id="1910027173%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-l-feature/index.html"><span><span>LFeature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1910027173%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">object </span><a href="-l-feature/index.html">LFeature</a> : <a href="-matrix-feature/index.html">MatrixFeature</a></div><div class="brief "><p class="paragraph">Matrices with this feature are lower triangular ones.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-749565513%2FClasslikes%2F244675578" anchor-label="LinearSolver" id="-749565513%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-linear-solver/index.html"><span>Linear</span><wbr><span><span>Solver</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-749565513%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-linear-solver/index.html">LinearSolver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-linear-solver/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">A group of methods to solve for <i>X</i> in equation <i>X = A</i><sup><i>1</i></sup><i> · B</i>, where <i>A</i> and <i>B</i> are matrices or vectors.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1772575598%2FClasslikes%2F244675578" anchor-label="LinearSpace" id="-1772575598%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-linear-space/index.html"><span>Linear</span><wbr><span><span>Space</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1772575598%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-linear-space/index.html">T</a><span class="token punctuation">, </span><span class="token keyword">out </span><a href="-linear-space/index.html">A</a><span class="token operator"> : </span><a href="../space.kscience.kmath.operations/-ring/index.html">Ring</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-linear-space/index.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Basic operations on matrices and vectors.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="540270169%2FClasslikes%2F244675578" anchor-label="LUDecompositionFeature" id="540270169%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-l-u-decomposition-feature/index.html"><span>LUDecomposition</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="540270169%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-l-u-decomposition-feature/index.html">LUDecompositionFeature</a><span class="token operator">&lt;</span><span class="token keyword">out </span><a href="-l-u-decomposition-feature/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span> : <a href="-matrix-feature/index.html">MatrixFeature</a></div><div class="brief "><p class="paragraph">Matrices with this feature support LU factorization: <i>a = </i><a href="-l-u-decomposition-feature/l.html"><i>l</i></a><i> · </i><a href="-l-u-decomposition-feature/u.html"><i>u</i></a> where <i>a</i> is the owning matrix.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1783466035%2FClasslikes%2F244675578" anchor-label="LupDecomposition" id="-1783466035%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-lup-decomposition/index.html"><span>Lup</span><wbr><span><span>Decomposition</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1783466035%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">class </span><a href="-lup-decomposition/index.html">LupDecomposition</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-lup-decomposition/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>context<span class="token operator">: </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-lup-decomposition/index.html">T</a><span class="token punctuation">, </span><span class="token operator">*</span><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>elementContext<span class="token operator">: </span><a href="../space.kscience.kmath.operations/-field/index.html">Field</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-lup-decomposition/index.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>lu<span class="token operator">: </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-lup-decomposition/index.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>pivot<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int-array/index.html">IntArray</a><span class="token punctuation">, </span></span><span class="parameter ">even<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></span></span><span class="token punctuation">)</span> : <a href="-lup-decomposition-feature/index.html">LupDecompositionFeature</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-lup-decomposition/index.html">T</a><span class="token operator">&gt; </span>, <a href="-determinant-feature/index.html">DeterminantFeature</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-lup-decomposition/index.html">T</a><span class="token operator">&gt; </span></div><div class="brief "><p class="paragraph">Common implementation of <a href="-lup-decomposition-feature/index.html">LupDecompositionFeature</a>.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1742006529%2FClasslikes%2F244675578" anchor-label="LupDecompositionFeature" id="-1742006529%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-lup-decomposition-feature/index.html"><span>Lup</span><wbr><span>Decomposition</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1742006529%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-lup-decomposition-feature/index.html">LupDecompositionFeature</a><span class="token operator">&lt;</span><span class="token keyword">out </span><a href="-lup-decomposition-feature/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span> : <a href="-matrix-feature/index.html">MatrixFeature</a></div><div class="brief "><p class="paragraph">Matrices with this feature support LU factorization with partial pivoting: <a href="-lup-decomposition-feature/p.html"><i>p</i></a><i> · a = </i><a href="-lup-decomposition-feature/l.html"><i>l</i></a><i> · </i><a href="-lup-decomposition-feature/u.html"><i>u</i></a> where <i>a</i> is the owning matrix.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-828842962%2FClasslikes%2F244675578" anchor-label="Matrix" id="-828842962%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="index.html#-828842962%2FClasslikes%2F244675578"><span><span>Matrix</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-828842962%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">typealias </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="index.html#-828842962%2FClasslikes%2F244675578">T</a><span class="token operator">&gt;</span><span class="token operator"> = </span><a href="../space.kscience.kmath.nd/-structure2-d/index.html">Structure2D</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="index.html#-828842962%2FClasslikes%2F244675578">T</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Alias for <a href="../space.kscience.kmath.nd/-structure2-d/index.html">Structure2D</a> with more familiar name.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="471454329%2FClasslikes%2F244675578" anchor-label="MatrixBuilder" id="471454329%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-matrix-builder/index.html"><span>Matrix</span><wbr><span><span>Builder</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="471454329%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">class </span><a href="-matrix-builder/index.html">MatrixBuilder</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-matrix-builder/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token punctuation">, </span><span class="token keyword">out </span><a href="-matrix-builder/index.html">A</a><span class="token operator"> : </span><a href="../space.kscience.kmath.operations/-ring/index.html">Ring</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-matrix-builder/index.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>linearSpace<span class="token operator">: </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-matrix-builder/index.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="-matrix-builder/index.html">A</a><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>rows<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>columns<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></span></span><span class="token punctuation">)</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="39727998%2FClasslikes%2F244675578" anchor-label="MatrixFeature" id="39727998%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-matrix-feature/index.html"><span>Matrix</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="39727998%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-matrix-feature/index.html">MatrixFeature</a> : <a href="../space.kscience.kmath.nd/-structure-feature/index.html">StructureFeature</a></div><div class="brief "><p class="paragraph">A marker interface representing some properties of matrices or additional transformations of them. Features are used to optimize matrix operations performance in some cases or retrieve the APIs.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-218413951%2FClasslikes%2F244675578" anchor-label="MatrixWrapper" id="-218413951%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-matrix-wrapper/index.html"><span>Matrix</span><wbr><span><span>Wrapper</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-218413951%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">class </span><a href="-matrix-wrapper/index.html">MatrixWrapper</a><span class="token operator">&lt;</span><span class="token keyword">out </span><a href="-matrix-wrapper/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span> : <a href="../space.kscience.kmath.nd/-structure2-d/index.html">Structure2D</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-matrix-wrapper/index.html">T</a><span class="token operator">&gt; </span></div><div class="brief "><p class="paragraph">A <a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a> that holds <a href="-matrix-feature/index.html">MatrixFeature</a> objects.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-101432020%2FClasslikes%2F244675578" anchor-label="MutableMatrix" id="-101432020%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="index.html#-101432020%2FClasslikes%2F244675578"><span>Mutable</span><wbr><span><span>Matrix</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-101432020%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">typealias </span><a href="index.html#-101432020%2FClasslikes%2F244675578">MutableMatrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="index.html#-101432020%2FClasslikes%2F244675578">T</a><span class="token operator">&gt;</span><span class="token operator"> = </span><a href="../space.kscience.kmath.nd/-mutable-structure2-d/index.html">MutableStructure2D</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="index.html#-101432020%2FClasslikes%2F244675578">T</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-2033812170%2FClasslikes%2F244675578" anchor-label="OrthogonalFeature" id="-2033812170%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-orthogonal-feature/index.html"><span>Orthogonal</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2033812170%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">object </span><a href="-orthogonal-feature/index.html">OrthogonalFeature</a> : <a href="-matrix-feature/index.html">MatrixFeature</a></div><div class="brief "><p class="paragraph">Matrices with this feature are orthogonal ones: <i>a · a</i><sup><i>T</i></sup><i> = u</i> where <i>a</i> is the owning matrix, <i>u</i> is the unit matrix (<a href="-unit-feature/index.html">UnitFeature</a>).</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1940126653%2FClasslikes%2F244675578" anchor-label="Point" id="-1940126653%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="index.html#-1940126653%2FClasslikes%2F244675578"><span><span>Point</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1940126653%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">typealias </span><a href="index.html#-1940126653%2FClasslikes%2F244675578">Point</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="index.html#-1940126653%2FClasslikes%2F244675578">T</a><span class="token operator">&gt;</span><span class="token operator"> = </span><a href="../space.kscience.kmath.structures/-buffer/index.html">Buffer</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="index.html#-1940126653%2FClasslikes%2F244675578">T</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Alias or using <a href="../space.kscience.kmath.structures/-buffer/index.html">Buffer</a> as a point/vector in a many-dimensional space.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1060107457%2FClasslikes%2F244675578" anchor-label="QRDecompositionFeature" id="1060107457%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-q-r-decomposition-feature/index.html"><span>QRDecomposition</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1060107457%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-q-r-decomposition-feature/index.html">QRDecompositionFeature</a><span class="token operator">&lt;</span><span class="token keyword">out </span><a href="-q-r-decomposition-feature/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span> : <a href="-matrix-feature/index.html">MatrixFeature</a></div><div class="brief "><p class="paragraph">Matrices with this feature support QR factorization: <i>a = </i><a href="-q-r-decomposition-feature/q.html"><i>q</i></a><i> · </i><a href="-q-r-decomposition-feature/r.html"><i>r</i></a> where <i>a</i> is the owning matrix.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1539759156%2FClasslikes%2F244675578" anchor-label="SingularValueDecompositionFeature" id="-1539759156%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-singular-value-decomposition-feature/index.html"><span>Singular</span><wbr><span>Value</span><wbr><span>Decomposition</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1539759156%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="-singular-value-decomposition-feature/index.html">SingularValueDecompositionFeature</a><span class="token operator">&lt;</span><span class="token keyword">out </span><a href="-singular-value-decomposition-feature/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span> : <a href="-matrix-feature/index.html">MatrixFeature</a></div><div class="brief "><p class="paragraph">Matrices with this feature support SVD: <i>a = </i><a href="-singular-value-decomposition-feature/u.html"><i>u</i></a><i> · </i><a href="-singular-value-decomposition-feature/s.html"><i>s</i></a><i> · </i><a href="-singular-value-decomposition-feature/v.html"><i>v</i></a><sup><i>H</i></sup> where <i>a</i> is the owning matrix.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="822704273%2FClasslikes%2F244675578" anchor-label="SymmetricMatrixFeature" id="822704273%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-symmetric-matrix-feature/index.html"><span>Symmetric</span><wbr><span>Matrix</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="822704273%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">object </span><a href="-symmetric-matrix-feature/index.html">SymmetricMatrixFeature</a> : <a href="-matrix-feature/index.html">MatrixFeature</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="683361032%2FClasslikes%2F244675578" anchor-label="TransposedFeature" id="683361032%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-transposed-feature/index.html"><span>Transposed</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="683361032%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">class </span><a href="-transposed-feature/index.html">TransposedFeature</a><span class="token operator">&lt;</span><span class="token keyword">out </span><a href="-transposed-feature/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>original<span class="token operator">: </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-transposed-feature/index.html">T</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span> : <a href="-matrix-feature/index.html">MatrixFeature</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-563195986%2FClasslikes%2F244675578" anchor-label="UFeature" id="-563195986%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-u-feature/index.html"><span><span>UFeature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-563195986%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">object </span><a href="-u-feature/index.html">UFeature</a> : <a href="-matrix-feature/index.html">MatrixFeature</a></div><div class="brief "><p class="paragraph">Matrices with this feature are upper triangular ones.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1252993473%2FClasslikes%2F244675578" anchor-label="UnitFeature" id="1252993473%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-unit-feature/index.html"><span>Unit</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1252993473%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">object </span><a href="-unit-feature/index.html">UnitFeature</a> : <a href="-diagonal-feature/index.html">DiagonalFeature</a></div><div class="brief "><p class="paragraph">Matrices with this feature have unit elements on diagonal and zero elements in all other places.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="234741927%2FClasslikes%2F244675578" anchor-label="VirtualMatrix" id="234741927%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-virtual-matrix/index.html"><span>Virtual</span><wbr><span><span>Matrix</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="234741927%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">class </span><a href="-virtual-matrix/index.html">VirtualMatrix</a><span class="token operator">&lt;</span><span class="token keyword">out </span><a href="-virtual-matrix/index.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt;</span><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">val </span>rowNum<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>colNum<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">val </span>generator<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span>i<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span><span class="token keyword"></span>j<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><a href="-virtual-matrix/index.html">T</a></span></span><span class="token punctuation">)</span> : <a href="../space.kscience.kmath.nd/-structure2-d/index.html">Structure2D</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-virtual-matrix/index.html">T</a><span class="token operator">&gt; </span></div><div class="brief "><p class="paragraph">The matrix where each element is evaluated each time when is being accessed.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1556889883%2FClasslikes%2F244675578" anchor-label="ZeroFeature" id="-1556889883%2FClasslikes%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-zero-feature/index.html"><span>Zero</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1556889883%2FClasslikes%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">object </span><a href="-zero-feature/index.html">ZeroFeature</a> : <a href="-diagonal-feature/index.html">DiagonalFeature</a></div><div class="brief "><p class="paragraph">Matrices with this feature have all zero elements.</p></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div data-togglable="FUNCTION">
<h2 class="">Functions</h2>
<div class="table"><a data-name="656594194%2FFunctions%2F244675578" anchor-label="asMatrix" id="656594194%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="as-matrix.html"><span>as</span><wbr><span><span>Matrix</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="656594194%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="as-matrix.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt; </span><a href="index.html#-1940126653%2FClasslikes%2F244675578">Point</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="as-matrix.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="as-matrix.html"><span class="token function">asMatrix</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-virtual-matrix/index.html">VirtualMatrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="as-matrix.html">T</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Creates an n × 1 <a href="-virtual-matrix/index.html">VirtualMatrix</a>, where n is the size of the given buffer.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1733043867%2FFunctions%2F244675578" anchor-label="asVector" id="-1733043867%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="as-vector.html"><span>as</span><wbr><span><span>Vector</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1733043867%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="as-vector.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt; </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="as-vector.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="as-vector.html"><span class="token function">asVector</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html#-1940126653%2FClasslikes%2F244675578">Point</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="as-vector.html">T</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Convert matrix to vector if it is possible.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1487605813%2FFunctions%2F244675578" anchor-label="column" id="-1487605813%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="column.html"><span><span>column</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1487605813%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="column.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt; </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="column.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../space.kscience.kmath.operations/-ring/index.html">Ring</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="column.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="column.html"><span class="token function">column</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">vararg </span>values<span class="token operator">: </span><a href="column.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="column.html">T</a><span class="token operator">&gt;</span></div><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="column.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt; </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="column.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../space.kscience.kmath.operations/-ring/index.html">Ring</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="column.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="column.html"><span class="token function">column</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">size<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">crossinline </span>builder<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><a href="column.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="column.html">T</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1746298942%2FFunctions%2F244675578" anchor-label="computeFeature" id="-1746298942%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="compute-feature.html"><span>compute</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1746298942%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html"><span class="token annotation builtin">UnstableKMathAPI</span></a></div></div><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="compute-feature.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="compute-feature.html">F</a><span class="token operator"> : </span><a href="../space.kscience.kmath.nd/-structure-feature/index.html">StructureFeature</a><span class="token operator">&gt; </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="compute-feature.html">T</a><span class="token punctuation">, </span><span class="token operator">*</span><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="compute-feature.html"><span class="token function">computeFeature</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">structure<span class="token operator">: </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="compute-feature.html">T</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="compute-feature.html">F</a><span class="token operator">?</span></div><div class="brief "><p class="paragraph">Get a feature of the structure in this scope. Structure features take precedence other context features.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1980147716%2FFunctions%2F244675578" anchor-label="DeterminantFeature" id="-1980147716%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="-determinant-feature.html"><span>Determinant</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1980147716%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-determinant-feature.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt; </span><a href="-determinant-feature.html"><span class="token function">DeterminantFeature</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">determinant<span class="token operator">: </span><a href="-determinant-feature.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-determinant-feature/index.html">DeterminantFeature</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-determinant-feature.html">T</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Produces a <a href="-determinant-feature/index.html">DeterminantFeature</a> where the <a href="-determinant-feature/determinant.html">DeterminantFeature.determinant</a> is <a href="-determinant-feature.html">determinant</a>.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-2033691286%2FFunctions%2F244675578" anchor-label="invoke" id="-2033691286%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="invoke.html"><span><span>invoke</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2033691286%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">inline operator </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="invoke.html">LS</a><span class="token operator"> : </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token operator">*</span><span class="token punctuation">, </span><span class="token operator">*</span><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="invoke.html">R</a><span class="token operator">&gt; </span><a href="invoke.html">LS</a><span class="token punctuation">.</span><a href="invoke.html"><span class="token function">invoke</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">block<span class="token operator">: </span><span class="token keyword"></span><a href="invoke.html">LS</a><span class="token punctuation">.</span><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><a href="invoke.html">R</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="invoke.html">R</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1788744964%2FFunctions%2F244675578" anchor-label="lup" id="1788744964%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="lup.html"><span><span>lup</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1788744964%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../space.kscience.kmath.operations/-field/index.html">Field</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="lup.html"><span class="token function">lup</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">matrix<span class="token operator">: </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">noinline </span>checkSingular<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="lup.html">T</a><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-lup-decomposition/index.html">LupDecomposition</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup.html">T</a><span class="token operator">&gt;</span></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../space.kscience.kmath.operations/-double-field/index.html">DoubleField</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="lup.html"><span class="token function">lup</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">matrix<span class="token operator">: </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter ">singularityThreshold<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token operator"> = </span><span class="token constant">1.0E-11</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-lup-decomposition/index.html">LupDecomposition</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token operator">&gt;</span></div><br><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../space.kscience.kmath.operations/-field/index.html">Field</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="lup.html"><span class="token function">lup</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">factory<span class="token operator">: </span><a href="../space.kscience.kmath.structures/-mutable-buffer-factory/index.html">MutableBufferFactory</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter ">matrix<span class="token operator">: </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter ">checkSingular<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="lup.html">T</a><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-lup-decomposition/index.html">LupDecomposition</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup.html">T</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Create a lup decomposition of generic matrix.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1598625863%2FFunctions%2F244675578" anchor-label="lupSolver" id="1598625863%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="lup-solver.html"><span>lup</span><wbr><span><span>Solver</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1598625863%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../space.kscience.kmath.operations/-double-field/index.html">DoubleField</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="lup-solver.html"><span class="token function">lupSolver</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">singularityThreshold<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token operator"> = </span><span class="token constant">1.0E-11</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-linear-solver/index.html">LinearSolver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="token operator">&gt;</span></div><br><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup-solver.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-comparable/index.html">Comparable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup-solver.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">, </span><span class="token keyword"></span><a href="lup-solver.html">F</a><span class="token operator"> : </span><a href="../space.kscience.kmath.operations/-field/index.html">Field</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup-solver.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup-solver.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="lup-solver.html">F</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="lup-solver.html"><span class="token function">lupSolver</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">bufferFactory<span class="token operator">: </span><a href="../space.kscience.kmath.structures/-mutable-buffer-factory/index.html">MutableBufferFactory</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup-solver.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">, </span></span><span class="parameter ">singularityCheck<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="lup-solver.html">T</a><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-linear-solver/index.html">LinearSolver</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="lup-solver.html">T</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Produce a generic solver based on LUP decomposition</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-890703650%2FFunctions%2F244675578" anchor-label="matrix" id="-890703650%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="matrix.html"><span><span>matrix</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-890703650%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html"><span class="token annotation builtin">UnstableKMathAPI</span></a></div></div><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="matrix.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="matrix.html">A</a><span class="token operator"> : </span><a href="../space.kscience.kmath.operations/-ring/index.html">Ring</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="matrix.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="matrix.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="matrix.html">A</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="matrix.html"><span class="token function">matrix</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">rows<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">columns<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-matrix-builder/index.html">MatrixBuilder</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="matrix.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="matrix.html">A</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Create a matrix builder with given number of rows and columns</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1280222603%2FFunctions%2F244675578" anchor-label="one" id="-1280222603%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="one.html"><span><span>one</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1280222603%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="one.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt; </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="one.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../space.kscience.kmath.operations/-ring/index.html">Ring</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="one.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="one.html"><span class="token function">one</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">rows<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">columns<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="one.html">T</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Diagonal matrix of ones. The matrix is virtual no actual matrix is created.</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="27511140%2FFunctions%2F244675578" anchor-label="plus" id="27511140%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="plus.html"><span><span>plus</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="27511140%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">operator </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="plus.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt; </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="plus.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="plus.html"><span class="token function"><strike>plus</strike></span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">newFeature<span class="token operator">: </span><a href="-matrix-feature/index.html">MatrixFeature</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-matrix-wrapper/index.html">MatrixWrapper</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="plus.html">T</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1095764231%2FFunctions%2F244675578" anchor-label="row" id="-1095764231%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="row.html"><span><span>row</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1095764231%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="row.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt; </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="row.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../space.kscience.kmath.operations/-ring/index.html">Ring</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="row.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="row.html"><span class="token function">row</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">vararg </span>values<span class="token operator">: </span><a href="row.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="row.html">T</a><span class="token operator">&gt;</span></div><div class="symbol monospace"><span class="token keyword">inline </span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="row.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt; </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="row.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../space.kscience.kmath.operations/-ring/index.html">Ring</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="row.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="row.html"><span class="token function">row</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">size<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter "><span class="token keyword">crossinline </span>builder<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><a href="row.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="row.html">T</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1782183824%2FFunctions%2F244675578" anchor-label="symmetric" id="1782183824%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="symmetric.html"><span><span>symmetric</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1782183824%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="symmetric.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="symmetric.html">A</a><span class="token operator"> : </span><a href="../space.kscience.kmath.operations/-ring/index.html">Ring</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="symmetric.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="-matrix-builder/index.html">MatrixBuilder</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="symmetric.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="symmetric.html">A</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="symmetric.html"><span class="token function">symmetric</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">builder<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span>i<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span><span class="token keyword"></span>j<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><a href="symmetric.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="symmetric.html">T</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Naive implementation of a symmetric matrix builder, that adds a <a href="-symmetric-matrix-feature/index.html">SymmetricMatrixFeature</a> tag. The resulting matrix contains full <code class="lang-kotlin">size^2</code> number of elements, but caches elements during calls to save <a href="symmetric.html">builder</a> calls. <a href="symmetric.html">builder</a> is always called in the upper triangle region meaning that <code class="lang-kotlin">i &lt;= j</code></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="2008285775%2FFunctions%2F244675578" anchor-label="transpose" id="2008285775%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="transpose.html"><span><span>transpose</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="2008285775%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="transpose.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt; </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="transpose.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="transpose.html"><span class="token function">transpose</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="transpose.html">T</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Create a virtual transposed matrix without copying anything. <code class="lang-kotlin">A.transpose().transpose() === A</code></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-637008616%2FFunctions%2F244675578" anchor-label="vector" id="-637008616%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="vector.html"><span><span>vector</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-637008616%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html"><span class="token annotation builtin">UnstableKMathAPI</span></a></div></div><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="vector.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt; </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="vector.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../space.kscience.kmath.operations/-ring/index.html">Ring</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="vector.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="vector.html"><span class="token function">vector</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter "><span class="token keyword">vararg </span>elements<span class="token operator">: </span><a href="vector.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html#-1940126653%2FClasslikes%2F244675578">Point</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="vector.html">T</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-722056885%2FFunctions%2F244675578" anchor-label="virtual" id="-722056885%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="virtual.html"><span><span>virtual</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-722056885%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="virtual.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt; </span><a href="-matrix-builder/index.html">MatrixBuilder</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="virtual.html">T</a><span class="token punctuation">, </span><span class="token operator">*</span><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="virtual.html"><span class="token function">virtual</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">generator<span class="token operator">: </span><span class="token punctuation">(</span><span class="token keyword"></span>i<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span><span class="token keyword"></span>j<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">)</span><span class="token operator"> -&gt; </span><span class="token keyword"></span><a href="virtual.html">T</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-virtual-matrix/index.html">VirtualMatrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="virtual.html">T</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1378331736%2FFunctions%2F244675578" anchor-label="withFeature" id="-1378331736%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="with-feature.html"><span>with</span><wbr><span><span>Feature</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1378331736%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="with-feature.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt; </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="with-feature.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="with-feature.html"><span class="token function">withFeature</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">newFeature<span class="token operator">: </span><a href="-matrix-feature/index.html">MatrixFeature</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-matrix-wrapper/index.html">MatrixWrapper</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="with-feature.html">T</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Add a single feature to a <a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-896546937%2FFunctions%2F244675578" anchor-label="withFeatures" id="-896546937%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="with-features.html"><span>with</span><wbr><span><span>Features</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-896546937%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="with-features.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt; </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="with-features.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="with-features.html"><span class="token function">withFeatures</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">newFeatures<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterable/index.html">Iterable</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="-matrix-feature/index.html">MatrixFeature</a><span class="token operator">&gt;</span></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="-matrix-wrapper/index.html">MatrixWrapper</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="with-features.html">T</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Add a collection of features to a <a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1310518479%2FFunctions%2F244675578" anchor-label="zero" id="-1310518479%2FFunctions%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="zero.html"><span><span>zero</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1310518479%2FFunctions%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="zero.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt; </span><a href="-linear-space/index.html">LinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="zero.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="../space.kscience.kmath.operations/-ring/index.html">Ring</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="zero.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="zero.html"><span class="token function">zero</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">rows<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a><span class="token punctuation">, </span></span><span class="parameter ">columns<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="zero.html">T</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">A virtual matrix of zeroes</p></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div data-togglable="EXTENSION_PROPERTY">
<h2 class="">Properties</h2>
<div class="table"><a data-name="73430423%2FProperties%2F244675578" anchor-label="linearSpace" id="73430423%2FProperties%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_PROPERTY" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="linear-space.html"><span>linear</span><wbr><span><span>Space</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="73430423%2FProperties%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="linear-space.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="linear-space.html">A</a><span class="token operator"> : </span><a href="../space.kscience.kmath.operations/-ring/index.html">Ring</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="linear-space.html">T</a><span class="token operator">&gt;</span><span class="token operator">&gt; </span><a href="linear-space.html">A</a><span class="token punctuation">.</span><a href="linear-space.html">linearSpace</a><span class="token operator">: </span><a href="-buffered-linear-space/index.html">BufferedLinearSpace</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="linear-space.html">T</a><span class="token punctuation">, </span><span class="token keyword"></span><a href="linear-space.html">A</a><span class="token operator">&gt;</span></div><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="../space.kscience.kmath.operations/-double-field/index.html">DoubleField</a><span class="token punctuation">.</span><a href="linear-space.html">linearSpace</a><span class="token operator">: </span><a href="-double-linear-space/index.html">DoubleLinearSpace</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="316938294%2FProperties%2F244675578" anchor-label="origin" id="316938294%2FProperties%2F244675578" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_PROPERTY" data-filterable-current=":kmath-core:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-core:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="origin.html"><span><span>origin</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="316938294%2FProperties%2F244675578"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div>
<div class="title">
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-core:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><div class="block"><div class="block"><span class="token annotation builtin">@</span><a href="../../kmath-memory/space.kscience.kmath/-unstable-k-math-a-p-i/index.html"><span class="token annotation builtin">UnstableKMathAPI</span></a></div></div><span class="token keyword"></span><span class="token keyword">val </span><span class="token operator">&lt;</span><span class="token keyword"></span><a href="origin.html">T</a><span class="token operator"> : </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-any/index.html">Any</a><span class="token operator">&gt; </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="origin.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="origin.html">origin</a><span class="token operator">: </span><a href="index.html#-828842962%2FClasslikes%2F244675578">Matrix</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="origin.html">T</a><span class="token operator">&gt;</span></div><div class="brief "><p class="paragraph">Return the original matrix. If this is a wrapper, return its origin. If not, this matrix. Origin does not necessary store all features.</p></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer">
<span class="go-to-top-icon"><a href="#content" id="go-to-top-link"></a></span><span>© 2023 Copyright</span><span class="pull-right"><span>Generated by </span><a href="https://github.com/Kotlin/dokka"><span>dokka</span><span class="padded-icon"></span></a></span>
</div>
</div>
</div>
</body>
</html>