VectorC

scalation.mathstat.VectorC
See theVectorC companion class
object VectorC

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

Attributes

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

Members list

Value members

Concrete methods

def apply(xs: IndexedSeq[Complex]): VectorC

Create a VectorC from an immutable indexed sequence of Complexs.

Create a VectorC from an immutable indexed sequence of Complexs.

Value parameters

xs

the sequence/array of the Complex numbers

Attributes

def apply(xs: IndexedSeq[Complex]): VectorC

Create a VectorC from a mutable indexed sequence of Complexs.

Create a VectorC from a mutable indexed sequence of Complexs.

Value parameters

xs

the sequence/array of the Complex numbers

Attributes

def apply(x: Complex, xs: Complex*): VectorC

Create a VectorC from one or more values (repeated values Complex*).

Create a VectorC from one or more values (repeated values Complex*).

Value parameters

x

the first Complex number

xs

the varargs of Complex numbers

Attributes

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

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

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

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

Create a VectorC 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 fromDoubles(xs: IndexedSeq[Double]): VectorC

Create a VectorC from a mutable indexed sequence of Double.

Create a VectorC from a mutable indexed sequence of Double.

Value parameters

xs

the sequence/array of the Double numbers

Attributes

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

Create a VectorC from a mutable indexed sequence of String.

Create a VectorC from a mutable indexed sequence of String.

Value parameters

xs

the sequence/array of the String numbers

Attributes

def one(n: Int): VectorC

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): VectorC

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): VectorC

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

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

Value parameters

r

the range of values

Attributes

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

Concrete fields

val nullv: VectorC

A null vector of type VectorC.

A null vector of type VectorC.

Attributes