Packages

object VectorS extends Serializable

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

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

Value Members

  1. def ++(b: StrNum, u: VectorS): VectorS

    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: StrNum, u: VectoS): VectorS

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

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

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

    Create a VectorS from an array of Strings.

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

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

    Create a VectorS 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[StrNum]): VectorS

    Create a VectorS from a sequence/array of StrNums.

    Create a VectorS from a sequence/array of StrNums.

    xs

    the sequence/array of the StrNum numbers

  7. def apply(x: StrNum, xs: StrNum*): VectorS

    Create a VectorS from one or more values (repeated values StrNum*).

    Create a VectorS from one or more values (repeated values StrNum*).

    x

    the first StrNum number

    xs

    the rest of the StrNum numbers

  8. def fill(n: Int)(x: StrNum): VectorS

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

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

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

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

    Return a VectorS 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)