Vec

org.saddle.Vec$
See theVec companion trait
object Vec

Attributes

Companion:
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Vec.type

Members list

Concise view

Type members

Classlikes

implicit class VecToBoolLogic(v: Vec[Boolean])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def apply[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

Attributes

T

Type of elements in array

arr

Array

def apply[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) : _*)

Attributes

T

Type of elements in Vec

values

Sequence

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

Creates an empty Vec of type T.

Creates an empty Vec of type T.

Attributes

T

Vec type parameter

Implicits

Implicits

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