basis.math.binary64

R2

object R2 extends AffineSpace with F2 with RN

A 2-dimensional double-precision floating-point vector space.

Source
R2.scala
Version

0.1

Since

0.0

Linear Supertypes
RN, F2, FN, VectorSpace, AffineSpace, AnyRef, Any
Content Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. R2
  2. RN
  3. F2
  4. FN
  5. VectorSpace
  6. AffineSpace
  7. AnyRef
  8. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. type Point = VectorR2

    The type of points in this vector space.

    The type of points in this vector space.

    Definition Classes
    R2AffineSpace
  2. trait PointElement extends Any

    A point in this affine space.

    A point in this affine space.

    Definition Classes
    AffineSpace
  3. type Scalar = Real

    The type of scalars in this vector space.

    The type of scalars in this vector space.

    Definition Classes
    R2RNVectorSpaceAffineSpace
  4. type Vector = VectorR2

    The type of vectors in this vector space.

    The type of vectors in this vector space.

    Definition Classes
    R2RNF2FNVectorSpaceAffineSpace
  5. trait VectorElement extends Any

    A vector in this vector space.

    A vector in this vector space.

    Definition Classes
    VectorSpace
  6. trait VectorF2 extends VectorFN

    Definition Classes
    F2
  7. trait VectorFN extends VectorElement

    Definition Classes
    FN
  8. final class VectorR2 extends PointElement with VectorF2 with VectorRN

  9. trait VectorRN extends VectorFN

    Definition Classes
    RN

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  4. val Scalar: Real.type

    Returns the scalar set of this vector space.

    Returns the scalar set of this vector space.

    Definition Classes
    R2RNVectorSpaceAffineSpace
  5. implicit def ScalarTag: ClassTag[Real]

    Definition Classes
    RNFN
  6. val Vector: R2.type

    Returns the vector space underlying this vector space.

    Returns the vector space underlying this vector space.

    Definition Classes
    R2AffineSpace
  7. def apply(coords: Array[Double]): Vector

    Returns a new vector with the given Double coordinates.

    Returns a new vector with the given Double coordinates.

    Definition Classes
    R2RN
  8. def apply(x: Scalar, y: Scalar): Vector

    Returns a new vector with 𝑥 and 𝑦 coordinates.

    Returns a new vector with 𝑥 and 𝑦 coordinates.

    Definition Classes
    R2F2
  9. def apply(coords: Array[R2.Scalar]): Vector

    Returns a new vector with the given coordinates.

    Returns a new vector with the given coordinates.

    Definition Classes
    RNFN
  10. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  11. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  12. implicit def coerce(that: Z2.Vector): Vector

  13. def dim: Int

    Returns the dimension of this vector space.

    Returns the dimension of this vector space.

    Definition Classes
    R2F2FN
  14. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  15. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  16. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  17. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  18. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  19. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  21. final def notify(): Unit

    Definition Classes
    AnyRef
  22. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  23. def origin: Vector

    Returns the origin of this vector space.

    Returns the origin of this vector space.

    Definition Classes
    R2AffineSpace
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  25. def toString(): String

    Definition Classes
    R2 → AnyRef → Any
  26. def unapply(vector: Vector): Option[(R2.Scalar, R2.Scalar)]

    Extracts the 𝑥 and 𝑦 coordinates from a vector.

    Extracts the 𝑥 and 𝑦 coordinates from a vector.

    Definition Classes
    F2
  27. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. val zero: Vector

    Returns the additive identity of this vector space.

    Returns the additive identity of this vector space.

    Definition Classes
    R2RNF2FNVectorSpace

Inherited from RN

Inherited from F2

Inherited from FN

Inherited from VectorSpace

Inherited from AffineSpace

Inherited from AnyRef

Inherited from Any

Ungrouped