Trait

com.github.tsingjyujing.geo.basic.operations

IVector

Related Doc: package operations

Permalink

trait IVector extends Normable with Iterable[Double]

This vector is not same in Scala's scala.collection.immutable.Vector it means a point in N-dimensional Euclid space

Linear Supertypes
Iterable[Double], IterableLike[Double, Iterable[Double]], Equals, GenIterable[Double], GenIterableLike[Double, Iterable[Double]], Traversable[Double], GenTraversable[Double], GenericTraversableTemplate[Double, Iterable], TraversableLike[Double, Iterable[Double]], GenTraversableLike[Double, Iterable[Double]], Parallelizable[Double, ParIterable[Double]], TraversableOnce[Double], GenTraversableOnce[Double], FilterMonadic[Double, Iterable[Double]], HasNewBuilder[Double, Iterable[Double] @scala.annotation.unchecked.uncheckedVariance], Normable, AnyRef, Any
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. IVector
  2. Iterable
  3. IterableLike
  4. Equals
  5. GenIterable
  6. GenIterableLike
  7. Traversable
  8. GenTraversable
  9. GenericTraversableTemplate
  10. TraversableLike
  11. GenTraversableLike
  12. Parallelizable
  13. TraversableOnce
  14. GenTraversableOnce
  15. FilterMonadic
  16. HasNewBuilder
  17. Normable
  18. AnyRef
  19. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. type Self = Iterable[Double]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike
  2. class WithFilter extends FilterMonadic[A, Repr]

    Permalink
    Definition Classes
    TraversableLike

Abstract Value Members

  1. abstract def iterator: Iterator[Double]

    Permalink
    Definition Classes
    IterableLike → GenIterableLike

Concrete Value Members

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

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

    Permalink
    Definition Classes
    AnyRef → Any
  3. def ++[B >: Double, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Double], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  4. def ++:[B >: Double, That](that: Traversable[B])(implicit bf: CanBuildFrom[Iterable[Double], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  5. def ++:[B >: Double, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Double], B, That]): That

    Permalink
    Definition Classes
    TraversableLike
  6. def /:[B](z: B)(op: (B, Double) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  7. def :\[B](z: B)(op: (Double, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  8. final def ==(arg0: Any): Boolean

    Permalink
    Definition Classes
    AnyRef → Any
  9. def addString(b: StringBuilder): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  10. def addString(b: StringBuilder, sep: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  11. def addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder

    Permalink
    Definition Classes
    TraversableOnce
  12. def aggregate[B](z: ⇒ B)(seqop: (B, Double) ⇒ B, combop: (B, B) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  13. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  14. def canEqual(that: Any): Boolean

    Permalink
    Definition Classes
    IterableLike → Equals
  15. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate() @throws( ... )
  16. def collect[B, That](pf: PartialFunction[Double, B])(implicit bf: CanBuildFrom[Iterable[Double], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  17. def collectFirst[B](pf: PartialFunction[Double, B]): Option[B]

    Permalink
    Definition Classes
    TraversableOnce
  18. def companion: GenericCompanion[Iterable]

    Permalink
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → GenericTraversableTemplate
  19. def copyToArray[B >: Double](xs: Array[B], start: Int, len: Int): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  20. def copyToArray[B >: Double](xs: Array[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  21. def copyToArray[B >: Double](xs: Array[B], start: Int): Unit

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  22. def copyToBuffer[B >: Double](dest: Buffer[B]): Unit

    Permalink
    Definition Classes
    TraversableOnce
  23. def count(p: (Double) ⇒ Boolean): Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  24. def drop(n: Int): Iterable[Double]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  25. def dropRight(n: Int): Iterable[Double]

    Permalink
    Definition Classes
    IterableLike
  26. def dropWhile(p: (Double) ⇒ Boolean): Iterable[Double]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  27. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  29. def exists(p: (Double) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  30. def filter(p: (Double) ⇒ Boolean): Iterable[Double]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  31. def filterNot(p: (Double) ⇒ Boolean): Iterable[Double]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  32. def find(p: (Double) ⇒ Boolean): Option[Double]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  33. def flatMap[B, That](f: (Double) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Iterable[Double], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  34. def flatten[B](implicit asTraversable: (Double) ⇒ GenTraversableOnce[B]): Iterable[B]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  35. def fold[A1 >: Double](z: A1)(op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  36. def foldLeft[B](z: B)(op: (B, Double) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  37. def foldRight[B](z: B)(op: (Double, B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  38. def forall(p: (Double) ⇒ Boolean): Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  39. def foreach[U](f: (Double) ⇒ U): Unit

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
  40. def genericBuilder[B]: Builder[B, Iterable[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
  41. final def getClass(): Class[_]

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  42. def groupBy[K](f: (Double) ⇒ K): Map[K, Iterable[Double]]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  43. def grouped(size: Int): Iterator[Iterable[Double]]

    Permalink
    Definition Classes
    IterableLike
  44. def hasDefiniteSize: Boolean

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  45. def hashCode(): Int

    Permalink
    Definition Classes
    AnyRef → Any
    Annotations
    @HotSpotIntrinsicCandidate()
  46. def head: Double

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  47. def headOption: Option[Double]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  48. def init: Iterable[Double]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  49. def inits: Iterator[Iterable[Double]]

    Permalink
    Definition Classes
    TraversableLike
  50. def isEmpty: Boolean

    Permalink
    Definition Classes
    IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
  51. final def isInstanceOf[T0]: Boolean

    Permalink
    Definition Classes
    Any
  52. final def isTraversableAgain: Boolean

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → GenTraversableOnce
  53. def last: Double

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  54. def lastOption: Option[Double]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  55. def map[B, That](f: (Double) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Double], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike → FilterMonadic
  56. def max[B >: Double](implicit cmp: Ordering[B]): Double

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  57. def maxBy[B](f: (Double) ⇒ B)(implicit cmp: Ordering[B]): Double

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  58. def min[B >: Double](implicit cmp: Ordering[B]): Double

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  59. def minBy[B](f: (Double) ⇒ B)(implicit cmp: Ordering[B]): Double

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  60. def mkString: String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  61. def mkString(sep: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  62. def mkString(start: String, sep: String, end: String): String

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  63. final def ne(arg0: AnyRef): Boolean

    Permalink
    Definition Classes
    AnyRef
  64. def newBuilder: Builder[Double, Iterable[Double]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    GenericTraversableTemplate → HasNewBuilder
  65. def nonEmpty: Boolean

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  66. def norm(n: Double): Double

    Permalink

    Get norm of self object

    Get norm of self object

    n

    order of the normal

    Definition Classes
    IVectorNormable
  67. def norm2: Double

    Permalink

    Which can implement it for faster calculation

    Which can implement it for faster calculation

    Definition Classes
    Normable
  68. final def notify(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  69. final def notifyAll(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @HotSpotIntrinsicCandidate()
  70. def par: ParIterable[Double]

    Permalink
    Definition Classes
    Parallelizable
  71. def parCombiner: Combiner[Double, ParIterable[Double]]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableLike → Parallelizable
  72. def partition(p: (Double) ⇒ Boolean): (Iterable[Double], Iterable[Double])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  73. def product[B >: Double](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  74. def reduce[A1 >: Double](op: (A1, A1) ⇒ A1): A1

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  75. def reduceLeft[B >: Double](op: (B, Double) ⇒ B): B

    Permalink
    Definition Classes
    TraversableOnce
  76. def reduceLeftOption[B >: Double](op: (B, Double) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  77. def reduceOption[A1 >: Double](op: (A1, A1) ⇒ A1): Option[A1]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  78. def reduceRight[B >: Double](op: (Double, B) ⇒ B): B

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  79. def reduceRightOption[B >: Double](op: (Double, B) ⇒ B): Option[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  80. def repr: Iterable[Double]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  81. def reversed: List[Double]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    TraversableOnce
  82. def sameElements[B >: Double](that: GenIterable[B]): Boolean

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  83. def scan[B >: Double, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Iterable[Double], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  84. def scanLeft[B, That](z: B)(op: (B, Double) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Double], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  85. def scanRight[B, That](z: B)(op: (Double, B) ⇒ B)(implicit bf: CanBuildFrom[Iterable[Double], B, That]): That

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) The behavior of scanRight has changed. The previous behavior can be reproduced with scanRight.reverse.

  86. def seq: Iterable[Double]

    Permalink
    Definition Classes
    Iterable → GenIterable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
  87. def size: Int

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  88. def slice(from: Int, until: Int): Iterable[Double]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  89. def sliding(size: Int, step: Int): Iterator[Iterable[Double]]

    Permalink
    Definition Classes
    IterableLike
  90. def sliding(size: Int): Iterator[Iterable[Double]]

    Permalink
    Definition Classes
    IterableLike
  91. def span(p: (Double) ⇒ Boolean): (Iterable[Double], Iterable[Double])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  92. def splitAt(n: Int): (Iterable[Double], Iterable[Double])

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  93. def stringPrefix: String

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  94. def sum[B >: Double](implicit num: Numeric[B]): B

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  95. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  96. def tail: Iterable[Double]

    Permalink
    Definition Classes
    TraversableLike → GenTraversableLike
  97. def tails: Iterator[Iterable[Double]]

    Permalink
    Definition Classes
    TraversableLike
  98. def take(n: Int): Iterable[Double]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  99. def takeRight(n: Int): Iterable[Double]

    Permalink
    Definition Classes
    IterableLike
  100. def takeWhile(p: (Double) ⇒ Boolean): Iterable[Double]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableLike
  101. def thisCollection: Iterable[Double]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  102. def to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Double, Col[Double]]): Col[Double]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
  103. def toArray[B >: Double](implicit arg0: ClassTag[B]): Array[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  104. def toBuffer[B >: Double]: Buffer[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  105. def toCollection(repr: Iterable[Double]): Iterable[Double]

    Permalink
    Attributes
    protected[this]
    Definition Classes
    IterableLike → TraversableLike
  106. def toIndexedSeq: IndexedSeq[Double]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  107. def toIterable: Iterable[Double]

    Permalink
    Definition Classes
    IterableLike → TraversableOnce → GenTraversableOnce
  108. def toIterator: Iterator[Double]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  109. def toList: List[Double]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  110. def toMap[T, U](implicit ev: <:<[Double, (T, U)]): Map[T, U]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  111. def toSeq: Seq[Double]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  112. def toSet[B >: Double]: Set[B]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  113. def toStream: Stream[Double]

    Permalink
    Definition Classes
    IterableLike → TraversableLike → GenTraversableOnce
  114. def toString(): String

    Permalink
    Definition Classes
    TraversableLike → Any
  115. def toTraversable: Traversable[Double]

    Permalink
    Definition Classes
    TraversableLike → TraversableOnce → GenTraversableOnce
    Annotations
    @deprecatedOverriding( ... , "2.11.0" )
  116. def toVector: Vector[Double]

    Permalink
    Definition Classes
    TraversableOnce → GenTraversableOnce
  117. def transpose[B](implicit asTraversable: (Double) ⇒ GenTraversableOnce[B]): Iterable[Iterable[B]]

    Permalink
    Definition Classes
    GenericTraversableTemplate
    Annotations
    @migration
    Migration

    (Changed in version 2.9.0) transpose throws an IllegalArgumentException if collections are not uniformly sized.

  118. def unzip[A1, A2](implicit asPair: (Double) ⇒ (A1, A2)): (Iterable[A1], Iterable[A2])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  119. def unzip3[A1, A2, A3](implicit asTriple: (Double) ⇒ (A1, A2, A3)): (Iterable[A1], Iterable[A2], Iterable[A3])

    Permalink
    Definition Classes
    GenericTraversableTemplate
  120. def view(from: Int, until: Int): IterableView[Double, Iterable[Double]]

    Permalink
    Definition Classes
    IterableLike → TraversableLike
  121. def view: IterableView[Double, Iterable[Double]]

    Permalink
    Definition Classes
    IterableLike → TraversableLike
  122. final def wait(arg0: Long, arg1: Int): Unit

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  124. final def wait(): Unit

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  125. def withFilter(p: (Double) ⇒ Boolean): FilterMonadic[Double, Iterable[Double]]

    Permalink
    Definition Classes
    TraversableLike → FilterMonadic
  126. def zip[A1 >: Double, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Iterable[Double], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  127. def zipAll[B, A1 >: Double, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Iterable[Double], (A1, B), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike
  128. def zipWithIndex[A1 >: Double, That](implicit bf: CanBuildFrom[Iterable[Double], (A1, Int), That]): That

    Permalink
    Definition Classes
    IterableLike → GenIterableLike

Deprecated Value Members

  1. def finalize(): Unit

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @Deprecated @deprecated @throws( classOf[java.lang.Throwable] )
    Deprecated

    (Since version ) see corresponding Javadoc for more information.

Inherited from Iterable[Double]

Inherited from IterableLike[Double, Iterable[Double]]

Inherited from Equals

Inherited from GenIterable[Double]

Inherited from GenIterableLike[Double, Iterable[Double]]

Inherited from Traversable[Double]

Inherited from GenTraversable[Double]

Inherited from GenericTraversableTemplate[Double, Iterable]

Inherited from TraversableLike[Double, Iterable[Double]]

Inherited from GenTraversableLike[Double, Iterable[Double]]

Inherited from Parallelizable[Double, ParIterable[Double]]

Inherited from TraversableOnce[Double]

Inherited from GenTraversableOnce[Double]

Inherited from FilterMonadic[Double, Iterable[Double]]

Inherited from HasNewBuilder[Double, Iterable[Double] @scala.annotation.unchecked.uncheckedVariance]

Inherited from Normable

Inherited from AnyRef

Inherited from Any

Ungrouped