CoreContext

com.phasmidsoftware.number.core.inner.CoreContext
See theCoreContext companion trait
object CoreContext

Companion object for the Context class.

Provides predefined contexts for evaluating and qualifying factors or fields under specific mathematical or functional conditions. This includes contexts for scalars, logarithms, and roots, along with utility functions for determining qualification.

Attributes

Companion
trait
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Value members

Concrete fields

A combined Context that represents any type of logarithmic base.

A combined Context that represents any type of logarithmic base.

This context is composed of three restricted contexts:

  • Natural Logarithm (NatLog)
  • Base 2 Logarithm (Log2)
  • Base 10 Logarithm (Log10)

A value qualifies for this context if it qualifies for any of the three individual restricted logarithmic contexts.

Attributes

A Context that qualifies factors as either square roots (SquareRoot) or cube roots (CubeRoot). Combines the qualification conditions of SquareRoot and CubeRoot contexts using logical OR.

A Context that qualifies factors as either square roots (SquareRoot) or cube roots (CubeRoot). Combines the qualification conditions of SquareRoot and CubeRoot contexts using logical OR.

Attributes

Represents a context that supports either purely numerical scalars (PureNumber) or angular units represented in radians (Radian).

Represents a context that supports either purely numerical scalars (PureNumber) or angular units represented in radians (Radian).

This combined context allows for operations or evaluations that are valid for both pure numerical values and values with radian factors.

Defined by combining RestrictedContext(PureNumber) and RestrictedContext(Radian) using the or method, which permits qualification within either of these contexts.

Attributes