Vec

object Vec
Companion:
class
class Object
trait Matchable
class Any
Vec.type

Type members

Classlikes

implicit implicit class VecToBoolLogic(v: Vec[Boolean])

Value members

Concrete methods

def apply[@specialized(Boolean, Int, Long, Double) T](arr: Array[T])(implicit st: ScalarTag[T]): Vec[T]

Factory method to create a Vec from an array of elements

Factory method to create a Vec from an array of elements

Type parameters:
T

Type of elements in array

Value parameters:
arr

Array

def apply[@specialized(Boolean, Int, Long, Double) T : ScalarTag](values: T*): Vec[T]

Factory method to create a Vec from a sequence of elements. For example,

Factory method to create a Vec from a sequence of elements. For example,

 Vec(1,2,3)
 Vec(Seq(1,2,3) : _*)
Type parameters:
T

Type of elements in Vec

Value parameters:
values

Sequence

def empty[T : ScalarTag]: Vec[T]

Creates an empty Vec of type T.

Creates an empty Vec of type T.

Type parameters:
T

Vec type parameter

Implicits

Implicits

final implicit def VecToBoolLogic(v: Vec[Boolean]): VecToBoolLogic