Trait

basis.math

F2

Related Doc: package math

Permalink

trait F2 extends FN

An abstract 2-dimensional vector space over a ring.

Self Type
F2
Source
F2.scala
Version

0.1

Since

0.0

Linear Supertypes
FN, VectorSpace, AnyRef, Any
Known Subclasses
Type Hierarchy Learn more about scaladoc diagrams
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. F2
  2. FN
  3. VectorSpace
  4. AnyRef
  5. Any
  1. Hide All
  2. Show all
Visibility
  1. Public
  2. All

Type Members

  1. type Scalar = Element

    Permalink

    The type of scalars in this vector space.

    The type of scalars in this vector space.

    Definition Classes
    VectorSpace
  2. abstract type Vector <: VectorF2

    Permalink

    The type of vectors in this vector space.

    The type of vectors in this vector space.

    Definition Classes
    F2FNVectorSpace
  3. trait VectorElement extends Any

    Permalink

    A vector in this vector space.

    A vector in this vector space.

    Definition Classes
    VectorSpace
  4. trait VectorF2 extends VectorFN

    Permalink
  5. trait VectorFN extends VectorElement

    Permalink
    Definition Classes
    FN

Abstract Value Members

  1. abstract val Scalar: Ring

    Permalink

    Returns the scalar set of this vector space.

    Returns the scalar set of this vector space.

    Definition Classes
    VectorSpace
  2. implicit abstract def ScalarTag: ClassTag[Scalar]

    Permalink
    Definition Classes
    FN
  3. abstract def apply(x: Scalar, y: Scalar): Vector

    Permalink

    Returns a new vector with 𝑥 and 𝑦 coordinates.

Concrete Value Members

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

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  4. def apply(coords: Array[Scalar]): Vector

    Permalink

    Returns a new vector with the given coordinates.

    Returns a new vector with the given coordinates.

    Definition Classes
    F2FN
  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  7. def dim: Int

    Permalink

    Returns the dimension of this vector space.

    Returns the dimension of this vector space.

    Definition Classes
    F2FN
  8. final def eq(arg0: AnyRef): Boolean

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  15. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
  16. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
  17. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  18. def toString(): String

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

    Permalink

    Extracts the 𝑥 and 𝑦 coordinates from a vector.

  20. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  23. def zero: Vector

    Permalink

    Returns the additive identity of this vector space.

    Returns the additive identity of this vector space.

    Definition Classes
    F2FNVectorSpace

Inherited from FN

Inherited from VectorSpace

Inherited from AnyRef

Inherited from Any

Ungrouped