Packages

object VectorT extends Serializable

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

Linear Supertypes
Serializable, Serializable, AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. VectorT
  2. Serializable
  3. Serializable
  4. AnyRef
  5. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Value Members

  1. def ++(b: TimeNum, u: VectorT): VectorT

    Concatenate scalar 'b' and vector 'u'.

    Concatenate scalar 'b' and vector 'u'.

    b

    the scalar to be concatenated - first part

    u

    the vector to be concatenated - second part (same kind, more efficient)

  2. def ++(b: TimeNum, u: VectoT): VectorT

    Concatenate scalar 'b' and vector 'u'.

    Concatenate scalar 'b' and vector 'u'.

    b

    the scalar to be concatenated - first part

    u

    the vector to be concatenated - second part (any kind)

  3. def apply(xs: Array[String], skip: Int): VectorT

    Create a VectorT from an array of Strings, skipping the first 'skip' elements.

    Create a VectorT from an array of Strings, skipping the first 'skip' elements. If an element is non-numeric, use its hashcode. FIX: Might be better to map non-numeric Strings to ordinal values.

    xs

    the array of the Strings

    skip

    the number of elements at the beginning to skip (e.g., id column)

  4. def apply(xs: Array[String]): VectorT

    Create a VectorT from an array of Strings.

    Create a VectorT from an array of Strings. For numeric types, assign missing value indicator upon format failure.

    xs

    the array of the Strings

  5. def apply(x: String, xs: String*): VectorT

    Create a VectorT from one or more values (repeated values String*).

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

    x

    the first String

    xs

    the rest of the Strings

  6. def apply(xs: Seq[TimeNum]): VectorT

    Create a VectorT from a sequence/array of TimeNums.

    Create a VectorT from a sequence/array of TimeNums.

    xs

    the sequence/array of the TimeNum numbers

  7. def apply(x: TimeNum, xs: TimeNum*): VectorT

    Create a VectorT from one or more values (repeated values TimeNum*).

    Create a VectorT from one or more values (repeated values TimeNum*).

    x

    the first TimeNum number

    xs

    the rest of the TimeNum numbers

  8. def fill(n: Int)(x: TimeNum): VectorT

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

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

    n

    the number of elements

    x

    the value to assign to all elements

  9. def one(size: Int): VectorT

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

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

    size

    the size of the new vector

  10. def range(start: Int, end: Int): VectorT

    Return a VectorT containing a sequence of increasing integers in a range.

    Return a VectorT containing a sequence of increasing integers in a range.

    start

    the start value of the vector, inclusive

    end

    the end value of the vector, exclusive (i.e., the first value not returned)