As part of the Unified Community Platform project, this wiki and 38 others will be migrated to the new platform in the next few weeks. Minimal changes are expected as part of this migration. Read more here.

Operator: Vector Dot Product

From Feed The Beast Wiki
Jump to: navigation, search
Operator: Vector Dot Product

ModPsi
TypeSelector
GroupTrigonometry
Return typeNumber
Parameters
Vector AVector
Vector BVector
Technical details
Registry nameoperatorVectorDotProduct

Operator: Vector Dot Product is a Number Spell Piece added by Psi. It provides the dot product of two vectors, which is defined as \vec{v_{1}} \cdot \vec{v_{2}}=||\vec{v_{1}}||\ ||\vec{v_{2}}||\cos(\theta), where \vec{v_{1}} and \vec{v_{2}} are vectors, ||\vec{v_{1}}|| and ||\vec{v_{2}}|| are the magnitudes of the two vectors, and \theta is the angle between the two vectors. For example, two vectors at a 90° angle will have a dot product of 0, while those at a 0° angle will be exactly equal to ||\vec{v_{1}}|| \times ||\vec{v_{2}}||. This result is scalar; it will result in a number value, not another vector. This should not be confused with
Operator: Vector Multiply and
Operator: Vector Cross Product. It is unlocked in the lesson "Trigonometry."

Parameters[edit | edit source]

  • Vector A: Requires a vector.
  • Vector B: Requires a vector.

See also[edit | edit source]


"Psi"

"name" = ""Navbox Psi"" "state" = ""plain""