package vector
- Alphabetic
- By Inheritance
- vector
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
- trait PhysicalVector extends AnyRef
- trait PhysicalVectorOps[A] extends AnyRef
-
class
Vector2D extends PhysicalVector with PhysicalVectorOps[Vector2D]
Two dimensional simple vector class.
Two dimensional simple vector class. Simple operations like + and - are defined for vector to vector, while multiplication, addition, division and subtraction are defined for scalars. Standard operations like norm, dot product and orthogonal exist as well.
-
class
Vector3D extends PhysicalVector with PhysicalVectorOps[Vector3D]
Simple 3 dimensional vector class.
Simple 3 dimensional vector class. Objective is to keep this class concise and fast. Standard operations are defined such as vectorial summation and subtraction , scala multiplication/division/summation7subtraction and operations like normalization, dot product, etc.
-
final
class
ZeroVector2D extends Vector2D
Zero filled vector for Vector2D used for initializing mutable variables.
-
final
class
ZeroVector3D extends Vector3D
Zero filled vector for Vector3D used for initializing mutable variables.
Value Members
- def norm(a: Vector3D, b: Vector3D): Double
- def norm(a: Vector2D, b: Vector2D): Double
-
object
Vector2D
Companion object of the Vector2D class.
Companion object of the Vector2D class. The apply method is defined such that the "new" keyword can be omitted.
-
object
Vector3D
Companion object of the Vector3D class.
Companion object of the Vector3D class. The apply method is defined such that the "new" keyword can be omitted.