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

Template:Main:Vector/OperatorIndex: Difference between revisions

Template page
PenguinEncounter (talk | contribs)
Created page with "<includeonly>| + (vector, vector) || Add two vectors. | + (vector, number) ''comm.'' || Add the number to each component of the vector. | + (vector, vector) || Subtract two vectors. | - (vector) || Negate the vector. | - (vector, number) || Subtract the number from each component of the vector. | - (number, vector) || Negate the vector, then add the number to each component..."
Tag: 2017 source edit
 
PenguinEncounter (talk | contribs)
 
(3 intermediate revisions by the same user not shown)
Line 1: Line 1:
<includeonly>| [[#meta_add_vv|+ (vector, vector)]] || Add two vectors.
<includeonly>|-
| [[#meta_add_vn|+ (vector, number) ''comm.'']] || Add the number to each component of the vector.
| [[#meta_add_vv|(vector + vector)]] || Add two vectors.
| [[#meta_sub_vv|+ (vector, vector)]] || Subtract two vectors.
|-
| [[#meta_unm|- (vector)]] || Negate the vector.
| [[#meta_add_vn|(vector + number) ''comm.'']] || Add the number to each component of the vector.
| [[#meta_sub_vn|- (vector, number)]] || Subtract the number from each component of the vector.
|-
| [[#meta_sub_nv|- (number, vector)]] || Negate the vector, then add the number to each component.
| [[#meta_unm|(-vector)]] || Negate the vector.
| [[#meta_mul_vv|* (vector, vector)]] || Multiply (component-wise) two vectors.
|-
| [[#meta_mul_vn|* (vector, number) ''comm.'']] || Scale the vector.
| [[#meta_sub_vv|(vector - vector)]] || Subtract two vectors.
| [[#meta_mul_vm|* (vector, matrix)]] || Transform the vector using the matrix.
|-
| [[#meta_div_vv|/ (vector, vector)]] || Divide (component-wise) two vectors.
| [[#meta_sub_vn|(vector - number)]] || Subtract the number from each component of the vector.
| [[#meta_div_vn|/ (vector, number)]] || Scale the vector by (1/number).
|-
| [[#meta_len|# (vector)]] || Number of components in the vector.
| [[#meta_sub_nv|(number - vector)]] || Negate the vector, then add the number to each component.
| [[#meta_lt|< (vector, vector)]] || Component-wise less than.
|-
| [[#meta_le|<= (vector, vector)]] || Component-wise less than or equal.
| [[#meta_mul_vv|(vector * vector)]] || Multiply (component-wise) two vectors.
| [[#meta_tostring|tostring return value]] || Result of <code>tostring(vector)</code>.</includeonly><noinclude>
|-
| [[#meta_mul_vn|(vector * number) ''comm.'']] || Scale the vector.
|-
| [[#meta_mul_vm|(vector * matrix)]] || Transform the vector using the matrix.
|-
| [[#meta_div_vv|(vector / vector)]] || Divide (component-wise) two vectors.
|-
| [[#meta_div_vn|(vector / number)]] || Scale the vector by (1/number).
|-
| [[#meta_len|(#vector)]] || Number of components in the vector.
|-
| [[#meta_lt|(vector < vector)]] || Component-wise less than.
|-
| [[#meta_le|(vector <= vector)]] || Component-wise less than or equal.
|-
| [[#meta_tostring|tostring(vector)]] || Result of <code>tostring(vector)</code>.</includeonly><noinclude>
{{Notice/Warning|This page is required to be transcluded into a table to function.}}
{{Notice/Warning|This page is required to be transcluded into a table to function.}}
</noinclude>
</noinclude>

Latest revision as of 23:40, 29 October 2024

This page is required to be transcluded into a table to function.