squants.time

package squants.time

Type members

Classlikes

object Days extends TimeUnit

Represents a quantity of frequency, which is the number cycles (count) over time

Represents a quantity of frequency, which is the number cycles (count) over time

Value Params
value

Double

Authors

garyKeorkunian

Since

0.1

Companion
object
object Frequency extends Dimension[Frequency]
Companion
class
object Gigahertz extends FrequencyUnit with SiUnit
object Hertz extends FrequencyUnit with PrimaryUnit with SiUnit
object Hours extends TimeUnit
object Kilohertz extends FrequencyUnit with SiUnit
object Megahertz extends FrequencyUnit with SiUnit
object Microseconds extends TimeUnit with SiUnit
object Milliseconds extends TimeUnit with PrimaryUnit with SiUnit
object Minutes extends TimeUnit
object Nanoseconds extends TimeUnit with SiUnit
object Seconds extends TimeUnit with SiBaseUnit
object Terahertz extends FrequencyUnit with SiUnit
final class Time extends Quantity[Time]

Represents a quantity of Time

Represents a quantity of Time

Value Params
value

value in squants.time.Milliseconds

Authors

garyKeorkunian

Since

0.1

Companion
object
object Time extends Dimension[Time] with BaseDimension
Companion
class
trait TimeDerivative[A <: Quantity[A] & TimeIntegral[_]]

Represents a rate of change over time of the integral quantity

Represents a rate of change over time of the integral quantity

Type Params
A

The type of quantity changing

Authors

garyKeorkunian

Since

0.1

trait TimeIntegral[A <: Quantity[A] & TimeDerivative[_]]

Represents a Quantity type used as the integral of a time derivative

Represents a Quantity type used as the integral of a time derivative

Type Params
A

The Quantity type for the TimeDerivative for which this is the base

Authors

garyKeorkunian

Since

0.1

case class TimeSquared(time1: Time, time2: Time)

Represents an intermediate value used in 2nd derivative time calculations

Represents an intermediate value used in 2nd derivative time calculations

Create objects by calling the Time.squared method.

q1 / TimeSquared(t1, t2) == q1 / t1 / t2 == q1 / (t1 * t2)

q2 * TimeSquared(t1, t2) == q2 * t1 * t2

q1 / t1.squared == q1 / t1 / t1

q2 * t1.squared == q2 * t1 * t1

where q1 is a second degree time integral and q2 is a second degree time derivative

Value Params
time1

Time

time2

Time

Authors

garyKeorkunian

Since

0.5.1

Companion
object
object TimeSquared
Companion
class