kmath/kmath-geometry/space.kscience.kmath.geometry/-vector2-d/index.html

365 lines
40 KiB
HTML

<!doctype html>
<html>
<head>
<meta name="viewport" content="width=device-width, initial-scale=1" charset="UTF-8">
<title>Vector2D</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-geometry: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="classlike" id="content" pageids="kmath-geometry::space.kscience.kmath.geometry/Vector2D///PointingToDeclaration//-1055449721">
<div class="breadcrumbs"><a href="../../index.html">kmath-geometry</a><span class="delimiter">/</span><a href="../index.html">space.kscience.kmath.geometry</a><span class="delimiter">/</span><span class="current">Vector2D</span></div>
<div class="cover ">
<h1 class="cover"><span><span>Vector2D</span></span></h1>
<div class="platform-hinted " data-platform-hinted="data-platform-hinted"><div class="content sourceset-dependent-content" data-active="" data-togglable=":kmath-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">interface </span><a href="index.html">Vector2D</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="index.html">T</a><span class="token operator">&gt;</span> : <a href="../../../kmath-core/space.kscience.kmath.structures/-buffer/index.html">Buffer</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="index.html">T</a><span class="token operator">&gt; </span>, <a href="../-vector/index.html">Vector</a><span class="clearfix"><span class="floating-right">(<a href="https://github.com/SciProgCentre/kmath/tree/master/kmath-geometry/src/commonMain/kotlin/space/kscience/kmath/geometry/Euclidean2DSpace.kt#L20">source</a>)</span></span></div></div></div>
</div>
<div class="tabbedcontent">
<div class="tabs-section" tabs-section="tabs-section"><button class="section-tab" data-active="" data-togglable="CONSTRUCTOR,TYPE,FUNCTION,PROPERTY">Members</button><button class="section-tab" data-togglable="CONSTRUCTOR,TYPE,FUNCTION,PROPERTY,EXTENSION_PROPERTY,EXTENSION_FUNCTION">Members &amp; Extensions</button></div>
<div class="tabs-section-body">
<div data-togglable="FUNCTION">
<h2 class="">Functions</h2>
<div class="table"><a data-name="93862125%2FFunctions%2F-1055449721" anchor-label="asVector3D" id="93862125%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="../as-vector3-d.html"><span>as</span><wbr><span><span>Vector3D</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="93862125%2FFunctions%2F-1055449721"></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-geometry: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-vector3-d.html">T</a><span class="token operator">&gt; </span><a href="../../../kmath-core/space.kscience.kmath.structures/-buffer/index.html">Buffer</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../as-vector3-d.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="../as-vector3-d.html"><span class="token function">asVector3D</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../-vector3-d/index.html">Vector3D</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../as-vector3-d.html">T</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1235032168%2FFunctions%2F-1055449721" anchor-label="component1" id="-1235032168%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="../component1.html"><span><span>component1</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1235032168%2FFunctions%2F-1055449721"></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-geometry: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="../component1.html">T</a><span class="token operator">&gt; </span><a href="index.html">Vector2D</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../component1.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="../component1.html"><span class="token function">component1</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../component1.html">T</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-434496615%2FFunctions%2F-1055449721" anchor-label="component2" id="-434496615%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="../component2.html"><span><span>component2</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-434496615%2FFunctions%2F-1055449721"></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-geometry: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="../component2.html">T</a><span class="token operator">&gt; </span><a href="index.html">Vector2D</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="../component2.html">T</a><span class="token operator">&gt;</span><span class="token punctuation">.</span><a href="../component2.html"><span class="token function">component2</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../component2.html">T</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1228041139%2FFunctions%2F-1055449721" anchor-label="distanceTo" id="-1228041139%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="../-euclidean2-d-space/distance-to.html"><span>distance</span><wbr><span><span>To</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1228041139%2FFunctions%2F-1055449721"></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-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a><span class="token punctuation">.</span><a href="../-euclidean2-d-space/distance-to.html"><span class="token function">distanceTo</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">other<span class="token operator">: </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a></div><div class="brief "><p class="paragraph">L2 distance</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="428736479%2FFunctions%2F-1055449721" anchor-label="div" id="428736479%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="../-euclidean2-d-space/index.html#428736479%2FExtensions%2F-1055449721"><span><span>div</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="428736479%2FFunctions%2F-1055449721"></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-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">operator </span><span class="token keyword">fun </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a><span class="token punctuation">.</span><a href="../-euclidean2-d-space/index.html#428736479%2FExtensions%2F-1055449721"><span class="token function">div</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">k<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1775889916%2FFunctions%2F-1055449721" anchor-label="dot" id="1775889916%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="../-euclidean2-d-space/dot.html"><span><span>dot</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1775889916%2FFunctions%2F-1055449721"></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-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">infix override </span><span class="token keyword">fun </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a><span class="token punctuation">.</span><a href="../-euclidean2-d-space/dot.html"><span class="token function">dot</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">other<span class="token operator">: </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a></div><div class="brief "><p class="paragraph">Scalar product</p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-335350646%2FFunctions%2F-1055449721" anchor-label="equalsVector" id="-335350646%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="../equals-vector.html"><span>equals</span><wbr><span><span>Vector</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-335350646%2FFunctions%2F-1055449721"></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-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">fun </span><a href="../index.html#-1472171913%2FClasslikes%2F-1055449721">Float64Vector2D</a><span class="token punctuation">.</span><a href="../equals-vector.html"><span class="token function">equalsVector</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">other<span class="token operator">: </span><a href="../index.html#-1472171913%2FClasslikes%2F-1055449721">Float64Vector2D</a><span class="token punctuation">, </span></span><span class="parameter ">precision<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>DEFAULT_PRECISION</span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-boolean/index.html">Boolean</a></div><div class="brief "><p class="paragraph">Vector equality using Euclidian L2 norm and given <a href="../equals-vector.html">precision</a></p></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1188846186%2FFunctions%2F-1055449721" anchor-label="get" id="1188846186%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="get.html"><span><span>get</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1188846186%2FFunctions%2F-1055449721"></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-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">operator override </span><span class="token keyword">fun </span><a href="get.html"><span class="token function">get</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">index<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">T</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="1186390922%2FFunctions%2F-1055449721" anchor-label="iterator" id="1186390922%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="iterator.html"><span><span>iterator</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="1186390922%2FFunctions%2F-1055449721"></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-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">operator override </span><span class="token keyword">fun </span><a href="iterator.html"><span class="token function">iterator</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin.collections/-iterator/index.html">Iterator</a><span class="token operator">&lt;</span><span class="token keyword"></span><a href="index.html">T</a><span class="token operator">&gt;</span></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-46817134%2FFunctions%2F-1055449721" anchor-label="minus" id="-46817134%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="../-euclidean2-d-space/index.html#-46817134%2FExtensions%2F-1055449721"><span><span>minus</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-46817134%2FFunctions%2F-1055449721"></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-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">operator </span><span class="token keyword">fun </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a><span class="token punctuation">.</span><a href="../-euclidean2-d-space/index.html#-46817134%2FExtensions%2F-1055449721"><span class="token function">minus</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">arg<span class="token operator">: </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="480604422%2FFunctions%2F-1055449721" anchor-label="plus" id="480604422%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="../-euclidean2-d-space/index.html#480604422%2FExtensions%2F-1055449721"><span><span>plus</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="480604422%2FFunctions%2F-1055449721"></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-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">operator </span><span class="token keyword">fun </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a><span class="token punctuation">.</span><a href="../-euclidean2-d-space/index.html#480604422%2FExtensions%2F-1055449721"><span class="token function">plus</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">arg<span class="token operator">: </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-325101814%2FFunctions%2F-1055449721" anchor-label="times" id="-325101814%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="../-euclidean2-d-space/index.html#-325101814%2FExtensions%2F-1055449721"><span><span>times</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-325101814%2FFunctions%2F-1055449721"></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-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">operator </span><span class="token keyword">fun </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a><span class="token punctuation">.</span><a href="../-euclidean2-d-space/index.html#-325101814%2FExtensions%2F-1055449721"><span class="token function">times</span></a><span class="token punctuation">(</span><span class="parameters "><span class="parameter ">k<span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-number/index.html">Number</a></span></span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-1175074807%2FFunctions%2F-1055449721" anchor-label="toString" id="-1175074807%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="../-vector3-d/index.html#-1175074807%2FFunctions%2F-1055449721"><span>to</span><wbr><span><span>String</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-1175074807%2FFunctions%2F-1055449721"></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-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword">override </span><span class="token keyword">fun </span><a href="../-vector3-d/index.html#-1175074807%2FFunctions%2F-1055449721"><span class="token function">toString</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-string/index.html">String</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="743164341%2FFunctions%2F-1055449721" anchor-label="unaryMinus" id="743164341%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="../-euclidean2-d-space/unary-minus.html"><span>unary</span><wbr><span><span>Minus</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="743164341%2FFunctions%2F-1055449721"></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-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">operator override </span><span class="token keyword">fun </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a><span class="token punctuation">.</span><a href="../-euclidean2-d-space/unary-minus.html"><span class="token function">unaryMinus</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="347393688%2FFunctions%2F-1055449721" anchor-label="unaryPlus" id="347393688%2FFunctions%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_FUNCTION" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="../-euclidean2-d-space/index.html#347393688%2FExtensions%2F-1055449721"><span>unary</span><wbr><span><span>Plus</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="347393688%2FFunctions%2F-1055449721"></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-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">operator </span><span class="token keyword">fun </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a><span class="token punctuation">.</span><a href="../-euclidean2-d-space/index.html#347393688%2FExtensions%2F-1055449721"><span class="token function">unaryPlus</span></a><span class="token punctuation">(</span><span class="token punctuation">)</span><span class="token operator">: </span><a href="../index.html#-1605676522%2FClasslikes%2F-1055449721">DoubleVector2D</a></div></div></div>
</div>
</div>
</div>
</div>
</div>
</div>
<div data-togglable="PROPERTY">
<h2 class="">Properties</h2>
<div class="table"><a data-name="297755208%2FProperties%2F-1055449721" anchor-label="r" id="297755208%2FProperties%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-togglable="EXTENSION_PROPERTY" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="../r.html"><span><span>r</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="297755208%2FProperties%2F-1055449721"></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-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword"></span><span class="token keyword">val </span><a href="index.html">Vector2D</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><a href="../r.html">r</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-double/index.html">Double</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-596566825%2FProperties%2F-1055449721" anchor-label="size" id="-596566825%2FProperties%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="size.html"><span><span>size</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-596566825%2FProperties%2F-1055449721"></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-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">open </span><span class="token keyword">override </span><span class="token keyword">val </span><a href="size.html">size</a><span class="token operator">: </span><a href="https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-int/index.html">Int</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-745288150%2FProperties%2F-1055449721" anchor-label="x" id="-745288150%2FProperties%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="x.html"><span><span>x</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-745288150%2FProperties%2F-1055449721"></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-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword"></span><span class="token keyword">val </span><a href="x.html">x</a><span class="token operator">: </span><a href="index.html">T</a></div></div></div>
</div>
</div>
</div>
</div>
<a data-name="-714268343%2FProperties%2F-1055449721" anchor-label="y" id="-714268343%2FProperties%2F-1055449721" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain"></a>
<div class="table-row" data-filterable-current=":kmath-geometry:dokkaHtmlPartial/commonMain" data-filterable-set=":kmath-geometry:dokkaHtmlPartial/commonMain">
<div class="main-subrow keyValue ">
<div class=""><span class="inline-flex">
<div><a href="y.html"><span><span>y</span></span></a></div>
<span class="anchor-wrapper"><span class="anchor-icon" pointing-to="-714268343%2FProperties%2F-1055449721"></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-geometry:dokkaHtmlPartial/commonMain"><div class="symbol monospace"><span class="token keyword">abstract </span><span class="token keyword"></span><span class="token keyword">val </span><a href="y.html">y</a><span class="token operator">: </span><a href="index.html">T</a></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>