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 activity

    The activity package contains classes, traits and objects for activity-oriented simulation models (for example, Petri Nets).

  • package analytics

    The analytics package contains classes, traits and objects for analytics including clustering and prediction.

  • package animation

    The animation package contains classes, traits and objects for 2D animation of simulation objects.

  • package calculus

    The calculus package contains classes with methods for computing derivatives, gradient vectors, Jacobian matrices, integrals and basic operators in Functional Analysis.

  • package dynamics

    The dynamics package contains classes, traits and objects for system dynamics simulations using Ordinary Differential Equations (ODEs).

  • package dynamics_pde

    The dynamics_pde package contains classes, traits and objects for system dynamics simulations using Partial Differential Equations 'PDE's.

  • package event

    The event package contains classes, traits and objects for event oriented simulation models (for example, event scheduling or event graphs).

  • package graphalytics

    The graphalytics package contains classes, traits and objects for graph analytics on Trees, 'DAG's and Directed Graphs.

    The graphalytics package contains classes, traits and objects for graph analytics on Trees, 'DAG's and Directed Graphs. It provides an implicit conversion when needed for converting doubles to vectors.

  • 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 maxima

    The maxima package contains classes, traits and objects for optimization to find maxima.

  • package minima

    The minima package contains classes, traits and objects for optimization to find minima.

  • package model

    The model package contains a trait giving a template for models to follow.

  • package moleculesampleapp
  • package plot

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

  • package process

    The process package contains classes, traits and objects for process-oriented simulation models (for example, process-interaction).

  • package queueingnet

    The queueingnet package contains classes, traits and objects for solving simple queueing network problems.

  • package random

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

  • package relalgebra

    The relalgebra package contains classes, traits and objects for columnar relational algebra, where columns are vectors from the linalgebra package.

  • 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 scala3d

    The scala3d package contains classes, traits and objects for for simple 3D graphics in scala, based upon javafx.

    The scala3d package contains classes, traits and objects for for simple 3D graphics in scala, based upon javafx. Its package object contains type aliases for 'javafx.geometry.Point3D' and all subclasses of 'javafx.scene.shape.Shape3D'.

  • 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 state

    The state package contains classes, traits and objects for state-oriented simulation models (for example, Markov Chains).

  • package tableau

    The tableau package contains classes for tableau oriented simulation models (similar to spreadsheet simulations).

  • package util

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

  • 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 Worker extends Thread

    The Worker class allows tasks to be executed in parallel.

Value Members

  1. val DATA_DIR: String

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

  2. val LOG_DIR: String

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

  3. val MEM_MAPPED_DIR: String

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

  4. 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 '\'.

  5. val SRC_DIR: String

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

  6. val SRC_SCALA_DIR: String
  7. val STORE_DIR: String

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

  8. 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

  9. val : String
  10. 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. > run-main scalation.frame.WorkerTest

  11. object scalationTest extends App

    The scalationTest object is used test the scalation package object.

    The scalationTest object is used test the scalation package object. > run-main scalation.scalationTest

Inherited from AnyRef

Inherited from Any

Ungrouped