1044 lines
34 KiB
HTML
1044 lines
34 KiB
HTML
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<title>Class VectorInterop | Misaki.HighPerformance </title>
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
|
<meta name="title" content="Class VectorInterop | Misaki.HighPerformance ">
|
|
|
|
|
|
<link rel="icon" href="../favicon.ico">
|
|
<link rel="stylesheet" href="../public/docfx.min.css">
|
|
<link rel="stylesheet" href="../public/main.css">
|
|
<meta name="docfx:navrel" content="../toc.html">
|
|
<meta name="docfx:tocrel" content="toc.html">
|
|
|
|
<meta name="docfx:rel" content="../">
|
|
|
|
|
|
|
|
<meta name="loc:inThisArticle" content="In this article">
|
|
<meta name="loc:searchResultsCount" content="{count} results for "{query}"">
|
|
<meta name="loc:searchNoResults" content="No results for "{query}"">
|
|
<meta name="loc:tocFilter" content="Filter by title">
|
|
<meta name="loc:nextArticle" content="Next">
|
|
<meta name="loc:prevArticle" content="Previous">
|
|
<meta name="loc:themeLight" content="Light">
|
|
<meta name="loc:themeDark" content="Dark">
|
|
<meta name="loc:themeAuto" content="Auto">
|
|
<meta name="loc:changeTheme" content="Change theme">
|
|
<meta name="loc:copy" content="Copy">
|
|
<meta name="loc:downloadPdf" content="Download PDF">
|
|
|
|
<script type="module" src="./../public/docfx.min.js"></script>
|
|
|
|
<script>
|
|
const theme = localStorage.getItem('theme') || 'auto'
|
|
document.documentElement.setAttribute('data-bs-theme', theme === 'auto' ? (window.matchMedia('(prefers-color-scheme: dark)').matches ? 'dark' : 'light') : theme)
|
|
</script>
|
|
|
|
</head>
|
|
|
|
<body class="tex2jax_ignore" data-layout="" data-yaml-mime="ManagedReference">
|
|
<header class="bg-body border-bottom">
|
|
<nav id="autocollapse" class="navbar navbar-expand-md" role="navigation">
|
|
<div class="container-xxl flex-nowrap">
|
|
<a class="navbar-brand" href="../index.html">
|
|
<img id="logo" class="svg" src="../logo.svg" alt="Misaki.HighPerformance">
|
|
Misaki.HighPerformance
|
|
</a>
|
|
<button class="btn btn-lg d-md-none border-0" type="button" data-bs-toggle="collapse" data-bs-target="#navpanel" aria-controls="navpanel" aria-expanded="false" aria-label="Toggle navigation">
|
|
<i class="bi bi-three-dots"></i>
|
|
</button>
|
|
<div class="collapse navbar-collapse" id="navpanel">
|
|
<div id="navbar">
|
|
<form class="search" role="search" id="search">
|
|
<i class="bi bi-search"></i>
|
|
<input class="form-control" id="search-query" type="search" disabled placeholder="Search" autocomplete="off" aria-label="Search">
|
|
</form>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</nav>
|
|
</header>
|
|
|
|
<main class="container-xxl">
|
|
<div class="toc-offcanvas">
|
|
<div class="offcanvas-md offcanvas-start" tabindex="-1" id="tocOffcanvas" aria-labelledby="tocOffcanvasLabel">
|
|
<div class="offcanvas-header">
|
|
<h5 class="offcanvas-title" id="tocOffcanvasLabel">Table of Contents</h5>
|
|
<button type="button" class="btn-close" data-bs-dismiss="offcanvas" data-bs-target="#tocOffcanvas" aria-label="Close"></button>
|
|
</div>
|
|
<div class="offcanvas-body">
|
|
<nav class="toc" id="toc"></nav>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
|
|
<div class="content">
|
|
<div class="actionbar">
|
|
<button class="btn btn-lg border-0 d-md-none" type="button" data-bs-toggle="offcanvas" data-bs-target="#tocOffcanvas" aria-controls="tocOffcanvas" aria-expanded="false" aria-label="Show table of contents">
|
|
<i class="bi bi-list"></i>
|
|
</button>
|
|
|
|
<nav id="breadcrumb"></nav>
|
|
</div>
|
|
|
|
<article data-uid="Misaki.HighPerformance.Mathematics.VectorInterop">
|
|
|
|
|
|
|
|
<h1 id="Misaki_HighPerformance_Mathematics_VectorInterop" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop" class="text-break">
|
|
Class VectorInterop
|
|
</h1>
|
|
|
|
<div class="facts text-secondary">
|
|
<dl><dt>Namespace</dt><dd><a class="xref" href="Misaki.html">Misaki</a>.<a class="xref" href="Misaki.HighPerformance.html">HighPerformance</a>.<a class="xref" href="Misaki.HighPerformance.Mathematics.html">Mathematics</a></dd></dl>
|
|
<dl><dt>Assembly</dt><dd>Misaki.HighPerformance.Mathematics.dll</dd></dl>
|
|
</div>
|
|
|
|
<div class="markdown summary"></div>
|
|
<div class="markdown conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static class VectorInterop</code></pre>
|
|
</div>
|
|
|
|
|
|
|
|
|
|
<dl class="typelist inheritance">
|
|
<dt>Inheritance</dt>
|
|
<dd>
|
|
<div><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object">object</a></div>
|
|
<div><span class="xref">VectorInterop</span></div>
|
|
</dd>
|
|
</dl>
|
|
|
|
|
|
|
|
<dl class="typelist inheritedMembers">
|
|
<dt>Inherited Members</dt>
|
|
<dd>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object)">object.Equals(object)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.equals#system-object-equals(system-object-system-object)">object.Equals(object, object)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gethashcode">object.GetHashCode()</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.gettype">object.GetType()</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.memberwiseclone">object.MemberwiseClone()</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
|
|
</div>
|
|
<div>
|
|
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.tostring">object.ToString()</a>
|
|
</div>
|
|
</dd></dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<h2 class="section" id="methods">Methods
|
|
</h2>
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_Misaki_HighPerformance_Mathematics_double2_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128(Misaki.HighPerformance.Mathematics.double2)">
|
|
AsVector128(double2)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Vector128<double> AsVector128(this double2 value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.double2.html">double2</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_Misaki_HighPerformance_Mathematics_float2_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128(Misaki.HighPerformance.Mathematics.float2)">
|
|
AsVector128(float2)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Vector128<float> AsVector128(this float2 value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.float2.html">float2</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_Misaki_HighPerformance_Mathematics_float3_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128(Misaki.HighPerformance.Mathematics.float3)">
|
|
AsVector128(float3)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Vector128<float> AsVector128(this float3 value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.float3.html">float3</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_Misaki_HighPerformance_Mathematics_float4_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128(Misaki.HighPerformance.Mathematics.float4)">
|
|
AsVector128(float4)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Vector128<float> AsVector128(this float4 value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.float4.html">float4</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_Misaki_HighPerformance_Mathematics_int2_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128(Misaki.HighPerformance.Mathematics.int2)">
|
|
AsVector128(int2)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Vector128<int> AsVector128(this int2 value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.int2.html">int2</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_Misaki_HighPerformance_Mathematics_int3_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128(Misaki.HighPerformance.Mathematics.int3)">
|
|
AsVector128(int3)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Vector128<int> AsVector128(this int3 value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.int3.html">int3</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_Misaki_HighPerformance_Mathematics_int4_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128(Misaki.HighPerformance.Mathematics.int4)">
|
|
AsVector128(int4)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Vector128<int> AsVector128(this int4 value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.int4.html">int4</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_Misaki_HighPerformance_Mathematics_uint2_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128(Misaki.HighPerformance.Mathematics.uint2)">
|
|
AsVector128(uint2)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Vector128<uint> AsVector128(this uint2 value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.uint2.html">uint2</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_Misaki_HighPerformance_Mathematics_uint3_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128(Misaki.HighPerformance.Mathematics.uint3)">
|
|
AsVector128(uint3)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Vector128<uint> AsVector128(this uint3 value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.uint3.html">uint3</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector128_Misaki_HighPerformance_Mathematics_uint4_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector128(Misaki.HighPerformance.Mathematics.uint4)">
|
|
AsVector128(uint4)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Vector128<uint> AsVector128(this uint4 value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.uint4.html">uint4</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector256_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector256*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector256_Misaki_HighPerformance_Mathematics_double3_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector256(Misaki.HighPerformance.Mathematics.double3)">
|
|
AsVector256(double3)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Vector256<double> AsVector256(this double3 value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.double3.html">double3</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector256-1">Vector256</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector256_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector256*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_AsVector256_Misaki_HighPerformance_Mathematics_double4_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.AsVector256(Misaki.HighPerformance.Mathematics.double4)">
|
|
AsVector256(double4)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static Vector256<double> AsVector256(this double4 value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.double4.html">double4</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector256-1">Vector256</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_Asdouble2_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asdouble2*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_Asdouble2_System_Runtime_Intrinsics_Vector128_System_Double__" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asdouble2(System.Runtime.Intrinsics.Vector128{System.Double})">
|
|
Asdouble2(Vector128<double>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static double2 Asdouble2(this Vector128<double> value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.double2.html">double2</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_Asdouble3_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asdouble3*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_Asdouble3_System_Runtime_Intrinsics_Vector256_System_Double__" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asdouble3(System.Runtime.Intrinsics.Vector256{System.Double})">
|
|
Asdouble3(Vector256<double>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static double3 Asdouble3(this Vector256<double> value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector256-1">Vector256</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.double3.html">double3</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_Asdouble4_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asdouble4*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_Asdouble4_System_Runtime_Intrinsics_Vector256_System_Double__" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asdouble4(System.Runtime.Intrinsics.Vector256{System.Double})">
|
|
Asdouble4(Vector256<double>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static double4 Asdouble4(this Vector256<double> value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector256-1">Vector256</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.double4.html">double4</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_Asfloat2_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asfloat2*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_Asfloat2_System_Runtime_Intrinsics_Vector128_System_Single__" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asfloat2(System.Runtime.Intrinsics.Vector128{System.Single})">
|
|
Asfloat2(Vector128<float>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static float2 Asfloat2(this Vector128<float> value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.float2.html">float2</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_Asfloat3_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asfloat3*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_Asfloat3_System_Runtime_Intrinsics_Vector128_System_Single__" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asfloat3(System.Runtime.Intrinsics.Vector128{System.Single})">
|
|
Asfloat3(Vector128<float>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static float3 Asfloat3(this Vector128<float> value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.float3.html">float3</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_Asfloat4_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asfloat4*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_Asfloat4_System_Runtime_Intrinsics_Vector128_System_Single__" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asfloat4(System.Runtime.Intrinsics.Vector128{System.Single})">
|
|
Asfloat4(Vector128<float>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static float4 Asfloat4(this Vector128<float> value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.float4.html">float4</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_Asint2_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asint2*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_Asint2_System_Runtime_Intrinsics_Vector128_System_Int32__" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asint2(System.Runtime.Intrinsics.Vector128{System.Int32})">
|
|
Asint2(Vector128<int>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static int2 Asint2(this Vector128<int> value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.int2.html">int2</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_Asint3_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asint3*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_Asint3_System_Runtime_Intrinsics_Vector128_System_Int32__" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asint3(System.Runtime.Intrinsics.Vector128{System.Int32})">
|
|
Asint3(Vector128<int>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static int3 Asint3(this Vector128<int> value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.int3.html">int3</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_Asint4_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asint4*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_Asint4_System_Runtime_Intrinsics_Vector128_System_Int32__" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asint4(System.Runtime.Intrinsics.Vector128{System.Int32})">
|
|
Asint4(Vector128<int>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static int4 Asint4(this Vector128<int> value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.int4.html">int4</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_Asuint2_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asuint2*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_Asuint2_System_Runtime_Intrinsics_Vector128_System_UInt32__" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asuint2(System.Runtime.Intrinsics.Vector128{System.UInt32})">
|
|
Asuint2(Vector128<uint>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static uint2 Asuint2(this Vector128<uint> value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.uint2.html">uint2</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_Asuint3_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asuint3*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_Asuint3_System_Runtime_Intrinsics_Vector128_System_UInt32__" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asuint3(System.Runtime.Intrinsics.Vector128{System.UInt32})">
|
|
Asuint3(Vector128<uint>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static uint3 Asuint3(this Vector128<uint> value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.uint3.html">uint3</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<a id="Misaki_HighPerformance_Mathematics_VectorInterop_Asuint4_" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asuint4*"></a>
|
|
|
|
<h3 id="Misaki_HighPerformance_Mathematics_VectorInterop_Asuint4_System_Runtime_Intrinsics_Vector128_System_UInt32__" data-uid="Misaki.HighPerformance.Mathematics.VectorInterop.Asuint4(System.Runtime.Intrinsics.Vector128{System.UInt32})">
|
|
Asuint4(Vector128<uint>)
|
|
|
|
</h3>
|
|
|
|
<div class="markdown level1 summary"></div>
|
|
<div class="markdown level1 conceptual"></div>
|
|
|
|
<div class="codewrapper">
|
|
<pre><code class="lang-csharp hljs">public static uint4 Asuint4(this Vector128<uint> value)</code></pre>
|
|
</div>
|
|
|
|
<h4 class="section">Parameters</h4>
|
|
<dl class="parameters">
|
|
<dt><code>value</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.runtime.intrinsics.vector128-1">Vector128</a><<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a>></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
<h4 class="section">Returns</h4>
|
|
<dl class="parameters">
|
|
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.uint4.html">uint4</a></dt>
|
|
<dd></dd>
|
|
</dl>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
</article>
|
|
|
|
<div class="contribution d-print-none">
|
|
</div>
|
|
|
|
|
|
</div>
|
|
|
|
<div class="affix">
|
|
<nav id="affix"></nav>
|
|
</div>
|
|
</main>
|
|
|
|
<div class="container-xxl search-results" id="search-results"></div>
|
|
|
|
<footer class="border-top text-secondary">
|
|
<div class="container-xxl">
|
|
<div class="flex-fill">
|
|
<span>Made with <a href="https://dotnet.github.io/docfx">docfx</a></span>
|
|
</div>
|
|
</div>
|
|
</footer>
|
|
</body>
|
|
</html>
|