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

Type members

Classlikes

implicit class VecToBoolLogic(v: Vec[Boolean])

Attributes

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

Type parameters

T

Type of elements in array

Value parameters

arr

Array

Attributes

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

Type parameters

T

Type of elements in Vec

Value parameters

values

Sequence

Attributes

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

Attributes

Implicits

Implicits

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