VectorL

scalation.mathstat.VectorL
See theVectorL companion class
object VectorL

The VectorL object is the companion object for the VectorL class.

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
VectorL.type

Members list

Value members

Concrete methods

def apply(xs: IndexedSeq[Long]): VectorL

Create a VectorL from an immutable indexed sequence of Longs.

Create a VectorL from an immutable indexed sequence of Longs.

Value parameters

xs

the sequence/array of the Long numbers

Attributes

def apply(xs: IndexedSeq[Long]): VectorL

Create a VectorL from a mutable indexed sequence of Longs.

Create a VectorL from a mutable indexed sequence of Longs.

Value parameters

xs

the sequence/array of the Long numbers

Attributes

def apply(x: Long, xs: Long*): VectorL

Create a VectorL from one or more values (repeated values Long*).

Create a VectorL from one or more values (repeated values Long*).

Value parameters

x

the first Long number

xs

the varargs of Long numbers

Attributes

def apply(x: String, xs: String*): VectorL

Create a VectorL from one or more values (repeated values String*). For numeric types, assign missing value indicator upon format failure.

Create a VectorL from one or more values (repeated values String*). For numeric types, assign missing value indicator upon format failure.

Value parameters

x

the first string

xs

the varargs of strings

Attributes

def fill(n: Int)(x: Long): VectorL

Create a VectorL with n elements and fill it with the value x.

Create a VectorL with n elements and fill it with the value x.

Value parameters

n

the number of elements

x

the value to assign to all elements

Attributes

def fromStrings(xs: IndexedSeq[String]): VectorL

Create a VectorL from a mutable indexed sequence of String. FIX - for numeric types, assign missing value indicator upon format failure.

Create a VectorL from a mutable indexed sequence of String. FIX - for numeric types, assign missing value indicator upon format failure.

Value parameters

xs

the sequence/array of the String numbers

Attributes

def one(n: Int): VectorL

Create a one vector (all elements are one) of length n.

Create a one vector (all elements are one) of length n.

Value parameters

size

the size of the new vector

Attributes

def oneAt(j: Int, size: Int): VectorL

Create a vector of the form (0, ... 1, ... 0) where the 1 is at position j.

Create a vector of the form (0, ... 1, ... 0) where the 1 is at position j.

Value parameters

j

the position to place the 1

size

the size of the vector (upper bound = size - 1)

Attributes

def range(r: Range): VectorL

Return a VectorL consisting of a sequence of integers in a range.

Return a VectorL consisting of a sequence of integers in a range.

Value parameters

r

the range of values

Attributes

def range(i1: Int, i2: Int): VectorL

Concrete fields

val nullv: VectorL

Create a null vector of type VectorL.

Create a null vector of type VectorL.

Attributes