kmath/kmath-complex/space.kscience.kmath.complex/-quaternion/index.html

409 lines
51 KiB
HTML

<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>Quaternion</title>
</head><body><link href="../../../../../images/logo-icon.svg" rel="icon" type="image/svg"><script>var pathToRoot = "../../../";</script><script type="text/javascript" src="../../../scripts/sourceset_dependencies.js" async></script><link href="../../../styles/style.css" rel="Stylesheet"><link href="../../../styles/logo-styles.css" rel="Stylesheet"><link href="../../../styles/jetbrains-mono.css" rel="Stylesheet"><link href="../../../styles/main.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" async></script>
<div id="container">
<div id="leftColumn"><a href="../../../index.html">
<div id="logo"></div>
</a>
<div id="paneSearch"></div>
<div id="sideMenu"></div>
</div>
<div id="main">
<script type="text/javascript" src="../../../scripts/main.js"></script><div id="leftToggler"><span class="icon-toggler"></span></div>
<div class="main-content" id="content" pageids="kmath-complex::space.kscience.kmath.complex/Quaternion///PointingToDeclaration//-1704498033">
<div class="navigation-wrapper" id="navigation-wrapper">
<div class="breadcrumbs"><a href="../../index.html">kmath-complex</a>/<a href="../index.html">space.kscience.kmath.complex</a>/<a href="index.html">Quaternion</a></div>
<div class="pull-right d-flex">
<div id="searchBar"></div>
</div>
</div>
<div class="cover ">
<h1 class="cover"><span>Quaternion</span></h1>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">data class <a href="index.html">Quaternion</a>(w: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, x: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, y: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, z: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><p class="paragraph">Represents <code>double</code>-based quaternion.</p></div></div>
</div>
<div class="tabbedcontent">
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="Types">Types</button><button class="section-tab" data-togglable="Constructors">Constructors</button><button class="section-tab" data-togglable="Functions">Functions</button><button class="section-tab" data-togglable="Properties">Properties</button><button class="section-tab" data-togglable="Extensions">Extensions</button><button class="section-tab" data-togglable="Sources">Sources</button></div>
<div class="tabs-section-body">
<h2 class="tabbedcontent">Constructors</h2>
<div class="table" data-togglable="Constructors"><a data-name="679821086%2FConstructors%2F-1704498033" anchor-label="Quaternion" id="679821086%2FConstructors%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue TabbedContent">
<div class=""><span class="inline-flex"><a href="-quaternion.html">Quaternion</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="679821086%2FConstructors%2F-1704498033"></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-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">fun <a href="-quaternion.html">Quaternion</a>(w: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a>, x: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a>, y: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a>, z: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="735748657%2FConstructors%2F-1704498033" anchor-label="Quaternion" id="735748657%2FConstructors%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue TabbedContent">
<div class=""><span class="inline-flex"><a href="-quaternion.html">Quaternion</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="735748657%2FConstructors%2F-1704498033"></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-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">fun <a href="-quaternion.html">Quaternion</a>(w: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a>, x: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a>, y: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1842310524%2FConstructors%2F-1704498033" anchor-label="Quaternion" id="-1842310524%2FConstructors%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue TabbedContent">
<div class=""><span class="inline-flex"><a href="-quaternion.html">Quaternion</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1842310524%2FConstructors%2F-1704498033"></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-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">fun <a href="-quaternion.html">Quaternion</a>(w: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a>, x: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-230997993%2FConstructors%2F-1704498033" anchor-label="Quaternion" id="-230997993%2FConstructors%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue TabbedContent">
<div class=""><span class="inline-flex"><a href="-quaternion.html">Quaternion</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-230997993%2FConstructors%2F-1704498033"></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-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">fun <a href="-quaternion.html">Quaternion</a>(w: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="875689866%2FConstructors%2F-1704498033" anchor-label="Quaternion" id="875689866%2FConstructors%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue TabbedContent">
<div class=""><span class="inline-flex"><a href="-quaternion.html">Quaternion</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="875689866%2FConstructors%2F-1704498033"></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-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">fun <a href="-quaternion.html">Quaternion</a>(wx: <a href="../-complex/index.html">Complex</a>, yz: <a href="../-complex/index.html">Complex</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="195423979%2FConstructors%2F-1704498033" anchor-label="Quaternion" id="195423979%2FConstructors%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue TabbedContent">
<div class=""><span class="inline-flex"><a href="-quaternion.html">Quaternion</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="195423979%2FConstructors%2F-1704498033"></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-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">fun <a href="-quaternion.html">Quaternion</a>(wx: <a href="../-complex/index.html">Complex</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1680593666%2FConstructors%2F-1704498033" anchor-label="Quaternion" id="-1680593666%2FConstructors%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue TabbedContent">
<div class=""><span class="inline-flex"><a href="-quaternion.html">Quaternion</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1680593666%2FConstructors%2F-1704498033"></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-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">fun <a href="-quaternion.html">Quaternion</a>(w: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, x: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, y: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>, z: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a>)<span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
<h2 class="">Types</h2>
<div class="table" data-togglable="Types"><a data-name="-1948151890%2FClasslikes%2F-1704498033" anchor-label="Companion" id="-1948151890%2FClasslikes%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="-companion/index.html">Companion</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1948151890%2FClasslikes%2F-1704498033"></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="divergent-group" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">object <a href="-companion/index.html">Companion</a> : <a href="../../../kmath-memory/space.kscience.kmath.memory/-memory-spec/index.html">MemorySpec</a>&lt;<a href="index.html">Quaternion</a>&gt; <span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<h2 class="">Functions</h2>
<div class="table" data-togglable="Functions"><a data-name="21007079%2FFunctions%2F-1704498033" anchor-label="toString" id="21007079%2FFunctions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="to-string.html">toString</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="21007079%2FFunctions%2F-1704498033"></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="divergent-group" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">open override fun <a href="to-string.html">toString</a>(): <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="21007079%2FFunctions%2F-1704498033" anchor-label="toString" id="21007079%2FFunctions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="21007079%2FFunctions%2F-1704498033" anchor-label="toString" id="21007079%2FFunctions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>Returns a string representation of this quaternion.</div></div>
</div>
</div>
</div>
</div>
</div>
<h2 class="">Properties</h2>
<div class="table" data-togglable="Properties"><a data-name="-576934960%2FProperties%2F-1704498033" anchor-label="w" id="-576934960%2FProperties%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="w.html">w</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-576934960%2FProperties%2F-1704498033"></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" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><a data-name="-576934960%2FProperties%2F-1704498033" anchor-label="w" id="-576934960%2FProperties%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a><div class="symbol monospace">val <a href="w.html">w</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><a data-name="-576934960%2FProperties%2F-1704498033" anchor-label="w" id="-576934960%2FProperties%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>The first component.</div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-545915153%2FProperties%2F-1704498033" anchor-label="x" id="-545915153%2FProperties%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="x.html">x</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-545915153%2FProperties%2F-1704498033"></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" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><a data-name="-545915153%2FProperties%2F-1704498033" anchor-label="x" id="-545915153%2FProperties%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a><div class="symbol monospace">val <a href="x.html">x</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><a data-name="-545915153%2FProperties%2F-1704498033" anchor-label="x" id="-545915153%2FProperties%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>The second component.</div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-514895346%2FProperties%2F-1704498033" anchor-label="y" id="-514895346%2FProperties%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="y.html">y</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-514895346%2FProperties%2F-1704498033"></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" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><a data-name="-514895346%2FProperties%2F-1704498033" anchor-label="y" id="-514895346%2FProperties%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a><div class="symbol monospace">val <a href="y.html">y</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><a data-name="-514895346%2FProperties%2F-1704498033" anchor-label="y" id="-514895346%2FProperties%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>The third component.</div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-483875539%2FProperties%2F-1704498033" anchor-label="z" id="-483875539%2FProperties%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="z.html">z</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-483875539%2FProperties%2F-1704498033"></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" data-togglable="Properties"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><a data-name="-483875539%2FProperties%2F-1704498033" anchor-label="z" id="-483875539%2FProperties%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a><div class="symbol monospace">val <a href="z.html">z</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="brief "><a data-name="-483875539%2FProperties%2F-1704498033" anchor-label="z" id="-483875539%2FProperties%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>The fourth component.</div></div></div>
</div>
</div>
</div>
</div>
</div>
<h2 class="tabbedcontent">Extensions</h2>
<div class="table" data-togglable="Extensions"><a data-name="-1383126765%2FExtensions%2F-1704498033" anchor-label="conjugate" id="-1383126765%2FExtensions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="../conjugate.html">conjugate</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1383126765%2FExtensions%2F-1704498033"></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="divergent-group" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">val <a href="index.html">Quaternion</a>.<a href="../conjugate.html">conjugate</a>: <a href="index.html">Quaternion</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="-1383126765%2FExtensions%2F-1704498033" anchor-label="conjugate" id="-1383126765%2FExtensions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-1383126765%2FExtensions%2F-1704498033" anchor-label="conjugate" id="-1383126765%2FExtensions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>This quaternion's conjugate.</div></div>
</div>
</div>
</div>
</div>
<a data-name="823936006%2FExtensions%2F-1704498033" anchor-label="div" id="823936006%2FExtensions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="index.html#1706999654%2FExtensions%2F-1704498033">div</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="823936006%2FExtensions%2F-1704498033"></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="divergent-group" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">open operator fun <a href="index.html">Quaternion</a>.<a href="index.html#1706999654%2FExtensions%2F-1704498033">div</a>(other: <a href="index.html">Quaternion</a>): <a href="index.html">Quaternion</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">open operator fun <a href="index.html">Quaternion</a>.<a href="index.html#975134892%2FExtensions%2F-1704498033">div</a>(k: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a>): <a href="index.html">Quaternion</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="1361805061%2FExtensions%2F-1704498033" anchor-label="minus" id="1361805061%2FExtensions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="../-quaternion-field/minus.html">minus</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1361805061%2FExtensions%2F-1704498033"></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="divergent-group" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">open operator override fun <a href="index.html">Quaternion</a>.<a href="../-quaternion-field/minus.html">minus</a>(other: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a>): <a href="index.html">Quaternion</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">open operator fun <a href="index.html">Quaternion</a>.<a href="index.html#-52173012%2FExtensions%2F-1704498033">minus</a>(other: <a href="index.html">Quaternion</a>): <a href="index.html">Quaternion</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="689879305%2FExtensions%2F-1704498033" anchor-label="plus" id="689879305%2FExtensions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="../-quaternion-field/plus.html">plus</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="689879305%2FExtensions%2F-1704498033"></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="divergent-group" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">open operator override fun <a href="index.html">Quaternion</a>.<a href="../-quaternion-field/plus.html">plus</a>(other: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a>): <a href="index.html">Quaternion</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">open operator fun <a href="index.html">Quaternion</a>.<a href="index.html#-2027606624%2FExtensions%2F-1704498033">plus</a>(other: <a href="index.html">Quaternion</a>): <a href="index.html">Quaternion</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="-1357995606%2FExtensions%2F-1704498033" anchor-label="pow" id="-1357995606%2FExtensions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="index.html#-1357995606%2FExtensions%2F-1704498033">pow</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1357995606%2FExtensions%2F-1704498033"></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="divergent-group" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">open infix fun <a href="index.html">Quaternion</a>.<a href="index.html#-1357995606%2FExtensions%2F-1704498033">pow</a>(pow: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a>): <a href="index.html">Quaternion</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="-228303635%2FExtensions%2F-1704498033" anchor-label="r" id="-228303635%2FExtensions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="../r.html">r</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-228303635%2FExtensions%2F-1704498033"></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="divergent-group" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">val <a href="index.html">Quaternion</a>.<a href="../r.html">r</a>: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="-228303635%2FExtensions%2F-1704498033" anchor-label="r" id="-228303635%2FExtensions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="-228303635%2FExtensions%2F-1704498033" anchor-label="r" id="-228303635%2FExtensions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>Absolute value of the quaternion.</div></div>
</div>
</div>
</div>
</div>
<a data-name="1315557989%2FExtensions%2F-1704498033" anchor-label="reciprocal" id="1315557989%2FExtensions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="../reciprocal.html">reciprocal</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1315557989%2FExtensions%2F-1704498033"></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="divergent-group" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">val <a href="index.html">Quaternion</a>.<a href="../reciprocal.html">reciprocal</a>: <a href="index.html">Quaternion</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
<a data-name="1315557989%2FExtensions%2F-1704498033" anchor-label="reciprocal" id="1315557989%2FExtensions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a><div class="brief "><a data-name="1315557989%2FExtensions%2F-1704498033" anchor-label="reciprocal" id="1315557989%2FExtensions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>This quaternion's reciprocal.</div></div>
</div>
</div>
</div>
</div>
<a data-name="-2067693976%2FExtensions%2F-1704498033" anchor-label="times" id="-2067693976%2FExtensions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="index.html#-114868899%2FExtensions%2F-1704498033">times</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-2067693976%2FExtensions%2F-1704498033"></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="divergent-group" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">open operator fun <a href="index.html">Quaternion</a>.<a href="index.html#-114868899%2FExtensions%2F-1704498033">times</a>(other: <a href="index.html">Quaternion</a>): <a href="index.html">Quaternion</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div><div class="symbol monospace">open operator fun <a href="index.html">Quaternion</a>.<a href="index.html#-1043083497%2FExtensions%2F-1704498033">times</a>(k: <a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a>): <a href="index.html">Quaternion</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="1237028318%2FExtensions%2F-1704498033" anchor-label="unaryMinus" id="1237028318%2FExtensions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="../-quaternion-field/unary-minus.html">unaryMinus</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1237028318%2FExtensions%2F-1704498033"></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="divergent-group" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">open operator override fun <a href="index.html">Quaternion</a>.<a href="../-quaternion-field/unary-minus.html">unaryMinus</a>(): <a href="index.html">Quaternion</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<a data-name="418882539%2FExtensions%2F-1704498033" anchor-label="unaryPlus" id="418882539%2FExtensions%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="index.html#418882539%2FExtensions%2F-1704498033">unaryPlus</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="418882539%2FExtensions%2F-1704498033"></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="divergent-group" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="with-platform-tags"><span class="pull-right"></span></div>
<div>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-depenent-content" data-active="" data-togglable=":kmath-complex:dokkaHtmlPartial/commonMain"><div class="symbol monospace">open operator fun <a href="index.html">Quaternion</a>.<a href="index.html#418882539%2FExtensions%2F-1704498033">unaryPlus</a>(): <a href="index.html">Quaternion</a><span class="top-right-position"><span class="copy-icon"></span><div class="copy-popup-wrapper popup-to-left"><span class="copy-popup-icon"></span><span>Content copied to clipboard</span></div></span></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<h2 class="">Sources</h2>
<div class="table" data-togglable="Sources"><a data-name="735099436%2FSource%2F-1704498033" anchor-label="https://github.com/mipt-npm/kmath/tree/master/kmath-complex/src/commonMain/kotlin/space/kscience/kmath/complex/Quaternion.kt#L192" id="735099436%2FSource%2F-1704498033" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-complex:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-complex:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex"><a href="https://github.com/mipt-npm/kmath/tree/master/kmath-complex/src/commonMain/kotlin/space/kscience/kmath/complex/Quaternion.kt#L192">common source</a><span class="anchor-wrapper"><span class="anchor-icon" pointing-to="735099436%2FSource%2F-1704498033"></span>
<div class="copy-popup-wrapper "><span class="copy-popup-icon"></span><span>Link copied to clipboard</span></div>
</span></span></div>
<div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div class="footer"><span class="go-to-top-icon"><a href="#content"></a></span><span>© 2021 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>