VectorI

scalation.mathstat.VectorI
See theVectorI companion class
object VectorI

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

Attributes

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

Members list

Value members

Concrete methods

def apply(xs: IndexedSeq[Int]): VectorI

Create a VectorI from an immutable indexed sequence of Ints.

Create a VectorI from an immutable indexed sequence of Ints.

Value parameters

xs

the sequence/array of the Int numbers

Attributes

def apply(xs: IndexedSeq[Int]): VectorI

Create a VectorI from a mutable indexed sequence of Ints.

Create a VectorI from a mutable indexed sequence of Ints.

Value parameters

xs

the sequence/array of the Int numbers

Attributes

def apply(x: Int, xs: Int*): VectorI

Create a VectorI from one or more values (repeated values Int*).

Create a VectorI from one or more values (repeated values Int*).

Value parameters

x

the first Int number

xs

the varargs of Int numbers

Attributes

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

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

Create a VectorI 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: Int): VectorI

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

Create a VectorI 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]): VectorI

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

Create a VectorI 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): VectorI

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 range(r: Range): VectorI

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

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

Value parameters

r

the range of values

Attributes

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

Concrete fields

val nullv: VectorI

A null vector of type VectorI.

A null vector of type VectorI.

Attributes