A mutable and lockable multivector in 1D with a Euclidean metric and optional unit of measure.

Hierarchy

  • AbstractMeasure
    • Geometric1

Constructors

  • Constructs a mutable instance of Geometric1 from coordinates and an optional unit of measure.

    Parameters

    • coords: [a: number, x: number] = ...

      The 2 coordinates are in the order [a, x].

    • Optional uom: Unit

      The optional unit of measure.

    Returns Geometric1

Properties

ampere: Geometric1 = ...

SI base unit of electric current. The ampere is that constant current which, if maintained in two straight parallel conductors of infinite length, of negligible circular cross-section, and placed 1 meter apart in vacuum, would produce between these conductors a force equal to 2 x 10-7 newton per meter of length.

candela: Geometric1 = ...

SI base unit of luminous intensity. The candela is the luminous intensity, in a given direction, of a source that emits monochromatic radiation of frequency 540 x 1012 hertz and that has a radiant intensity in that direction of 1 / 683 watt per steradian.

coulomb: Geometric1 = ...

SI derived unit of electric charge, quantity of electricity.

e1: Geometric1 = ...

Constructs a basis vector corresponding to the x coordinate. The returned multivector is locked.

joule: Geometric1 = ...

SI derived unit of energy, work, quantity of heat.

kelvin: Geometric1 = ...

SI base unit of thermodynamic temperature. The kelvin, unit of thermodynamic temperature, is the fraction 1 / 273.16 of the thermodynamic temperature of the triple point of water.

kilogram: Geometric1 = ...

SI base unit of mass. The kilogram is the unit of mass; it is equal to the mass of the international prototype of the kilogram.

meter: Geometric1 = ...

SI base unit of length. The meter is the length of the path travelled by light in vacuum during a time interval of 1 / 299 792 458 of a second.

mole: Geometric1 = ...

SI base unit of amount of substance.

  1. The mole is the amount of substance of a system which contains as many elementary entities as there are atoms in 0.012 kilogram of carbon 12; its symbol is "mol."

  2. When the mole is used, the elementary entities must be specified and may be atoms, molecules, ions, electrons, other particles, or specified groups of such particles.

newton: Geometric1 = ...

SI derived unit of force.

one: Geometric1 = ...

Constructs a Geometric1 representing the number one. The identity element for multiplication, 1. The returned multivector is locked.

second: Geometric1 = ...

SI base unit of time. The second is the duration of 9 192 631 770 periods of the radiation corresponding to the transition between the two hyperfine levels of the ground state of the cesium 133 atom.

zero: Geometric1 = ...

Constructs a Geometric1 representing the number zero. The identity element for addition, 0. The returned multivector is locked.

Accessors

  • get grades(): number
  • A bitmask describing the non-zero grades that are present in this multivector.

    0x1 = scalar 0x2 = vector

    Returns number

Methods

  • Adds a multiple of a scalar to this multivector.

    Parameters

    • a: number

      The scalar value to be added to this multivector.

    • Optional uom: Unit

      The optional unit of measure.

    • α: number = 1

      The fraction of (a * uom) to be added. Default is 1.

    Returns Geometric1

    this + (a * uom) * α

  • 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

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

    Returns number

  • Subtracts a multiple of a scalar from this multivector.

    Parameters

    • a: number

      The scalar value to be subtracted from this multivector.

    • Optional uom: Unit

      The optional unit of measure.

    • α: number = 1

      The fraction of (a * uom) to be subtracted. Default is 1.

    Returns Geometric1

    this - (a * uom) * α

  • Parameters

    • Optional fractionDigits: number

    Returns string

  • Parameters

    • Optional fractionDigits: number

    Returns string

  • Parameters

    • Optional precision: 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

Generated using TypeDoc