breeze.linalg

VectorConstructors

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

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

Vec

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. VectorConstructors
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Abstract Value Members

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

    Creates a vector with the specified elements

    Creates a vector with the specified elements

    V
    values
    returns

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

    Creates a Vector of size size.

    Creates a Vector of size size.

    V
    size
    returns

Concrete Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. final def ##(): Int

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

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

    Definition Classes
    Any
  6. def apply[V](values: V*)(implicit arg0: ClassTag[V]): Vec[V]

    Creates a vector with the specified elements

    Creates a vector with the specified elements

    V
    values
    returns

  7. final def asInstanceOf[T0]: T0

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

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

  10. def clone(): AnyRef

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

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

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

    Analogous to Array.

    Analogous to Array.fill

    V
    size
    v
    returns

  14. def finalize(): Unit

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

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

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

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

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

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

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

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

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

    size
    rand
    returns

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

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

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

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

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

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

    Analogous to Array.

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

    V
    f
    returns

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

    Analogous to Array.

    Analogous to Array.tabulate

    V
    size
    f
    returns

  29. def toString(): String

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

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped