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.

  • package math

    The math package contains classes, traits and objects for common mathematical operations.

    The math package contains classes, traits and objects for common mathematical operations. Its package object defines exponentiation, logarithmic, trigonometric, etc. operators and functions.

  • package par

    The par package contains classes, traits and objects for parallel processing techniques such as Map-Reduce.

  • package plot

    The plot package contains classes, traits and objects for simple plotting of x-y data.

  • package random

    The random package contains classes, traits and objects for the generation of random numbers.

  • package scala2d

    The scala2d package contains classes, traits and objects for for simple 2D graphics in scala, based upon java.swing, java.awt and java_awt_geom.

  • package stat

    The stat package contains classes, traits and objects for basic statistical functions and analyses.

    The stat package contains classes, traits and objects for basic statistical functions and analyses. The package object itself defines an implicit conversion from scalation.linalgebra.VectorD to StatVector.

  • package tenalgebra
  • package util

    The util package contains classes, traits and objects for basic utility functions.

  • GenIndexHtml
  • GenReadmeHtml
  • NormSqRleTask
  • RecTaskTest
  • Replace
  • ReplaceAll
  • ReplaceFile
  • ReplaceOne
  • SumRleTask
  • SumTask
  • UpVersion
  • UpVersionAll
  • UpVersionFile
  • Worker
  • WorkerTest
  • scalationTest
p

scalation

package scalation

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.

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

Type Members

  1. class NormSqRleTask extends RecursiveTask[Double]

    The NormSqRleTask computes the Euclidean norm (2-norm) in parallel via Recursive Tasks (i.e., for RleVectorD)

  2. class SumRleTask extends RecursiveTask[Double]

    The SumRleTask computes the sum in parallel via Recursive Tasks (i.e., for RleVectorD)

  3. class SumTask extends RecursiveTask[Double]

    The SumTask computes the sum in parallel via Recursive Tasks (i.e., for VectorD).

  4. class Worker extends Thread

    The Worker class allows tasks to be executed in parallel.

Value Members

  1. val BASE: String

    Base directory for ScalaTion (pick one, comment out the rest) Under module differentiated, each module (scalation_mathstat, scalation_modeling and scalation_models) will have its own base directory, rather than sharing a common base directory.

  2. val DATA_DIR: String

    File system path for input/output data directory Use 'SCALATION_HOME' environment variable or else BASE directory "."

  3. val LOG_DIR: String

    File system path for log (log/file output) directory Use 'SCALATION_HOME' environment variable or else BASE directory "."

  4. val MEM_MAPPED_DIR: String

    File system path for memory mapped files directory Use 'SCALATION_HOME' environment variable or else BASE directory "."

  5. val SEP: String

    The file path separation character: '/' for Linux/Mac, '\' for Windows Use either 'SEP' or '⁄' for portability, i.e., do not use '/' or '\'.

  6. val SRC_DIR: String

    File system path for src (source code) directory Use 'SCALATION_HOME' environment variable or else BASE directory "."

  7. val SRC_SCALA_DIR: String
  8. val STORE_DIR: String

    File system path for database storage directory Use 'SCALATION_HOME' environment variable or else BASE directory "."

  9. def removeLast(s: String): String

    Remove the last path element from the file/directory pathname.

    Remove the last path element from the file/directory pathname.

    s

    the string to be so truncated

  10. def setParallelism[A](n: Int)(block: ⇒ A): A

    Set the default parallelism level (number of threads to use) for an arbitrary block of code: 'parallel (n) { block }' when running parallel tasks.

    Set the default parallelism level (number of threads to use) for an arbitrary block of code: 'parallel (n) { block }' when running parallel tasks. Then restore the old parallelism level.

    n

    number of threads

    See also

    -for-scala-2-10-parallel-collections/18574345

    stackoverflow.com/questions/17865823/how-do-i-set-the-default-number-of-threads

  11. val : String
  12. object GenIndexHtml extends App

    The GenIndexHtml object is used to create "index.html" files in source code directories (main and test) to enable Web browsing of source code.

    The GenIndexHtml object is used to create "index.html" files in source code directories (main and test) to enable Web browsing of source code. > runMain scalation.GenIndexHtml

  13. object GenReadmeHtml extends App

    The GenReadmeHtml object is used to create the html tables for the api and src directories for convenient Web browsing.

    The GenReadmeHtml object is used to create the html tables for the api and src directories for convenient Web browsing. > runMain scalation.GenReadmeHtml

  14. object RecTaskTest extends App

    The RecTaskTest object tests the operations provided in RecTask.

    The RecTaskTest object tests the operations provided in RecTask. > run-main scalation.RecTaskTest

  15. object Replace

    The Replace object is used to replace a repeated pattern in the source code.

    The Replace object is used to replace a repeated pattern in the source code. After running, must restore 'pat1' in this file, since it will get updated.

  16. object ReplaceAll extends App

    The ReplaceAll object updates the pattern in all source (.scala) files at or below the 'currentDir'.

    The ReplaceAll object updates the pattern in all source (.scala) files at or below the 'currentDir'. > runMain scalation.ReplaceAll

  17. object ReplaceFile extends App

    The ReplaceFile object updates the pattern in a single source (.scala) file.

    The ReplaceFile object updates the pattern in a single source (.scala) file. > runMain scalation.ReplaceFile

  18. object ReplaceOne extends App

    The ReplaceOne object is used to replace pattern pat1 with pat2.

    The ReplaceOne object is used to replace pattern pat1 with pat2. It reads from standard input and writes to standard output.

  19. object UpVersion

    The UpVersion object is used to update the version number in the source code.

    The UpVersion object is used to update the version number in the source code. After running, must restore 'pat1' in this file, since it will get updated.

  20. object UpVersionAll extends App

    The 'UpVersionAll' object updates the version number of all source (.scala) files at or below the 'currentDir' (see 'UpVersion').

    The 'UpVersionAll' object updates the version number of all source (.scala) files at or below the 'currentDir' (see 'UpVersion'). > runMain scalation.UpVersionAll

  21. object UpVersionFile extends App

    The 'UpVersionFile' object updates the version number of a single source (.scala) file.

    The 'UpVersionFile' object updates the version number of a single source (.scala) file. > runMain scalation.UpVersionFile

  22. object WorkerTest extends App

    The WorkerTest object tests the Worker class vs.

    The WorkerTest object tests the Worker class vs. Scala's built-in '.par' on the matrix multiplication problem. > runMain scalation.frame.WorkerTest

  23. object scalationTest extends App

    The scalationTest object is used test the scalation package object.

    The scalationTest object is used test the scalation package object. > runMain scalation.scalationTest

Inherited from AnyRef

Inherited from Any

Ungrouped