Trait

breeze.linalg

VectorConstructors

Related Doc: package linalg

Permalink

trait VectorConstructors[Vec[T] <: Vector[T]] extends AnyRef

Trait that can mixed to companion objects to enable utility methods for creating vectors.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VectorConstructors
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Abstract Value Members

  1. abstract def apply[V](values: Array[V]): Vec[V]

    Permalink

    Creates a vector with the specified elements

  2. abstract def zeros[V](size: Int)(implicit arg0: ClassTag[V], arg1: Zero[V]): Vec[V]

    Permalink

    Creates a Vector of size size.

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[V](values: V*)(implicit arg0: ClassTag[V]): Vec[V]

    Permalink

    Creates a vector with the specified elements

  5. final def asInstanceOf[T0]: T0

    Permalink
    Definition Classes
    Any
  6. implicit def canCreateZeros[V](implicit arg0: ClassTag[V], arg1: Zero[V]): CanCreateZeros[Vec[V], Int]

    Permalink
  7. implicit def canTabulate[V](implicit arg0: ClassTag[V], arg1: Zero[V]): CanTabulate[Int, Vec[V], V]

    Permalink
  8. def clone(): AnyRef

    Permalink
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  9. final def eq(arg0: AnyRef): Boolean

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

    Permalink
    Definition Classes
    AnyRef → Any
  11. def fill[V](size: Int)(v: ⇒ V)(implicit arg0: ClassTag[V]): Vec[V]

    Permalink

    Analogous to Array.fill

  12. def finalize(): Unit

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

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

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

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

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

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

    Permalink
    Definition Classes
    AnyRef
  19. def rand[T](size: Int, rand: Rand[T] = Rand.uniform)(implicit arg0: ClassTag[T]): Vec[T]

    Permalink

    Creates a Vector of uniform random numbers in (0,1)

  20. def range(start: Int, end: Int, step: Int): Vec[Int]

    Permalink
  21. def range(start: Int, end: Int): Vec[Int]

    Permalink
  22. def rangeD(start: Double, end: Double, step: Double = 1.0): Vec[Double]

    Permalink
  23. def rangeF(start: Float, end: Float, step: Float = 1.0f): Vec[Float]

    Permalink
  24. final def synchronized[T0](arg0: ⇒ T0): T0

    Permalink
    Definition Classes
    AnyRef
  25. def tabulate[V](range: Range)(f: (Int) ⇒ V)(implicit arg0: ClassTag[V]): Vec[V]

    Permalink

    Analogous to Array.tabulate, but taking a scala.Range to iterate over, instead of an index.

  26. def tabulate[V](size: Int)(f: (Int) ⇒ V)(implicit arg0: ClassTag[V]): Vec[V]

    Permalink

    Analogous to Array.tabulate

  27. def toString(): String

    Permalink
    Definition Classes
    AnyRef → Any
  28. final def wait(): Unit

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

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

    Permalink
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped