module Oid::Vector
Direct including types
Defined in:
oid/resources/vector.crInstance Method Summary
- #!=(other)
- #%(other : Vector)
-
#*(other : Vector)
Performs component multiplication (for dot product see
#dot
) -
#*(other : Float64)
Performs multiplication
- #**(other : Vector)
-
#+(other : Vector)
Performs component addition
-
#+(other : Float64)
Performs component addition
-
#-(other : Vector)
Performs component subtraction
-
#-
Returns negated vector
- #/(other : Vector)
- #/(other : Float64)
- #==(other)
- #clone
- #clone(&b)
- #cross(other)
- #distance(other : Vector)
-
#dot(other)
Dot product
- #heading
- #mag
- #magnitude
- #normalize
-
#normalize!
Normalizes current vector
- #values
- #zero!
Instance Method Detail
Performs component multiplication (for dot product see #dot
)