Toggle menu
Toggle personal menu
Not logged in
Your IP address will be publicly visible if you make any edits.

Template:Main:Vector/Methods: Difference between revisions

Template page
PenguinEncounter (talk | contribs)
Created page with "=== Math operations === Mathematical operations that apply to all vectors, such as computing their length ==== length ==== ---- Computes the length of a vector. <div style="float:right; padding: 10px; width: fit-content(80%); background-color: var(--color-surface-2);"> <div class="mw-collapsible mw-collapsed"> <div>Nerdy math definition</div> <div style="clear:both;" class="mw-collapsible-content"> Computes the wikipedia:Norm (mathematics)#Euclidean norm|Euclidean nor..."
Tag: 2017 source edit
 
PenguinEncounter (talk | contribs)
No edit summary
Tag: 2017 source edit
Line 4: Line 4:
==== length ====
==== length ====
----
----
Computes the length of a vector.
<div style="float:right; padding: 10px; width: min(50vw, 300px); background-color: var(--color-surface-3);">
<div style="float:right; padding: 10px; width: fit-content(80%); background-color: var(--color-surface-2);">
<div class="mw-collapsible mw-collapsed">
<div class="mw-collapsible mw-collapsed">
<div>Nerdy math definition</div>
<div>Mathematical definition</div>
<div style="clear:both;" class="mw-collapsible-content">
<div style="clear:both;" class="mw-collapsible-content">
Computes the [[wikipedia:Norm (mathematics)#Euclidean norm|Euclidean norm]] of the vector.
Computes the [[wikipedia:Norm (mathematics)#Euclidean norm|Euclidean norm]] of the vector.
Line 13: Line 12:
</div>
</div>
</div>
</div>
Computes the length of a vector.


{| class="wikitable"
{| class="wikitable"

Revision as of 20:58, 27 October 2024

Math operations

Mathematical operations that apply to all vectors, such as computing their length

length


Mathematical definition

Computes the Euclidean norm of the vector.

Computes the length of a vector.

Arguments Return Type
length() number