Class Spacetime1

Hierarchy

  • AbstractMeasure
    • Spacetime1

Constructors

  • Parameters

    • Optional a: number

      the coordinate of this multivector corresponding to the one scalar. Default is zero.

    • Optional t: number

      the coordinate of this multivector corresponding to the e0 basis vector. Default is zero..

    • Optional x: number

      the coordinate of this multivector corresponding to the e1 basis vector. Default is zero.

    • Optional b: number

      the coordinate of this multivector corresponding to the I pseudoscalar. Default is zero.

    • Optional uom: Unit

      the optional unit of measure for this multivector.

    Returns Spacetime1

Properties

ampere: Spacetime1
candela: Spacetime1
coulomb: Spacetime1

The vector in the Time direction.

e0 * e0 = 1

This vector is permanently locked (immutable).

The vector in the Space direction.

e1 * e1 = -1

This vector is permanently locked (immutable).

joule: Spacetime1
kelvin: Spacetime1
kilogram: Spacetime1
meter: Spacetime1
newton: Spacetime1

The scalar value 1.

This scalar is permanently locked (immutable).

second: Spacetime1

The scalar value 0.

This scalar is permanently locked (immutable).

Accessors

  • get a(): number
  • Returns number

  • set a(a): void
  • Parameters

    • a: number

    Returns void

  • get b(): number
  • Returns number

  • set b(b): void
  • Parameters

    • b: number

    Returns void

  • get grades(): number
  • Returns number

  • get t(): number
  • Returns number

  • set t(t): void
  • Parameters

    • t: number

    Returns void

  • get uom(): Unit
  • Returns Unit

  • set uom(uom): void
  • Parameters

    Returns void

  • get x(): number
  • Returns number

  • set x(x): void
  • Parameters

    • x: number

    Returns void

Methods

  • Parameters

    Returns Spacetime1

  • Returns Spacetime1

  • Returns Spacetime1

  • Parameters

    • a: number
    • Optional uom: Unit

    Returns Spacetime1

  • Parameters

    • v: VectorM11

    Returns Spacetime1

  • Returns Spacetime1

  • Parameters

    • other: unknown

    Returns boolean

  • Parameters

    • n: number

    Returns Spacetime1

  • Returns Spacetime1

  • Returns boolean

  • Determines whether this multivector is locked. If the multivector is in the unlocked state then it is mutable. If the multivector is in the locked state then it is immutable.

    Returns boolean

  • Returns boolean

  • Returns boolean

  • Returns boolean

  • Returns boolean

  • Returns boolean

  • Returns boolean

  • Locks this multivector (preventing any further mutation), and returns a token that may be used to unlock it.

    Returns number

  • Parameters

    Returns Spacetime1

  • Parameters

    • v: VectorM11

    Returns Spacetime1

  • Returns Spacetime1

  • Returns this

  • Parameters

    • n: VectorM11

    Returns Spacetime1

  • Returns Spacetime1

  • Parameters

    • spinor: SpinorM11

    Returns Spacetime1

  • Returns Spacetime1

  • Returns Spacetime1

  • Parameters

    Returns Spacetime1

  • Parameters

    • Optional fractionDigits: number

    Returns string

  • Parameters

    • Optional fractionDigits: number

    Returns string

  • Parameters

    • Optional radix: number

    Returns string

  • Parameters

    • Optional precision: number

    Returns string

  • Parameters

    • Optional radix: number

    Returns string

  • Unlocks this multivector (allowing mutation), using a token that was obtained from a preceding lock method call.

    Parameters

    • token: number

    Returns this

  • Creates a grade 0 (scalar) multivector with value a * uom. The scalar returned is in the unlocked (mutable) state.

    Parameters

    • a: number

      The scaling factor for the unit of measure.

    • Optional uom: Unit

      The optional unit of measure. Equivalent to 1 if omitted.

    Returns Spacetime1

  • Creates a grade 1 (vector) multivector with a value (t * e0 + x * e1) * uom. The value returned is in the unlocked (mutable) state.

    Parameters

    • t: number

      the coordinate corresponding to the e0 basis vector.

    • x: number

      the coordinate corresponding to the e1 basis vector.

    • Optional uom: Unit

      the optional unit of measure. Equivalent to 1 if omitted.

    Returns Spacetime1

Generated using TypeDoc