Packages

  • package root
    Definition Classes
    root
  • package apps
    Definition Classes
    root
  • package dynamics

    The dynamics package contains example applications for continuous simulation models based on Ordinary Differential Equations 'ODE's or Partial Differential Equations 'PDE's.

    The dynamics package contains example applications for continuous simulation models based on Ordinary Differential Equations 'ODE's or Partial Differential Equations 'PDE's.

    Definition Classes
    apps
  • EconomicModel
  • EconomicModelTest
  • Newtons2nd
  • Pathway
  • Pathway2
c

apps.dynamics

EconomicModel

class EconomicModel extends AnyRef

The EconomicModel class provides a simple model of can economy.

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

Instance Constructors

  1. new EconomicModel(n: Int, l0: Int, k0: Int, f: (Int) ⇒ Int, g: (Int) ⇒ Int)

    n

    the ???

    l0

    the labor capacity at time 't0'

    k0

    the capital capacity at time 't0'

    f

    the production function

    g

    the growth function

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  4. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  5. def cO(t: Int): Int

    Estimate the consumption amount when the person is old.

    Estimate the consumption amount when the person is old. Bequests are ignored, so this equals his/her consumption in the next period when old by. Thus, the intertemporal budget constraint is relates cO to cY.

    t

    the current time

  6. def cY(t: Int): Int

    Estimate the personal consumption amount when young (wages - savings).

    Estimate the personal consumption amount when young (wages - savings).

    t

    the current time

  7. def clone(): AnyRef
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  8. def df(x: Int): Int

    Compute the derivative/difference of the production function 'f'.

    Compute the derivative/difference of the production function 'f'.

    x

    the current value

  9. def e(t: Int): Int

    Estimate the total earned return when the person is old.

    Estimate the total earned return when the person is old.

    t

    the current time

  10. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  11. def equals(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  12. def finalize(): Unit
    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  13. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  14. def h(rt: Int): Int

    Estimate the savings function based on wages and interest rate.

    Estimate the savings function based on wages and interest rate.

    rt

    the interest rate at time t+1

  15. def hashCode(): Int
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  16. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  17. def k(t: Int): Int

    Estimate the amount of productive capital at time 't'.

    Estimate the amount of productive capital at time 't'. Initially k(t) = k0'. Subsequently, it is paid for by workers: There are 'l(t)' workers and total savings must finance the capital next period.

    t

    the current time

  18. def kp(t: Int): Int

    Estimate the capital per worker.

    Estimate the capital per worker.

    t

    the current time

  19. def l(t: Int): Int

    Estimate the labor capacity/number of young (workers) at time 't'

    Estimate the labor capacity/number of young (workers) at time 't'

    t

    the current time

  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  23. def r(t: Int): Int

    Estimate the marginal product of capital reflected as an interest rate.

    Estimate the marginal product of capital reflected as an interest rate. May be viewed as a derivative/difference 'fk(k(t), l(t)) = fʹ(k(t))'.

    t

    the current time

  24. def s(t: Int): Int

    Estimate the personal savings amount when the person is young.

    Estimate the personal savings amount when the person is young.

    t

    the current time

  25. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  26. def toString(): String
    Definition Classes
    AnyRef → Any
  27. def w(t: Int): Int

    Estimate the wage.

    Estimate the wage.

    t

    the current time

  28. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  29. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  30. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @throws( ... )
  31. def y(t: Int): Int

    Estimate the output per worker: y(t) = f(k(t)) where f(k) is the production function.

    Estimate the output per worker: y(t) = f(k(t)) where f(k) is the production function.

    t

    the current time

Inherited from AnyRef

Inherited from Any

Ungrouped