Packages

  • package root
    Definition Classes
    root
  • package scalation

    The scalation package specifies system-wide constants for directory paths.

    The scalation package specifies system-wide constants for directory paths. Sub-packages may wish to define 'BASE-DIR = DATA_DIR + ⁄ + <package>' in their own 'package.scala' files. For maintainability, directory paths should only be specified in 'package.scala' files.

    Definition Classes
    root
  • package linalgebra

    The linalgebra package contains classes, traits and objects for linear algebra, including vectors and matrices for real and complex numbers.

    The linalgebra package contains classes, traits and objects for linear algebra, including vectors and matrices for real and complex numbers.

    Definition Classes
    scalation
  • package par

    The par package contains classes, traits and objects for parallel linear algebra, including vectors and matrices for real and complex numbers.

    The par package contains classes, traits and objects for parallel linear algebra, including vectors and matrices for real and complex numbers.

    Definition Classes
    linalgebra
  • Fac_Cholesky
  • Fac_CholeskyTest
  • Fac_QR
  • Fac_QRTest
  • MatrixD
  • MatrixDTest
  • SparseMatrixD
  • SparseMatrixDTest
  • VectorD
  • VectorDTest

object VectorD extends Serializable

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

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

Type Members

  1. class VecThread extends Thread

    The VecThread inner class allows tasks to be run in parallel.

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def ++(b: Double, u: VectorD): VectorD

    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

  4. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  5. def apply(xs: Array[String], skip: Int): VectorD

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

    Create a VectorD 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)

  6. def apply(xs: Array[String]): VectorD

    Create a VectorD from an array of Strings.

    Create a VectorD from an array of Strings.

    xs

    the array of the Strings

  7. def apply(x: String, xs: String*): VectorD

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

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

    x

    the first String

    xs

    the rest of the Strings

  8. def apply(xs: Seq[Double]): VectorD

    Create a VectorD from a sequence of Doubles.

    Create a VectorD from a sequence of Doubles.

    xs

    the sequence of the Double numbers

  9. def apply(x: Double, xs: Double*): VectorD

    Create a VectorD from one or more values (repeated values Double*).

    Create a VectorD from one or more values (repeated values Double*).

    x

    the first Double number

    xs

    the rest of the Double numbers

  10. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  11. def await(): Unit

    Await the completion of all VecThreads.

  12. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @HotSpotIntrinsicCandidate()
  13. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  14. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  15. def fill(n: Int)(x: Double): VectorD

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

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

    n

    the number of elements

    x

    the value to assign to all elements

  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  17. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  18. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  19. def makeThreads(): Array[VecThread]

    Make several VecThreads to run tasks in parallel.

  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @HotSpotIntrinsicCandidate()
  23. def one(size: Int): VectorD

    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 vector

  24. def range(start: Int, end: Int): VectorD

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

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

  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  28. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native()
  29. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated

Inherited from Serializable

Inherited from Serializable

Inherited from AnyRef

Inherited from Any

Ungrouped