Operator: Vector Cross Product

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

ModPsi
TypeSelector
GroupVectors 101
Return typeVector
Parameters
Vector AVector
Vector BVector
Technical details
Registry nameoperatorVectorCrossProduct

Operator: Vector Cross Product is a Vector Spell Piece added by Psi. It provides the cross product of two vectors, which is defined as \vec{v_{1}} \times \vec{v_{2}}=||\vec{v_{1}}||\ ||\vec{v_{2}}||\sin(\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 0° angle to each other (parallel) will have a cross product of 0, while those at a 90° angle will be exactly equal to ||\vec{v_{1}}|| \times ||\vec{v_{2}}||. The result is a vector which is perpendicular to both of the two original vectors. This Operator should not be confused with
Operator: Vector Multiply and
Operator: Vector Dot Product. It is unlocked in the lesson "Vectors 101."

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""