trait
VectorConstructors[Vec[T] <: Vector[T]] extends AnyRef
Abstract Value Members
-
abstract
def
apply[V](values: Array[V]): Vec[V]
-
abstract
def
zeros[V](size: Int)(implicit arg0: ClassTag[V], arg1: Zero[V]): Vec[V]
Concrete Value Members
-
final
def
!=(arg0: Any): Boolean
-
final
def
##(): Int
-
final
def
==(arg0: Any): Boolean
-
def
apply[V](values: V*)(implicit arg0: ClassTag[V]): Vec[V]
-
final
def
asInstanceOf[T0]: T0
-
implicit
def
canCreateZeros[V](implicit arg0: ClassTag[V], arg1: Zero[V]): CanCreateZeros[Vec[V], Int]
-
implicit
def
canTabulate[V](implicit arg0: ClassTag[V], arg1: Zero[V]): CanTabulate[Int, Vec[V], V]
-
def
clone(): AnyRef
-
-
-
def
fill[V](size: Int)(v: ⇒ V)(implicit arg0: ClassTag[V]): Vec[V]
-
def
finalize(): Unit
-
final
def
getClass(): Class[_]
-
def
hashCode(): Int
-
final
def
isInstanceOf[T0]: Boolean
-
-
final
def
notify(): Unit
-
final
def
notifyAll(): Unit
-
def
rand[T](size: Int, rand: Rand[T] = Rand.uniform)(implicit arg0: ClassTag[T]): Vec[T]
-
def
range(start: Int, end: Int, step: Int): Vec[Int]
-
def
range(start: Int, end: Int): Vec[Int]
-
-
def
rangeF(start: Float, end: Float, step: Float = 1.0f): Vec[Float]
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
-
def
tabulate[V](range: Range)(f: (Int) ⇒ V)(implicit arg0: ClassTag[V]): Vec[V]
-
def
tabulate[V](size: Int)(f: (Int) ⇒ V)(implicit arg0: ClassTag[V]): Vec[V]
-
def
toString(): String
-
final
def
wait(): Unit
-
final
def
wait(arg0: Long, arg1: Int): Unit
-
final
def
wait(arg0: Long): Unit
Trait that can mixed to companion objects to enable utility methods for creating vectors.