Updated docs

This commit is contained in:
Chris Watson 2019-06-17 15:18:58 -07:00
parent 3b35b9b542
commit b23262cc8f
No known key found for this signature in database
GPG Key ID: 37DAEF5F446370A4
8 changed files with 317 additions and 267 deletions

View File

@ -131,28 +131,28 @@ of Crystal.</p>
<h2>Defined in:</h2> <h2>Defined in:</h2>
<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L1" target="_blank"> <a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L1" target="_blank">
apatite/linear_algebra/ndarray.cr apatite/linear_algebra/ndarray.cr
</a> </a>
<br/> <br/>
<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra.cr#L5" target="_blank"> <a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra.cr#L5" target="_blank">
apatite/linear_algebra.cr apatite/linear_algebra.cr
</a> </a>
<br/> <br/>
<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L10" target="_blank"> <a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L10" target="_blank">
apatite.cr apatite.cr
</a> </a>
<br/> <br/>
<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/version.cr#L1" target="_blank"> <a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/version.cr#L1" target="_blank">
apatite/version.cr apatite/version.cr
</a> </a>
@ -268,6 +268,13 @@ of Crystal.</p>
</li> </li>
<li class="entry-summary">
<a href="#cosine%28x%2Cy%29-instance-method" class="signature"><strong>#cosine</strong>(x, y)</a>
<div class="summary"><p>Compute the cosine distance between two vectors.</p></div>
</li>
<li class="entry-summary"> <li class="entry-summary">
<a href="#diagonal%28values%29-instance-method" class="signature"><strong>#diagonal</strong>(values)</a> <a href="#diagonal%28values%29-instance-method" class="signature"><strong>#diagonal</strong>(values)</a>
@ -362,7 +369,7 @@ of Crystal.</p>
<li class="entry-summary"> <li class="entry-summary">
<a href="#similarity%28x%2Cy%29-instance-method" class="signature"><strong>#similarity</strong>(x, y)</a> <a href="#similarity%28x%2Cy%29-instance-method" class="signature"><strong>#similarity</strong>(x, y)</a>
<div class="summary"><p>Compute the cosine similarity between two vectors.</p></div> <div class="summary"><p>Compute the cosine similarity of two vectors.</p></div>
</li> </li>
@ -430,7 +437,7 @@ of Crystal.</p>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L18" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L18" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -446,7 +453,7 @@ of Crystal.</p>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L22" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L22" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -462,7 +469,7 @@ of Crystal.</p>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L17" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L17" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -478,7 +485,7 @@ of Crystal.</p>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L21" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L21" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -502,7 +509,7 @@ If the vectors are mirrored across their axes this will return <code>nil</code>.
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L145" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L150" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -520,7 +527,7 @@ If the vectors are mirrored across their axes this will return <code>nil</code>.
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L178" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L183" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -539,7 +546,7 @@ If the vectors are mirrored across their axes this will return <code>nil</code>.
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L65" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L65" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -557,7 +564,25 @@ If the vectors are mirrored across their axes this will return <code>nil</code>.
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L70" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L70" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="cosine(x,y)-instance-method">
<div class="signature">
def <strong>cosine</strong>(x, y)
<a class="method-permalink" href="#cosine%28x%2Cy%29-instance-method">#</a>
</div>
<div class="doc"><p>Compute the cosine distance between two vectors.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L144" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -575,7 +600,7 @@ If the vectors are mirrored across their axes this will return <code>nil</code>.
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L93" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L93" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -595,7 +620,7 @@ If the vectors are mirrored across their axes this will return <code>nil</code>.
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L125" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L125" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -613,7 +638,7 @@ If the vectors are mirrored across their axes this will return <code>nil</code>.
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L38" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L38" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -633,7 +658,7 @@ If the vectors are mirrored across their axes this will return <code>nil</code>.
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L88" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L88" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -652,7 +677,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L99" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L99" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -670,7 +695,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L53" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L53" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -688,7 +713,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L104" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L104" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -706,7 +731,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L43" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L43" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -724,7 +749,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L172" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L177" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -742,7 +767,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L184" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L189" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -762,7 +787,7 @@ to a given range.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L77" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L77" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -780,7 +805,7 @@ to a given range.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L109" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L109" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -798,7 +823,7 @@ to a given range.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L114" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L114" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -811,12 +836,12 @@ to a given range.</p></div>
<a class="method-permalink" href="#similarity%28x%2Cy%29-instance-method">#</a> <a class="method-permalink" href="#similarity%28x%2Cy%29-instance-method">#</a>
</div> </div>
<div class="doc"><p>Compute the cosine similarity between two vectors.</p></div> <div class="doc"><p>Compute the cosine similarity of two vectors.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L136" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L136" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -835,7 +860,7 @@ for each index of <code>self</code>, assigning the block's value in that index.<
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L59" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L59" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -853,7 +878,7 @@ for each index of <code>self</code>, assigning the block's value in that index.<
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite.cr#L48" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite.cr#L48" target="_blank">View source</a>]
</div> </div>
</div> </div>

View File

@ -123,28 +123,28 @@
<h2>Defined in:</h2> <h2>Defined in:</h2>
<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L1" target="_blank"> <a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L1" target="_blank">
apatite/linear_algebra/ndarray.cr apatite/linear_algebra/ndarray.cr
</a> </a>
<br/> <br/>
<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L1" target="_blank"> <a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L1" target="_blank">
apatite/linear_algebra/vector.cr apatite/linear_algebra/vector.cr
</a> </a>
<br/> <br/>
<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L3" target="_blank"> <a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L3" target="_blank">
apatite/linear_algebra/matrix.cr apatite/linear_algebra/matrix.cr
</a> </a>
<br/> <br/>
<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra.cr#L6" target="_blank"> <a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra.cr#L6" target="_blank">
apatite/linear_algebra.cr apatite/linear_algebra.cr
</a> </a>
@ -210,7 +210,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra.cr#L14" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra.cr#L14" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -230,7 +230,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra.cr#L22" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra.cr#L22" target="_blank">View source</a>]
</div> </div>
</div> </div>

View File

@ -122,7 +122,7 @@
<h2>Defined in:</h2> <h2>Defined in:</h2>
<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L4" target="_blank"> <a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L4" target="_blank">
apatite/linear_algebra/matrix.cr apatite/linear_algebra/matrix.cr
</a> </a>
@ -539,7 +539,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L15" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L15" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -562,7 +562,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L22" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L22" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -581,7 +581,7 @@ the given block, passing the current row and column.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L28" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L28" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -599,7 +599,7 @@ the given block, passing the current row and column.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L39" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L39" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -617,7 +617,7 @@ the given block, passing the current row and column.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L44" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L44" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -635,7 +635,7 @@ the given block, passing the current row and column.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L70" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L70" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -653,7 +653,7 @@ the given block, passing the current row and column.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L84" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L84" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -672,7 +672,7 @@ the given block, passing the current row and column.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L90" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L90" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -691,7 +691,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L98" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L98" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -709,7 +709,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L103" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L103" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -727,7 +727,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L107" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L107" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -745,7 +745,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L112" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L112" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -763,7 +763,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L117" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L117" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -781,7 +781,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L126" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L126" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -799,7 +799,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L131" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L131" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -817,7 +817,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L135" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L135" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -838,7 +838,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L140" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L140" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -854,7 +854,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L154" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L154" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -870,7 +870,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L161" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L161" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -886,7 +886,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L167" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L167" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -902,7 +902,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L176" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L176" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -918,7 +918,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L188" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L188" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -934,7 +934,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L205" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L205" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -950,7 +950,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L193" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L193" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -966,7 +966,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L210" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L210" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -982,7 +982,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L214" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L214" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -998,7 +998,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L221" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L221" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1016,7 +1016,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L228" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L228" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1034,7 +1034,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L233" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L233" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1052,7 +1052,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L239" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L239" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1070,7 +1070,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L247" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L247" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1088,7 +1088,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L274" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L274" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1106,7 +1106,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L265" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L265" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1124,7 +1124,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L256" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L256" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1140,7 +1140,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L11" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L11" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1158,7 +1158,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L283" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L283" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1174,7 +1174,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L354" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L354" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1190,7 +1190,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L429" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L429" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1208,7 +1208,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L304" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L304" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1226,7 +1226,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L450" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L450" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1242,7 +1242,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L516" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L516" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1258,7 +1258,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L475" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L475" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1274,7 +1274,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L480" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L480" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1290,7 +1290,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L13" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L13" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1306,7 +1306,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L484" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L484" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1322,7 +1322,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L492" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L492" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1338,7 +1338,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L502" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L502" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1354,7 +1354,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L496" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L496" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1370,7 +1370,7 @@ and zeros elsewhere.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/matrix.cr#L525" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/matrix.cr#L525" target="_blank">View source</a>]
</div> </div>
</div> </div>

View File

@ -122,7 +122,7 @@
<h2>Defined in:</h2> <h2>Defined in:</h2>
<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L2" target="_blank"> <a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L2" target="_blank">
apatite/linear_algebra/ndarray.cr apatite/linear_algebra/ndarray.cr
</a> </a>
@ -323,7 +323,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L18" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L18" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -346,7 +346,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L11" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L11" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -362,7 +362,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L11" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L11" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -378,7 +378,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L13" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L13" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -394,7 +394,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L12" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L12" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -410,7 +410,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L12" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L12" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -428,7 +428,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L24" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L24" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -446,7 +446,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L29" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L29" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -462,7 +462,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L9" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L9" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -478,7 +478,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L11" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L11" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -494,7 +494,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L16" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L16" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -510,7 +510,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L16" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L16" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -526,7 +526,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L15" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L15" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -542,7 +542,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L15" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L15" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -558,7 +558,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L14" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L14" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -574,7 +574,7 @@
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/ndarray.cr#L14" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/ndarray.cr#L14" target="_blank">View source</a>]
</div> </div>
</div> </div>

View File

@ -127,7 +127,7 @@ of a <code><a href="../../Apatite/LinearAlgebra/Matrix.html">Matrix</a></code></
<h2>Defined in:</h2> <h2>Defined in:</h2>
<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L4" target="_blank"> <a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L4" target="_blank">
apatite/linear_algebra/vector.cr apatite/linear_algebra/vector.cr
</a> </a>
@ -287,7 +287,7 @@ of a <code><a href="../../Apatite/LinearAlgebra/Matrix.html">Matrix</a></code></
<li class="entry-summary"> <li class="entry-summary">
<a href="#%3C%3C%28value%3AFloat64%29-instance-method" class="signature"><strong>#<<</strong>(value : Float64)</a> <a href="#%3C%3C%28value%3AFloat64%29-instance-method" class="signature"><strong>#<<</strong>(value : Float64)</a>
<div class="summary"><p>Alias for <code><a href="../../Apatite/LinearAlgebra/Vector.html#push%28value%3AFloat64%29-instance-method">#push</a></code></p></div> <div class="summary"><p>Alias for <code><a href="../../Apatite/LinearAlgebra/Vector.html#push%28%2Avalues%3AFloat64%29-instance-method">#push</a></code></p></div>
</li> </li>
@ -317,6 +317,13 @@ of a <code><a href="../../Apatite/LinearAlgebra/Matrix.html">Matrix</a></code></
</li> </li>
<li class="entry-summary">
<a href="#%5B%5D%3D%28index%3AInt%2Ccount%3AInt%2Cvalue%29-instance-method" class="signature"><strong>#[]=</strong>(index : Int, count : Int, value)</a>
<div class="summary"><p>Replaces a subrange with a single value.</p></div>
</li>
<li class="entry-summary"> <li class="entry-summary">
<a href="#%5B%5D%3D%28index%3AInt%2Ccount%3AInt%2Cvalues%3AVector%29-instance-method" class="signature"><strong>#[]=</strong>(index : Int, count : Int, values : Vector)</a> <a href="#%5B%5D%3D%28index%3AInt%2Ccount%3AInt%2Cvalues%3AVector%29-instance-method" class="signature"><strong>#[]=</strong>(index : Int, count : Int, values : Vector)</a>
@ -325,7 +332,7 @@ of a <code><a href="../../Apatite/LinearAlgebra/Matrix.html">Matrix</a></code></
</li> </li>
<li class="entry-summary"> <li class="entry-summary">
<a href="#%5B%5D%3D%28index%3AInt%2Ccount%3AInt%2Cvalue%29-instance-method" class="signature"><strong>#[]=</strong>(index : Int, count : Int, value)</a> <a href="#%5B%5D%3D%28range%3ARange%28Int%2CInt%29%2Cvalue%29-instance-method" class="signature"><strong>#[]=</strong>(range : Range(Int, Int), value)</a>
<div class="summary"><p>Replaces a subrange with a single value.</p></div> <div class="summary"><p>Replaces a subrange with a single value.</p></div>
@ -338,13 +345,6 @@ of a <code><a href="../../Apatite/LinearAlgebra/Matrix.html">Matrix</a></code></
</li> </li>
<li class="entry-summary">
<a href="#%5B%5D%3D%28range%3ARange%28Int%2CInt%29%2Cvalue%29-instance-method" class="signature"><strong>#[]=</strong>(range : Range(Int, Int), value)</a>
<div class="summary"><p>Replaces a subrange with a single value.</p></div>
</li>
<li class="entry-summary"> <li class="entry-summary">
<a href="#add%28value%29-instance-method" class="signature"><strong>#add</strong>(value)</a> <a href="#add%28value%29-instance-method" class="signature"><strong>#add</strong>(value)</a>
@ -397,6 +397,13 @@ of a <code><a href="../../Apatite/LinearAlgebra/Matrix.html">Matrix</a></code></
</li> </li>
<li class="entry-summary">
<a href="#cosine%28other%29-instance-method" class="signature"><strong>#cosine</strong>(other)</a>
<div class="summary"><p>Compute the cosine distance between this vector and another.</p></div>
</li>
<li class="entry-summary"> <li class="entry-summary">
<a href="#covector-instance-method" class="signature"><strong>#covector</strong></a> <a href="#covector-instance-method" class="signature"><strong>#covector</strong></a>
@ -557,12 +564,12 @@ of a <code><a href="../../Apatite/LinearAlgebra/Matrix.html">Matrix</a></code></
</li> </li>
<li class="entry-summary"> <li class="entry-summary">
<a href="#push%28value%3AFloat64%29-instance-method" class="signature"><strong>#push</strong>(value : Float64)</a> <a href="#push%28%2Avalues%3AFloat64%29-instance-method" class="signature"><strong>#push</strong>(*values : Float64)</a>
</li> </li>
<li class="entry-summary"> <li class="entry-summary">
<a href="#push%28%2Avalues%3AFloat64%29-instance-method" class="signature"><strong>#push</strong>(*values : Float64)</a> <a href="#push%28value%3AFloat64%29-instance-method" class="signature"><strong>#push</strong>(value : Float64)</a>
</li> </li>
@ -602,7 +609,7 @@ of a <code><a href="../../Apatite/LinearAlgebra/Matrix.html">Matrix</a></code></
<li class="entry-summary"> <li class="entry-summary">
<a href="#similarity%28other%29-instance-method" class="signature"><strong>#similarity</strong>(other)</a> <a href="#similarity%28other%29-instance-method" class="signature"><strong>#similarity</strong>(other)</a>
<div class="summary"><p>Compute the cosine similarity between this vector and another.</p></div> <div class="summary"><p>Compute the cosine similarity of this vector and another.</p></div>
</li> </li>
@ -799,7 +806,7 @@ and yielding that buffer. The given block must return the desired size of the ve
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L106" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L106" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -819,7 +826,7 @@ and yielding that buffer. The given block must return the desired size of the ve
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L63" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L63" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -846,7 +853,7 @@ vec.size <span class="c"># =&gt; 0</span></code></pre></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L43" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L43" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -864,7 +871,7 @@ vec.size <span class="c"># =&gt; 0</span></code></pre></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L25" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L25" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -888,7 +895,7 @@ vec <span class="c"># =&gt; Vector{5.0, 5.0, 5.0}</span></code></pre></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L87" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L87" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -909,7 +916,7 @@ vec <span class="c"># =&gt; Vector{5.0, 5.0, 5.0}</span></code></pre></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L156" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L156" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -927,7 +934,7 @@ vec <span class="c"># =&gt; Vector{5.0, 5.0, 5.0}</span></code></pre></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L138" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L138" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -948,7 +955,7 @@ collection.</p>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L118" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L118" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -966,7 +973,7 @@ collection.</p>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L152" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L152" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -986,7 +993,7 @@ to a given range.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L129" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L129" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1004,7 +1011,7 @@ to a given range.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L147" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L147" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1025,7 +1032,7 @@ to a given range.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L370" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L370" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1041,7 +1048,7 @@ to a given range.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L362" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L362" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1057,7 +1064,7 @@ to a given range.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L366" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L366" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1073,7 +1080,7 @@ to a given range.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L374" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L374" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1086,12 +1093,12 @@ to a given range.</p></div>
<a class="method-permalink" href="#%3C%3C%28value%3AFloat64%29-instance-method">#</a> <a class="method-permalink" href="#%3C%3C%28value%3AFloat64%29-instance-method">#</a>
</div> </div>
<div class="doc"><p>Alias for <code><a href="../../Apatite/LinearAlgebra/Vector.html#push%28value%3AFloat64%29-instance-method">#push</a></code></p></div> <div class="doc"><p>Alias for <code><a href="../../Apatite/LinearAlgebra/Vector.html#push%28%2Avalues%3AFloat64%29-instance-method">#push</a></code></p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L349" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L349" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1120,7 +1127,7 @@ value, that result is the return value of the comparison.</p>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L339" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L339" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1136,7 +1143,7 @@ value, that result is the return value of the comparison.</p>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L353" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L353" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1165,7 +1172,7 @@ v[<span class="n">6</span>, <span class="n">10</span>] <span class="c"># raise I
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L191" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L191" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1193,33 +1200,7 @@ v[<span class="n">6</span>..<span class="n">10</span>] <span class="c"># raise I
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L173" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L173" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="[]=(index:Int,count:Int,values:Vector)-instance-method">
<div class="signature">
def <strong>[]=</strong>(index : Int, count : Int, values : <a href="../../Apatite/LinearAlgebra/Vector.html">Vector</a>)
<a class="method-permalink" href="#%5B%5D%3D%28index%3AInt%2Ccount%3AInt%2Cvalues%3AVector%29-instance-method">#</a>
</div>
<div class="doc"><p>Replaces a subrange with the elements of the given vector.</p>
<pre><code>vec <span class="o">=</span> <span class="t">Vector</span>{<span class="n">1.0</span>, <span class="n">2.0</span>, <span class="n">3.0</span>, <span class="n">4.0</span>, <span class="n">5.0</span>}
vec[<span class="n">1</span>, <span class="n">3</span>] <span class="o">=</span> <span class="t">Vector</span>{<span class="n">6.0</span>, <span class="n">7.0</span>, <span class="n">8.0</span>}
vec <span class="c"># = Vector{1.0, 6.0, 7.0, 8.0, 5.0}</span>
vec <span class="o">=</span> <span class="t">Vector</span>{<span class="n">1.0</span>, <span class="n">2.0</span>, <span class="n">3.0</span>, <span class="n">4.0</span>, <span class="n">5.0</span>}
vec[<span class="n">1</span>, <span class="n">3</span>] <span class="o">=</span> <span class="t">Vector</span>{<span class="n">6.0</span>, <span class="n">7.0</span>}
vec <span class="c"># = Vector{1.0, 6.0, 7.0, 5.0}</span></code></pre></div>
<br/>
<div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L297" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1251,7 +1232,59 @@ vec <span class="c"># =&gt; Vector{1.0, 6.0, 2.0, 3.0, 4.0, 5.0}</span></code></
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L248" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L248" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="[]=(index:Int,count:Int,values:Vector)-instance-method">
<div class="signature">
def <strong>[]=</strong>(index : Int, count : Int, values : <a href="../../Apatite/LinearAlgebra/Vector.html">Vector</a>)
<a class="method-permalink" href="#%5B%5D%3D%28index%3AInt%2Ccount%3AInt%2Cvalues%3AVector%29-instance-method">#</a>
</div>
<div class="doc"><p>Replaces a subrange with the elements of the given vector.</p>
<pre><code>vec <span class="o">=</span> <span class="t">Vector</span>{<span class="n">1.0</span>, <span class="n">2.0</span>, <span class="n">3.0</span>, <span class="n">4.0</span>, <span class="n">5.0</span>}
vec[<span class="n">1</span>, <span class="n">3</span>] <span class="o">=</span> <span class="t">Vector</span>{<span class="n">6.0</span>, <span class="n">7.0</span>, <span class="n">8.0</span>}
vec <span class="c"># = Vector{1.0, 6.0, 7.0, 8.0, 5.0}</span>
vec <span class="o">=</span> <span class="t">Vector</span>{<span class="n">1.0</span>, <span class="n">2.0</span>, <span class="n">3.0</span>, <span class="n">4.0</span>, <span class="n">5.0</span>}
vec[<span class="n">1</span>, <span class="n">3</span>] <span class="o">=</span> <span class="t">Vector</span>{<span class="n">6.0</span>, <span class="n">7.0</span>}
vec <span class="c"># = Vector{1.0, 6.0, 7.0, 5.0}</span></code></pre></div>
<br/>
<div>
[<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L297" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="[]=(range:Range(Int,Int),value)-instance-method">
<div class="signature">
def <strong>[]=</strong>(range : Range(Int, Int), value)
<a class="method-permalink" href="#%5B%5D%3D%28range%3ARange%28Int%2CInt%29%2Cvalue%29-instance-method">#</a>
</div>
<div class="doc"><p>Replaces a subrange with a single value.</p>
<pre><code>vec <span class="o">=</span> <span class="t">Vector</span>{<span class="n">1.0</span>, <span class="n">2.0</span>, <span class="n">3.0</span>, <span class="n">4.0</span>, <span class="n">5.0</span>}
vec[<span class="n">1</span>..<span class="n">3</span>] <span class="o">=</span> <span class="n">6.0</span>
vec <span class="c"># = Vector{1.0, 6.0, 5.0}</span>
vec <span class="o">=</span> <span class="t">Vector</span>{<span class="n">1.0</span>, <span class="n">2.0</span>, <span class="n">3.0</span>, <span class="n">4.0</span>, <span class="n">5.0</span>}
vec[<span class="n">1</span>...<span class="n">1</span>] <span class="o">=</span> <span class="n">6</span>
vec <span class="c"># = Vector{1.0, 6.0, 2.0, 3.0, 4.0, 5.0}</span></code></pre></div>
<br/>
<div>
[<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L282" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1278,33 +1311,7 @@ vec[<span class="n">3</span>] <span class="o">=</span> <span class="n">5.0</span
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L226" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L226" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="[]=(range:Range(Int,Int),value)-instance-method">
<div class="signature">
def <strong>[]=</strong>(range : Range(Int, Int), value)
<a class="method-permalink" href="#%5B%5D%3D%28range%3ARange%28Int%2CInt%29%2Cvalue%29-instance-method">#</a>
</div>
<div class="doc"><p>Replaces a subrange with a single value.</p>
<pre><code>vec <span class="o">=</span> <span class="t">Vector</span>{<span class="n">1.0</span>, <span class="n">2.0</span>, <span class="n">3.0</span>, <span class="n">4.0</span>, <span class="n">5.0</span>}
vec[<span class="n">1</span>..<span class="n">3</span>] <span class="o">=</span> <span class="n">6.0</span>
vec <span class="c"># = Vector{1.0, 6.0, 5.0}</span>
vec <span class="o">=</span> <span class="t">Vector</span>{<span class="n">1.0</span>, <span class="n">2.0</span>, <span class="n">3.0</span>, <span class="n">4.0</span>, <span class="n">5.0</span>}
vec[<span class="n">1</span>...<span class="n">1</span>] <span class="o">=</span> <span class="n">6</span>
vec <span class="c"># = Vector{1.0, 6.0, 2.0, 3.0, 4.0, 5.0}</span></code></pre></div>
<br/>
<div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L282" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1324,7 +1331,7 @@ will be added together.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L476" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L481" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1343,7 +1350,7 @@ If the vectors are mirrored across their axes this will return <code>nil</code>.
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L449" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L449" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1361,7 +1368,7 @@ If the vectors are mirrored across their axes this will return <code>nil</code>.
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L464" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L469" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1380,7 +1387,7 @@ on the end.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L551" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L556" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1399,7 +1406,7 @@ the beginning.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L536" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L541" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1420,7 +1427,7 @@ vec.clear <span class="c"># =&gt; Vector{}</span></code></pre></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L768" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L773" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1436,7 +1443,7 @@ vec.clear <span class="c"># =&gt; Vector{}</span></code></pre></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L378" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L378" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1452,7 +1459,25 @@ vec.clear <span class="c"># =&gt; Vector{}</span></code></pre></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L717" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L722" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="cosine(other)-instance-method">
<div class="signature">
def <strong>cosine</strong>(other)
<a class="method-permalink" href="#cosine%28other%29-instance-method">#</a>
</div>
<div class="doc"><p>Compute the cosine distance between this vector and another.</p></div>
<br/>
<div>
[<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L459" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1470,7 +1495,7 @@ vec.clear <span class="c"># =&gt; Vector{}</span></code></pre></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L587" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L592" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1492,7 +1517,7 @@ v1.cross(v2) => <span class="t">Vector</span>{<span class="n">0.0</span>, <span
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L513" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L518" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1511,7 +1536,7 @@ a point in space.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L615" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L620" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1531,7 +1556,7 @@ will be element-wise divided.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L497" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L502" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1551,7 +1576,7 @@ will be element-wise divided.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L569" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L574" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1570,7 +1595,7 @@ is out of bounds. Indexing starts from 1.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L430" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L430" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1588,7 +1613,7 @@ is out of bounds. Indexing starts from 1.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L388" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L388" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1606,7 +1631,7 @@ is out of bounds. Indexing starts from 1.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L640" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L645" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1624,7 +1649,7 @@ is out of bounds. Indexing starts from 1.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L635" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L640" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1642,7 +1667,7 @@ is out of bounds. Indexing starts from 1.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L557" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L562" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1662,7 +1687,7 @@ is out of bounds. Indexing starts from 1.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L423" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L423" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1680,7 +1705,7 @@ is out of bounds. Indexing starts from 1.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L383" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L383" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1703,7 +1728,7 @@ a <span class="c"># =&gt; Vector{1.0, 4.0, 9.0}</span></code></pre></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L404" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L404" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1721,7 +1746,7 @@ a <span class="c"># =&gt; Vector{1.0, 4.0, 9.0}</span></code></pre></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L410" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L410" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1739,7 +1764,7 @@ a <span class="c"># =&gt; Vector{1.0, 4.0, 9.0}</span></code></pre></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L415" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L415" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1757,7 +1782,7 @@ a <span class="c"># =&gt; Vector{1.0, 4.0, 9.0}</span></code></pre></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L575" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L580" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1775,7 +1800,7 @@ a <span class="c"># =&gt; Vector{1.0, 4.0, 9.0}</span></code></pre></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L580" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L585" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1795,7 +1820,7 @@ will be element-wise multiplied.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L490" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L495" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1815,7 +1840,7 @@ vector, it will not be modified.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L443" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L443" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1833,7 +1858,7 @@ vector, it will not be modified.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L459" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L464" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1851,7 +1876,7 @@ vector, it will not be modified.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L469" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L474" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1867,7 +1892,7 @@ vector, it will not be modified.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L740" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L745" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1885,23 +1910,7 @@ vector, it will not be modified.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L562" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L567" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="push(value:Float64)-instance-method">
<div class="signature">
def <strong>push</strong>(value : Float64)
<a class="method-permalink" href="#push%28value%3AFloat64%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L644" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1917,7 +1926,23 @@ vector, it will not be modified.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L651" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L656" target="_blank">View source</a>]
</div>
</div>
<div class="entry-detail" id="push(value:Float64)-instance-method">
<div class="signature">
def <strong>push</strong>(value : Float64)
<a class="method-permalink" href="#push%28value%3AFloat64%29-instance-method">#</a>
</div>
<br/>
<div>
[<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L649" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1936,7 +1961,7 @@ vector, it will not be modified.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L670" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L675" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1956,7 +1981,7 @@ careful with line directions!</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L664" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L669" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1974,7 +1999,7 @@ careful with line directions!</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L598" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L603" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -1990,7 +2015,7 @@ careful with line directions!</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L712" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L717" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -2009,7 +2034,7 @@ across the whole vector.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L693" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L698" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -2022,12 +2047,12 @@ across the whole vector.</p></div>
<a class="method-permalink" href="#similarity%28other%29-instance-method">#</a> <a class="method-permalink" href="#similarity%28other%29-instance-method">#</a>
</div> </div>
<div class="doc"><p>Compute the cosine similarity between this vector and another.</p></div> <div class="doc"><p>Compute the cosine similarity of this vector and another.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L454" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L454" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -2045,7 +2070,7 @@ across the whole vector.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L24" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L24" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -2064,7 +2089,7 @@ they differ from it by less than <code>Apetite.precision</code></p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L609" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L614" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -2084,7 +2109,7 @@ will be subtracted.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L483" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L488" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -2102,7 +2127,7 @@ will be subtracted.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L502" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L507" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -2121,7 +2146,7 @@ z-component is added.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L699" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L704" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -2137,7 +2162,7 @@ z-component is added.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L730" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L735" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -2156,7 +2181,7 @@ diagonal elements.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L593" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L598" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -2172,7 +2197,7 @@ diagonal elements.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L734" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L739" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -2192,7 +2217,7 @@ vector, it will not be modified.</p></div>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L437" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L437" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -2216,7 +2241,7 @@ vec.to_unsafe[<span class="n">0</span>] <span class="c"># =&gt; 1.0</span></code
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L758" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L763" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -2234,7 +2259,7 @@ vec.to_unsafe[<span class="n">0</span>] <span class="c"># =&gt; 1.0</span></code
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L543" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L548" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -2252,7 +2277,7 @@ vec.to_unsafe[<span class="n">0</span>] <span class="c"># =&gt; 1.0</span></code
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L603" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L608" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -2268,7 +2293,7 @@ vec.to_unsafe[<span class="n">0</span>] <span class="c"># =&gt; 1.0</span></code
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L745" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L750" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -2284,7 +2309,7 @@ vec.to_unsafe[<span class="n">0</span>] <span class="c"># =&gt; 1.0</span></code
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/linear_algebra/vector.cr#L774" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/linear_algebra/vector.cr#L779" target="_blank">View source</a>]
</div> </div>
</div> </div>

View File

@ -160,7 +160,7 @@ set <span class="o">&lt;&lt;</span> <span class="n">3</span></code></pre>
<h2>Defined in:</h2> <h2>Defined in:</h2>
<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/core_ext/array.cr#L1" target="_blank"> <a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/core_ext/array.cr#L1" target="_blank">
apatite/core_ext/array.cr apatite/core_ext/array.cr
</a> </a>
@ -294,7 +294,7 @@ set <span class="o">&lt;&lt;</span> <span class="n">3</span></code></pre>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/core_ext/array.cr#L3" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/core_ext/array.cr#L3" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -312,7 +312,7 @@ set <span class="o">&lt;&lt;</span> <span class="n">3</span></code></pre>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/core_ext/array.cr#L11" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/core_ext/array.cr#L11" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -330,7 +330,7 @@ set <span class="o">&lt;&lt;</span> <span class="n">3</span></code></pre>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/core_ext/array.cr#L19" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/core_ext/array.cr#L19" target="_blank">View source</a>]
</div> </div>
</div> </div>
@ -346,7 +346,7 @@ set <span class="o">&lt;&lt;</span> <span class="n">3</span></code></pre>
<br/> <br/>
<div> <div>
[<a href="https://github.com/watzon/apatite/blob/ef28e84ecc4b7dc21e66c18464fec0892633d420/src/apatite/core_ext/array.cr#L24" target="_blank">View source</a>] [<a href="https://github.com/watzon/apatite/blob/3b35b9b5423d8844e655533c4ee56ca80012b390/src/apatite/core_ext/array.cr#L24" target="_blank">View source</a>]
</div> </div>
</div> </div>

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long