Files
Misaki.HighPerformance/docfx/_site/api/Misaki.HighPerformance.Mathematics.random.html

2448 lines
72 KiB
HTML

<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>Struct random | Misaki.HighPerformance </title>
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<meta name="title" content="Struct random | 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 &quot;{query}&quot;">
<meta name="loc:searchNoResults" content="No results for &quot;{query}&quot;">
<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.random">
<h1 id="Misaki_HighPerformance_Mathematics_random" data-uid="Misaki.HighPerformance.Mathematics.random" class="text-break">
Struct random
</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 struct random</code></pre>
</div>
<dl class="typelist inheritedMembers">
<dt>Inherited Members</dt>
<dd>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetype.equals">ValueType.Equals(object)</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetype.gethashcode">ValueType.GetHashCode()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.valuetype.tostring">ValueType.ToString()</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.gettype">object.GetType()</a>
</div>
<div>
<a class="xref" href="https://learn.microsoft.com/dotnet/api/system.object.referenceequals">object.ReferenceEquals(object, object)</a>
</div>
</dd></dl>
<h2 class="section" id="constructors">Constructors
</h2>
<a id="Misaki_HighPerformance_Mathematics_random__ctor_" data-uid="Misaki.HighPerformance.Mathematics.random.#ctor*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random__ctor_System_UInt32_" data-uid="Misaki.HighPerformance.Mathematics.random.#ctor(System.UInt32)">
random(uint)
</h3>
<div class="markdown level1 summary"><p>Constructs a Random instance with a given seed value. The seed must be non-zero.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public random(uint seed)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>seed</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></dt>
<dd><p>The seed to initialize with.</p>
</dd>
</dl>
<h2 class="section" id="fields">Fields
</h2>
<h3 id="Misaki_HighPerformance_Mathematics_random_state" data-uid="Misaki.HighPerformance.Mathematics.random.state">
state
</h3>
<div class="markdown level1 summary"><p>The random number generator state. It should not be zero.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public uint state</code></pre>
</div>
<h4 class="section">Field Value</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></dt>
<dd></dd>
</dl>
<h2 class="section" id="methods">Methods
</h2>
<a id="Misaki_HighPerformance_Mathematics_random_CreateFromIndex_" data-uid="Misaki.HighPerformance.Mathematics.random.CreateFromIndex*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_CreateFromIndex_System_UInt32_" data-uid="Misaki.HighPerformance.Mathematics.random.CreateFromIndex(System.UInt32)">
CreateFromIndex(uint)
</h3>
<div class="markdown level1 summary"><p>Constructs a <a class="xref" href="Misaki.HighPerformance.Mathematics.random.html">random</a> instance with an index that gets hashed. The index must not be uint.MaxValue.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public static random CreateFromIndex(uint index)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>index</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></dt>
<dd><p>An index that will be hashed for Random creation. Must not be uint.MaxValue.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.random.html">random</a></dt>
<dd><p><a class="xref" href="Misaki.HighPerformance.Mathematics.random.html">random</a> created from an index.</p>
</dd>
</dl>
<h4 class="section" id="Misaki_HighPerformance_Mathematics_random_CreateFromIndex_System_UInt32__examples">Examples</h4>
<pre><code class="lang-csharp">for (uint i = 0; i &lt; 4096; ++i)
{
Random rand = Random.CreateFromIndex(i);
// Random numbers drawn from loop iteration j will be very different
// from every other loop iteration k.
rand.NextUInt();
}</code></pre>
<h4 class="section" id="Misaki_HighPerformance_Mathematics_random_CreateFromIndex_System_UInt32__remarks">Remarks</h4>
<div class="markdown level1 remarks"><p>Use this function when you expect to create several Random instances in a loop.</p>
</div>
<a id="Misaki_HighPerformance_Mathematics_random_InitState_" data-uid="Misaki.HighPerformance.Mathematics.random.InitState*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_InitState_System_UInt32_" data-uid="Misaki.HighPerformance.Mathematics.random.InitState(System.UInt32)">
InitState(uint)
</h3>
<div class="markdown level1 summary"><p>Initialized the state of the Random instance with a given seed value. The seed must be non-zero.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public void InitState(uint seed = 1851936439)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>seed</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></dt>
<dd><p>The seed to initialize with.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextBool_" data-uid="Misaki.HighPerformance.Mathematics.random.NextBool*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextBool" data-uid="Misaki.HighPerformance.Mathematics.random.NextBool">
NextBool()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random bool value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool NextBool()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.boolean">bool</a></dt>
<dd><p>A uniformly random boolean value.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextBool2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextBool2*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextBool2" data-uid="Misaki.HighPerformance.Mathematics.random.NextBool2">
NextBool2()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random bool2 value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool2 NextBool2()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.bool2.html">bool2</a></dt>
<dd><p>A uniformly random bool2 value.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextBool3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextBool3*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextBool3" data-uid="Misaki.HighPerformance.Mathematics.random.NextBool3">
NextBool3()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random bool3 value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool3 NextBool3()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.bool3.html">bool3</a></dt>
<dd><p>A uniformly random bool3 value.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextBool4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextBool4*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextBool4" data-uid="Misaki.HighPerformance.Mathematics.random.NextBool4">
NextBool4()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random bool4 value.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public bool4 NextBool4()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.bool4.html">bool4</a></dt>
<dd><p>A uniformly random bool4 value.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextDouble_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextDouble" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble">
NextDouble()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random double value in the interval [0, 1).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double NextDouble()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>A uniformly random double value in the range [0, 1).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextDouble_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextDouble_System_Double_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble(System.Double)">
NextDouble(double)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random double value in the interval [0, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double NextDouble(double max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>max</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>A uniformly random double value in the range [0, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextDouble_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextDouble_System_Double_System_Double_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble(System.Double,System.Double)">
NextDouble(double, double)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random double value in the interval [min, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double NextDouble(double min, double max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>min</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The minimum value to generate, inclusive.</p>
</dd>
<dt><code>max</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>The maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.double">double</a></dt>
<dd><p>A uniformly random double value in the range [min, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextDouble2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble2*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextDouble2" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble2">
NextDouble2()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random double2 value with all components in the interval [0, 1).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double2 NextDouble2()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.double2.html">double2</a></dt>
<dd><p>A uniformly random double2 value in the range [0, 1).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextDouble2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble2*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextDouble2_Misaki_HighPerformance_Mathematics_double2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble2(Misaki.HighPerformance.Mathematics.double2)">
NextDouble2(double2)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random double2 value with all components in the interval [0, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double2 NextDouble2(double2 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.double2.html">double2</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.double2.html">double2</a></dt>
<dd><p>A uniformly random double2 value in the range [0, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextDouble2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble2*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextDouble2_Misaki_HighPerformance_Mathematics_double2_Misaki_HighPerformance_Mathematics_double2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble2(Misaki.HighPerformance.Mathematics.double2,Misaki.HighPerformance.Mathematics.double2)">
NextDouble2(double2, double2)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random double2 value with all components in the interval [min, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double2 NextDouble2(double2 min, double2 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>min</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.double2.html">double2</a></dt>
<dd><p>The componentwise minimum value to generate, inclusive.</p>
</dd>
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.double2.html">double2</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.double2.html">double2</a></dt>
<dd><p>A uniformly random double2 value in the range [min, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextDouble2Direction_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble2Direction*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextDouble2Direction" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble2Direction">
NextDouble2Direction()
</h3>
<div class="markdown level1 summary"><p>Returns a unit length double2 vector representing a uniformly random 2D direction.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double2 NextDouble2Direction()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.double2.html">double2</a></dt>
<dd><p>A uniformly random unit length double2 vector.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextDouble3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble3*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextDouble3" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble3">
NextDouble3()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random double3 value with all components in the interval [0, 1).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double3 NextDouble3()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.double3.html">double3</a></dt>
<dd><p>A uniformly random double3 value in the range [0, 1).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextDouble3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble3*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextDouble3_Misaki_HighPerformance_Mathematics_double3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble3(Misaki.HighPerformance.Mathematics.double3)">
NextDouble3(double3)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random double3 value with all components in the interval [0, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double3 NextDouble3(double3 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.double3.html">double3</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.double3.html">double3</a></dt>
<dd><p>A uniformly random double3 value in the range [0, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextDouble3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble3*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextDouble3_Misaki_HighPerformance_Mathematics_double3_Misaki_HighPerformance_Mathematics_double3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble3(Misaki.HighPerformance.Mathematics.double3,Misaki.HighPerformance.Mathematics.double3)">
NextDouble3(double3, double3)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random double3 value with all components in the interval [min, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double3 NextDouble3(double3 min, double3 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>min</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.double3.html">double3</a></dt>
<dd><p>The componentwise minimum value to generate, inclusive.</p>
</dd>
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.double3.html">double3</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.double3.html">double3</a></dt>
<dd><p>A uniformly random double3 value in the range [min, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextDouble3Direction_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble3Direction*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextDouble3Direction" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble3Direction">
NextDouble3Direction()
</h3>
<div class="markdown level1 summary"><p>Returns a unit length double3 vector representing a uniformly random 3D direction.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double3 NextDouble3Direction()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.double3.html">double3</a></dt>
<dd><p>A uniformly random unit length double3 vector.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextDouble4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble4*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextDouble4" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble4">
NextDouble4()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random double4 value with all components in the interval [0, 1).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double4 NextDouble4()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.double4.html">double4</a></dt>
<dd><p>A uniformly random double4 value in the range [0, 1).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextDouble4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble4*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextDouble4_Misaki_HighPerformance_Mathematics_double4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble4(Misaki.HighPerformance.Mathematics.double4)">
NextDouble4(double4)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random double4 value with all components in the interval [0, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double4 NextDouble4(double4 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.double4.html">double4</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.double4.html">double4</a></dt>
<dd><p>A uniformly random double4 value in the range [0, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextDouble4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble4*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextDouble4_Misaki_HighPerformance_Mathematics_double4_Misaki_HighPerformance_Mathematics_double4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextDouble4(Misaki.HighPerformance.Mathematics.double4,Misaki.HighPerformance.Mathematics.double4)">
NextDouble4(double4, double4)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random double4 value with all components in the interval [min, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public double4 NextDouble4(double4 min, double4 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>min</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.double4.html">double4</a></dt>
<dd><p>The componentwise minimum value to generate, inclusive.</p>
</dd>
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.double4.html">double4</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.double4.html">double4</a></dt>
<dd><p>A uniformly random double4 value in the range [min, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextFloat_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextFloat" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat">
NextFloat()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random float value in the interval [0, 1).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float NextFloat()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></dt>
<dd><p>A uniformly random float value in the range [0, 1).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextFloat_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextFloat_System_Single_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat(System.Single)">
NextFloat(float)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random float value in the interval [0, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float NextFloat(float max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>max</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></dt>
<dd><p>The maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></dt>
<dd><p>A uniformly random float value in the range [0, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextFloat_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextFloat_System_Single_System_Single_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat(System.Single,System.Single)">
NextFloat(float, float)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random float value in the interval [min, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float NextFloat(float min, float max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>min</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></dt>
<dd><p>The minimum value to generate, inclusive.</p>
</dd>
<dt><code>max</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></dt>
<dd><p>The maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.single">float</a></dt>
<dd><p>A uniformly random float value in the range [min, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextFloat2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat2*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextFloat2" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat2">
NextFloat2()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random float2 value with all components in the interval [0, 1).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float2 NextFloat2()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.float2.html">float2</a></dt>
<dd><p>A uniformly random float2 value in the range [0, 1).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextFloat2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat2*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextFloat2_Misaki_HighPerformance_Mathematics_float2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat2(Misaki.HighPerformance.Mathematics.float2)">
NextFloat2(float2)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random float2 value with all components in the interval [0, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float2 NextFloat2(float2 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.float2.html">float2</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.float2.html">float2</a></dt>
<dd><p>A uniformly random float2 value in the range [0, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextFloat2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat2*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextFloat2_Misaki_HighPerformance_Mathematics_float2_Misaki_HighPerformance_Mathematics_float2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat2(Misaki.HighPerformance.Mathematics.float2,Misaki.HighPerformance.Mathematics.float2)">
NextFloat2(float2, float2)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random float2 value with all components in the interval [min, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float2 NextFloat2(float2 min, float2 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>min</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.float2.html">float2</a></dt>
<dd><p>The componentwise minimum value to generate, inclusive.</p>
</dd>
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.float2.html">float2</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.float2.html">float2</a></dt>
<dd><p>A uniformly random float2 value in the range [min, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextFloat2Direction_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat2Direction*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextFloat2Direction" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat2Direction">
NextFloat2Direction()
</h3>
<div class="markdown level1 summary"><p>Returns a unit length float2 vector representing a uniformly random 2D direction.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float2 NextFloat2Direction()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.float2.html">float2</a></dt>
<dd><p>A uniformly random unit length float2 vector.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextFloat3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat3*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextFloat3" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat3">
NextFloat3()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random float3 value with all components in the interval [0, 1).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float3 NextFloat3()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.float3.html">float3</a></dt>
<dd><p>A uniformly random float3 value in the range [0, 1).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextFloat3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat3*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextFloat3_Misaki_HighPerformance_Mathematics_float3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat3(Misaki.HighPerformance.Mathematics.float3)">
NextFloat3(float3)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random float3 value with all components in the interval [0, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float3 NextFloat3(float3 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.float3.html">float3</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.float3.html">float3</a></dt>
<dd><p>A uniformly random float3 value in the range [0, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextFloat3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat3*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextFloat3_Misaki_HighPerformance_Mathematics_float3_Misaki_HighPerformance_Mathematics_float3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat3(Misaki.HighPerformance.Mathematics.float3,Misaki.HighPerformance.Mathematics.float3)">
NextFloat3(float3, float3)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random float3 value with all components in the interval [min, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float3 NextFloat3(float3 min, float3 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>min</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.float3.html">float3</a></dt>
<dd><p>The componentwise minimum value to generate, inclusive.</p>
</dd>
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.float3.html">float3</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.float3.html">float3</a></dt>
<dd><p>A uniformly random float3 value in the range [min, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextFloat3Direction_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat3Direction*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextFloat3Direction" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat3Direction">
NextFloat3Direction()
</h3>
<div class="markdown level1 summary"><p>Returns a unit length float3 vector representing a uniformly random 3D direction.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float3 NextFloat3Direction()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.float3.html">float3</a></dt>
<dd><p>A uniformly random unit length float3 vector.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextFloat4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat4*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextFloat4" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat4">
NextFloat4()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random float4 value with all components in the interval [0, 1).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float4 NextFloat4()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.float4.html">float4</a></dt>
<dd><p>A uniformly random float4 value in the range [0, 1).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextFloat4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat4*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextFloat4_Misaki_HighPerformance_Mathematics_float4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat4(Misaki.HighPerformance.Mathematics.float4)">
NextFloat4(float4)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random float4 value with all components in the interval [0, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float4 NextFloat4(float4 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.float4.html">float4</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.float4.html">float4</a></dt>
<dd><p>A uniformly random float4 value in the range [0, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextFloat4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat4*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextFloat4_Misaki_HighPerformance_Mathematics_float4_Misaki_HighPerformance_Mathematics_float4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextFloat4(Misaki.HighPerformance.Mathematics.float4,Misaki.HighPerformance.Mathematics.float4)">
NextFloat4(float4, float4)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random float4 value with all components in the interval [min, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public float4 NextFloat4(float4 min, float4 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>min</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.float4.html">float4</a></dt>
<dd><p>The componentwise minimum value to generate, inclusive.</p>
</dd>
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.float4.html">float4</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.float4.html">float4</a></dt>
<dd><p>A uniformly random float4 value in the range [min, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextInt_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextInt" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt">
NextInt()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random int value in the interval [-2147483647, 2147483647].</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int NextInt()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>A uniformly random integer value.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextInt_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextInt_System_Int32_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt(System.Int32)">
NextInt(int)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random int value in the interval [0, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int NextInt(int max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>max</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>The maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>A uniformly random int value in the range [0, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextInt_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextInt_System_Int32_System_Int32_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt(System.Int32,System.Int32)">
NextInt(int, int)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random int value in the interval [min, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int NextInt(int min, int max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>min</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>The minimum value to generate, inclusive.</p>
</dd>
<dt><code>max</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>The maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.int32">int</a></dt>
<dd><p>A uniformly random integer between [min, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextInt2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt2*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextInt2" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt2">
NextInt2()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random int2 value with all components in the interval [-2147483647, 2147483647].</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int2 NextInt2()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.int2.html">int2</a></dt>
<dd><p>A uniformly random int2 value.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextInt2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt2*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextInt2_Misaki_HighPerformance_Mathematics_int2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt2(Misaki.HighPerformance.Mathematics.int2)">
NextInt2(int2)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random int2 value with all components in the interval [0, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int2 NextInt2(int2 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.int2.html">int2</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.int2.html">int2</a></dt>
<dd><p>A uniformly random int2 value with all components in the range [0, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextInt2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt2*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextInt2_Misaki_HighPerformance_Mathematics_int2_Misaki_HighPerformance_Mathematics_int2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt2(Misaki.HighPerformance.Mathematics.int2,Misaki.HighPerformance.Mathematics.int2)">
NextInt2(int2, int2)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random int2 value with all components in the interval [min, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int2 NextInt2(int2 min, int2 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>min</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.int2.html">int2</a></dt>
<dd><p>The componentwise minimum value to generate, inclusive.</p>
</dd>
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.int2.html">int2</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.int2.html">int2</a></dt>
<dd><p>A uniformly random int2 between [min, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextInt3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt3*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextInt3" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt3">
NextInt3()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random int3 value with all components in the interval [-2147483647, 2147483647].</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int3 NextInt3()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.int3.html">int3</a></dt>
<dd><p>A uniformly random int3 value.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextInt3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt3*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextInt3_Misaki_HighPerformance_Mathematics_int3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt3(Misaki.HighPerformance.Mathematics.int3)">
NextInt3(int3)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random int3 value with all components in the interval [0, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int3 NextInt3(int3 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.int3.html">int3</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.int3.html">int3</a></dt>
<dd><p>A uniformly random int3 value with all components in the range [0, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextInt3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt3*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextInt3_Misaki_HighPerformance_Mathematics_int3_Misaki_HighPerformance_Mathematics_int3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt3(Misaki.HighPerformance.Mathematics.int3,Misaki.HighPerformance.Mathematics.int3)">
NextInt3(int3, int3)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random int3 value with all components in the interval [min, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int3 NextInt3(int3 min, int3 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>min</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.int3.html">int3</a></dt>
<dd><p>The componentwise minimum value to generate, inclusive.</p>
</dd>
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.int3.html">int3</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.int3.html">int3</a></dt>
<dd><p>A uniformly random int3 between [min, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextInt4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt4*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextInt4" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt4">
NextInt4()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random int4 value with all components in the interval [-2147483647, 2147483647].</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int4 NextInt4()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.int4.html">int4</a></dt>
<dd><p>A uniformly random int4 value.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextInt4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt4*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextInt4_Misaki_HighPerformance_Mathematics_int4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt4(Misaki.HighPerformance.Mathematics.int4)">
NextInt4(int4)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random int4 value with all components in the interval [0, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int4 NextInt4(int4 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.int4.html">int4</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.int4.html">int4</a></dt>
<dd><p>A uniformly random int4 value with all components in the range [0, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextInt4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt4*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextInt4_Misaki_HighPerformance_Mathematics_int4_Misaki_HighPerformance_Mathematics_int4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextInt4(Misaki.HighPerformance.Mathematics.int4,Misaki.HighPerformance.Mathematics.int4)">
NextInt4(int4, int4)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random int4 value with all components in the interval [min, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public int4 NextInt4(int4 min, int4 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>min</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.int4.html">int4</a></dt>
<dd><p>The componentwise minimum value to generate, inclusive.</p>
</dd>
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.int4.html">int4</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.int4.html">int4</a></dt>
<dd><p>A uniformly random int4 between [min, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextQuaternionRotation_" data-uid="Misaki.HighPerformance.Mathematics.random.NextQuaternionRotation*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextQuaternionRotation" data-uid="Misaki.HighPerformance.Mathematics.random.NextQuaternionRotation">
NextQuaternionRotation()
</h3>
<div class="markdown level1 summary"><p>Returns a unit length quaternion representing a uniformly 3D rotation.</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public quaternion NextQuaternionRotation()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.quaternion.html">quaternion</a></dt>
<dd><p>A uniformly random unit length quaternion.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextUInt_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextUInt" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt">
NextUInt()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random uint value in the interval [0, 4294967294].</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public uint NextUInt()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></dt>
<dd><p>A uniformly random unsigned integer.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextUInt_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextUInt_System_UInt32_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt(System.UInt32)">
NextUInt(uint)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random uint value in the interval [0, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public uint NextUInt(uint max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>max</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></dt>
<dd><p>The maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></dt>
<dd><p>A uniformly random unsigned integer in the range [0, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextUInt_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextUInt_System_UInt32_System_UInt32_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt(System.UInt32,System.UInt32)">
NextUInt(uint, uint)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random uint value in the interval [min, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public uint NextUInt(uint min, uint max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>min</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></dt>
<dd><p>The minimum value to generate, inclusive.</p>
</dd>
<dt><code>max</code> <a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></dt>
<dd><p>The maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="https://learn.microsoft.com/dotnet/api/system.uint32">uint</a></dt>
<dd><p>A uniformly random unsigned integer in the range [min, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextUInt2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt2*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextUInt2" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt2">
NextUInt2()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random uint2 value with all components in the interval [0, 4294967294].</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public uint2 NextUInt2()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.uint2.html">uint2</a></dt>
<dd><p>A uniformly random uint2.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextUInt2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt2*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextUInt2_Misaki_HighPerformance_Mathematics_uint2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt2(Misaki.HighPerformance.Mathematics.uint2)">
NextUInt2(uint2)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random uint2 value with all components in the interval [0, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public uint2 NextUInt2(uint2 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.uint2.html">uint2</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.uint2.html">uint2</a></dt>
<dd><p>A uniformly random uint2 in the range [0, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextUInt2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt2*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextUInt2_Misaki_HighPerformance_Mathematics_uint2_Misaki_HighPerformance_Mathematics_uint2_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt2(Misaki.HighPerformance.Mathematics.uint2,Misaki.HighPerformance.Mathematics.uint2)">
NextUInt2(uint2, uint2)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random uint2 value with all components in the interval [min, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public uint2 NextUInt2(uint2 min, uint2 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>min</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.uint2.html">uint2</a></dt>
<dd><p>The componentwise minimum value to generate, inclusive.</p>
</dd>
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.uint2.html">uint2</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.uint2.html">uint2</a></dt>
<dd><p>A uniformly random uint2 in the range [min, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextUInt3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt3*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextUInt3" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt3">
NextUInt3()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random uint3 value with all components in the interval [0, 4294967294].</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public uint3 NextUInt3()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.uint3.html">uint3</a></dt>
<dd><p>A uniformly random uint3.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextUInt3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt3*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextUInt3_Misaki_HighPerformance_Mathematics_uint3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt3(Misaki.HighPerformance.Mathematics.uint3)">
NextUInt3(uint3)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random uint3 value with all components in the interval [0, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public uint3 NextUInt3(uint3 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.uint3.html">uint3</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.uint3.html">uint3</a></dt>
<dd><p>A uniformly random uint3 in the range [0, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextUInt3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt3*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextUInt3_Misaki_HighPerformance_Mathematics_uint3_Misaki_HighPerformance_Mathematics_uint3_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt3(Misaki.HighPerformance.Mathematics.uint3,Misaki.HighPerformance.Mathematics.uint3)">
NextUInt3(uint3, uint3)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random uint3 value with all components in the interval [min, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public uint3 NextUInt3(uint3 min, uint3 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>min</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.uint3.html">uint3</a></dt>
<dd><p>The componentwise minimum value to generate, inclusive.</p>
</dd>
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.uint3.html">uint3</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.uint3.html">uint3</a></dt>
<dd><p>A uniformly random uint3 in the range [min, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextUInt4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt4*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextUInt4" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt4">
NextUInt4()
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random uint4 value with all components in the interval [0, 4294967294].</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public uint4 NextUInt4()</code></pre>
</div>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.uint4.html">uint4</a></dt>
<dd><p>A uniformly random uint4.</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextUInt4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt4*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextUInt4_Misaki_HighPerformance_Mathematics_uint4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt4(Misaki.HighPerformance.Mathematics.uint4)">
NextUInt4(uint4)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random uint4 value with all components in the interval [0, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public uint4 NextUInt4(uint4 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.uint4.html">uint4</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.uint4.html">uint4</a></dt>
<dd><p>A uniformly random uint4 in the range [0, max).</p>
</dd>
</dl>
<a id="Misaki_HighPerformance_Mathematics_random_NextUInt4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt4*"></a>
<h3 id="Misaki_HighPerformance_Mathematics_random_NextUInt4_Misaki_HighPerformance_Mathematics_uint4_Misaki_HighPerformance_Mathematics_uint4_" data-uid="Misaki.HighPerformance.Mathematics.random.NextUInt4(Misaki.HighPerformance.Mathematics.uint4,Misaki.HighPerformance.Mathematics.uint4)">
NextUInt4(uint4, uint4)
</h3>
<div class="markdown level1 summary"><p>Returns a uniformly random uint4 value with all components in the interval [min, max).</p>
</div>
<div class="markdown level1 conceptual"></div>
<div class="codewrapper">
<pre><code class="lang-csharp hljs">public uint4 NextUInt4(uint4 min, uint4 max)</code></pre>
</div>
<h4 class="section">Parameters</h4>
<dl class="parameters">
<dt><code>min</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.uint4.html">uint4</a></dt>
<dd><p>The componentwise minimum value to generate, inclusive.</p>
</dd>
<dt><code>max</code> <a class="xref" href="Misaki.HighPerformance.Mathematics.uint4.html">uint4</a></dt>
<dd><p>The componentwise maximum value to generate, exclusive.</p>
</dd>
</dl>
<h4 class="section">Returns</h4>
<dl class="parameters">
<dt><a class="xref" href="Misaki.HighPerformance.Mathematics.uint4.html">uint4</a></dt>
<dd><p>A uniformly random uint4 in the range [min, max).</p>
</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>