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 bld

    The bld package contains traits and objects for generating source code for vector classes, matrix traits and matrix classes.

    The bld package contains traits and objects for generating source code for vector classes, matrix traits and matrix classes.

    Definition Classes
    linalgebra
  • package dist
    Definition Classes
    linalgebra
  • package gen

    The gen package contains generic classes, traits and objects for linear algebra, including vectors and matrices for types implementing Numeric.

    The gen package contains generic classes, traits and objects for linear algebra, including vectors and matrices for types implementing Numeric. Tend to run more slowly than the specialized versions in linalgebra.

    Definition Classes
    linalgebra
  • HMatrix2
  • HMatrix2Test
  • HMatrix2Test2
  • HMatrix2Test3
  • HMatrix3
  • HMatrix3Test
  • HMatrix3Test2
  • HMatrix3Test3
  • HMatrix4
  • HMatrix4Test
  • HMatrix4Test2
  • HMatrix5
  • HMatrix5Test
  • HMatrix5Test2
  • Matrices
  • Matrix
  • MatrixN
  • MatrixNTest
  • SparseMatrices
  • SparseMatrixN
  • SparseMatrixNTest
  • SymTriMatrices
  • SymTriMatrixN
  • SymTriMatrixNTest
  • VectorN
  • VectorNTest
  • Vectors
  • package mem_mapped

    The mem_mapped package contains classes, traits and objects for out-of-core linear algebra, including vectors and matrices for real and complex numbers.

    The mem_mapped package contains classes, traits and objects for out-of-core linear algebra, including vectors and matrices for real and complex numbers.

    Definition Classes
    linalgebra
  • 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

package gen

The gen package contains generic classes, traits and objects for linear algebra, including vectors and matrices for types implementing Numeric. Tend to run more slowly than the specialized versions in linalgebra.

Linear Supertypes
AnyRef, Any
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. gen
  2. AnyRef
  3. Any
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Type Members

  1. class HMatrix2[T] extends Error

    The HMatrix2 class is a simple implementation of a 2-dimensional hypermatrix.

    The HMatrix2 class is a simple implementation of a 2-dimensional hypermatrix. The first dimension must be fixed and known, while the second dimension may be dynamically allocated by the user. The second dimension may vary with the first dimension. Caveat: currently this is a very limited implementation of hypermatrices. -----------------------------------------------------------------------------

  2. class HMatrix3[T] extends Error

    The HMatrix3 class is a simple implementation of a 3-dimensional hypermatrix.

    The HMatrix3 class is a simple implementation of a 3-dimensional hypermatrix. The first two dimensions must be fixed and known, while the third dimension may be dynamically allocated by the user. The third dimension should only vary with the second dimension, not the first. Caveat: currently this is a very limited implementation of hypermatrices. -----------------------------------------------------------------------------

  3. class HMatrix4[T] extends Error

    The HMatrix4 class is a simple implementation of a 4-dimensional hypermatrix.

    The HMatrix4 class is a simple implementation of a 4-dimensional hypermatrix. The first two dimensions must be fixed and known, while the third and fourth dimension may be dynamically allocated by the user.

  4. class HMatrix5[T] extends Error

    The HMatrix5 class is a simple implementation of a 5-dimensional hypermatrix.

    The HMatrix5 class is a simple implementation of a 5-dimensional hypermatrix. The first two dimensions must be fixed and known, while the third, fourth and fifth dimensions may be dynamically allocated by the user. ----------------------------------------------------------------------------- For Bayes classifier the convention is as follows: dimension 1: possible values for class c (e.g., k = 2 => 0, 1 ) dimension 2: indicator for first feature x_j (e.g., n = 3 => x_0, x_1, x_3) dimension 3: possible values for x_j OR indicator for second feature y_j dimension 4: possible values for x_j's 1st parent OR possible values for x_j dimension 5: possible values for x_j's 2st parent OR possible values for y_j -----------------------------------------------------------------------------

  5. trait Matrix[T] extends Error

    The Matrix trait specifies the operations to be defined by three concrete implementing classes: MatrixN, SparseMatrixN and SymTriMatrix.

  6. class MatrixN[T] extends Matrix[T] with Error with Serializable

    The MatrixN class stores and operates on Numeric Matrices of various sizes and types.

    The MatrixN class stores and operates on Numeric Matrices of various sizes and types. The element type may be any subtype of Numeric.

  7. class SparseMatrixN[T] extends Matrix[T] with Error with Serializable

    The SparseMatrixN class stores and operates on Numeric Matrices of various sizes and types.

    The SparseMatrixN class stores and operates on Numeric Matrices of various sizes and types. The element type may be any subtype of Numeric. Rather than storing the matrix as a 2 dimensional array, it is stored as an array of list-maps, which record all the non-zero values for each particular row, along with their j-index.

  8. class SymTriMatrixN[T] extends Matrix[T] with Error with Serializable

    The SymTriMatrixN class stores and operates on symmetric tridiagonal matrices.

    The SymTriMatrixN class stores and operates on symmetric tridiagonal matrices. The elements are of type of T. A matrix is stored as two vectors: the diagonal vector and the sub-diagonal vector.

  9. class VectorN[T] extends Traversable[T] with PartiallyOrdered[VectorN[T]] with Error with Serializable

    The VectorN class stores and operates on Numeric Vectors of various sizes and types.

    The VectorN class stores and operates on Numeric Vectors of various sizes and types. The element type may be any subtype of Numeric. Some methods only work for Fractional types. When/if Scala adds 'sqrt' and 'pow' to Fractional types the following methods will be implemented: ~, ~=, 'normalizeU'.

Value Members

  1. object HMatrix2Test extends App

    The HMatrix2Test object is used to test the HMatrix2 class, in cases where the 2nd dimension is fixed (i.e., for rectangular 2-dimensional hypermatrices).

    The HMatrix2Test object is used to test the HMatrix2 class, in cases where the 2nd dimension is fixed (i.e., for rectangular 2-dimensional hypermatrices). > runMain scalation.linalgebra.gen.HMatrix2Test

  2. object HMatrix2Test2 extends App

    The HMatrix2Test2 object is used to test the HMatrix2 class, in cases where the 2nd dimension is varied based on the index of the first dimension 'i' > runMain scalation.linalgebra.gen.HMatrix2Test2

  3. object HMatrix2Test3 extends App

    The HMatrix2Test3 object is used to test the HMatrix2 class, in cases where the 2nd dimension is fixed (i.e., for rectangular 2-dimensional hypermatrices).

    The HMatrix2Test3 object is used to test the HMatrix2 class, in cases where the 2nd dimension is fixed (i.e., for rectangular 2-dimensional hypermatrices). Same as HMatrix2Test, but using Double rather than Int. > runMain scalation.linalgebra.gen.HMatrix2Test3

  4. object HMatrix3Test extends App

    The HMatrix3Test object is used to test the HMatrix3 class, in cases where the 3rd dimension is fixed (i.e., for cuboidic 3-dimensional hypermatrices).

    The HMatrix3Test object is used to test the HMatrix3 class, in cases where the 3rd dimension is fixed (i.e., for cuboidic 3-dimensional hypermatrices). > runMain scalation.linalgebra.gen.HMatrix3Test

  5. object HMatrix3Test2 extends App

    The HMatrix3Test2 object is used to test the HMatrix3 class, in cases where the 3rd dimension is varied based on the index of the second dimension 'j' > runMain scalation.linalgebra.gen.HMatrix3Test2

  6. object HMatrix3Test3 extends App

    The HMatrix3Test3 object is used to test the HMatrix3 class, in cases where the 3rd dimension is fixed (i.e., for cuboidic 3-dimensional hypermatrices).

    The HMatrix3Test3 object is used to test the HMatrix3 class, in cases where the 3rd dimension is fixed (i.e., for cuboidic 3-dimensional hypermatrices). Same as HMatrix3Test, but using Double rather than Int. > runMain scalation.linalgebra.gen.HMatrix3Test3

  7. object HMatrix4Test extends App

    The HMatrix4Test object is used to test the HMatrix4 class.

    The HMatrix4Test object is used to test the HMatrix4 class. > runMain scalation.linalgebra.gen.HMatrix4Test

  8. object HMatrix4Test2 extends App

    The HMatrix4Test2 object is used to test the HMatrix4 class.

    The HMatrix4Test2 object is used to test the HMatrix4 class. > runMain scalation.linalgebra.gen.HMatrix4Test2

  9. object HMatrix5Test extends App

    The HMatrix5Test object is used to test the HMatrix5 class.

    The HMatrix5Test object is used to test the HMatrix5 class. > runMain scalation.linalgebra.gen.HMatrix5Test

  10. object HMatrix5Test2 extends App

    The HMatrix5Test2 object is used to test the HMatrix5 class.

    The HMatrix5Test2 object is used to test the HMatrix5 class. > runMain scalation.linalgebra.gen.HMatrix5Test2

  11. object Matrices

    The Matrices object provides convenience definitions for commonly used types of matrices.

    The Matrices object provides convenience definitions for commonly used types of matrices. For efficiency, non-generic versions of MatrixD, MatrixC and MatrixR are provided in the linalgebra package.

  12. object MatrixN extends Serializable

    The MatrixN companion object provides operations for the MatrixN class that don't require 'this' (like static methods in Java).

  13. object MatrixNTest extends App

    The MatrixNTest object tests the operations provided by MatrixN class.

  14. object SparseMatrices

    The SparseMatrices object contains convenience definitions for commonly used types of sparse matrices.

  15. object SparseMatrixNTest extends App

    The SparseMatrixNTest object is used to test the SparseMatrixN class.

  16. object SymTriMatrices

    The SymTriMatrices object contains convenience definitions for commonly used types of symmetric tridiagonal matrices.

  17. object SymTriMatrixNTest extends App

    The SymTriMatrixNTest object is used to test the SymTriMatrixN class.

    The SymTriMatrixNTest object is used to test the SymTriMatrixN class. > runMain scalation.linalgebra.gen.SymTriMatrixNTest

  18. object VectorN extends Error with Serializable

    The VectorN object is the companion object for VectorN class.

  19. object VectorNTest extends App

    The VectorNTest object tests the operations provided by VectorN class.

  20. object Vectors

    The Vectors object contains convenience definitions for commonly used types of vectors.

    The Vectors object contains convenience definitions for commonly used types of vectors. For efficiency, non-generic versions of VectorD, VectorC and VectorR are provided in the linalgebra package.

Inherited from AnyRef

Inherited from Any

Ungrouped