More actions
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 |
m PenguinEncounter moved page Vector/OperatorIndex to Template:Main:Vector/OperatorIndex |
||
(3 intermediate revisions by the same user not shown) | |||
Line 1: | Line 1: | ||
<includeonly>| [[#meta_add_vv| | <includeonly>|- | ||
| [[#meta_add_vn| | | [[#meta_add_vv|(vector + vector)]] || Add two vectors. | ||
| [[# | |- | ||
| [[# | | [[#meta_add_vn|(vector + number) ''comm.'']] || Add the number to each component of the vector. | ||
| [[#meta_sub_vn| | |- | ||
| [[#meta_sub_nv| | | [[#meta_unm|(-vector)]] || Negate the vector. | ||
| [[#meta_mul_vv| | |- | ||
| [[#meta_mul_vn| | | [[#meta_sub_vv|(vector - vector)]] || Subtract two vectors. | ||
| [[#meta_mul_vm| | |- | ||
| [[#meta_div_vv| | | [[#meta_sub_vn|(vector - number)]] || Subtract the number from each component of the vector. | ||
| [[#meta_div_vn| | |- | ||
| [[#meta_len|# | | [[#meta_sub_nv|(number - vector)]] || Negate the vector, then add the number to each component. | ||
| [[#meta_lt| | |- | ||
| [[#meta_le|<= | | [[#meta_mul_vv|(vector * vector)]] || Multiply (component-wise) two vectors. | ||
| [[#meta_tostring|tostring | |- | ||
| [[#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.