Nerdamer
Documentation Playground Showcase GitHub
DocumentationPlaygroundShowcaseGitHub
OverviewGetting startedChoosing how to use NerdamerMigrating from Nerdamer 1.xxReferences & citations
Expression syntaxFunction reference
Overview & referenceScripting examplesUser-defined functions
API overviewnerdamer APISettings & configurationText output & public helpersAPI examples
ArchitectureExpression modelParser internalsCodebase mapInternals inspectorHow to developCode conventions
Documentation moved.

This entry is documented with its primary interface. Open the documentation →

API/nerdamer API
Function

nerdamer.line

src/index.ts:1092
nerdamer.line(p1: Vector, p2: Vector, dimension: ExpressionInput): Expression

Returns the line through two two-dimensional points, evaluated at dimension.

Parameters

NameTypeDescription
p1Vector—
p2Vector—
dimensionExpressionInput—

Returns

Expression

Nerdamer

Symbolic mathematics for JavaScript and TypeScript.

DocumentationNerdamer NotationNerdamer Scriptingnerdamer APIJavaScript / TypeScript API
ProjectPlaygroundReferences & citationsInternalsGitHub
Copyright © 2013–2026 Martin Donk · Licensed under the Apache License 2.0