Skip to content

det, dot, cross, transpose and resultant as functions in an expression #2147

Description

@Rafael-SOWNet

Modenov's Problems in Geometry (#2131) computes with determinants and vector products throughout:

  • oriented areas, and collinearity, concurrency and similarity tests;
  • the vector and scalar triple products, and the pseudo-scalar product in the plane;
  • eliminating a variable from two polynomials (Chapter III, Problem 41).

Each of these exists in C#, as Matrix.Determinant and MathS.Polynomials.Resultant. None can be written in an expression:

Wanted, on concrete matrices and vectors:

  • det(M), dot(a, b), cross(a, b) in three dimensions;
  • the plane's pseudo-scalar product and its rotation through π/2, which the book writes (a, b) and [a];
  • transpose(M), and resultant(p, q, x).

These are functions over the components, with no new node. #105 (3.0) remains the question of cross and dot on symbols that stand for vectors, which needs #1237's typed variables.

The names and their LaTeX are a choice to make once. For example, dot as a \cdot b and cross as a \times b. The book's (a, b) and [a, b] are not available, because the parser reads [a, b] as a vector and [a; b] as an interval.

Activity

  1. added this to the 2.8 milestone on Oct 27, 2026
  2. moved this from Todo to In Progress in AngouriMathon Oct 28, 2026
  3. added 3 commits that reference this issue on Oct 28, 2026
    e99f19f
    15a4a1a
    9d0251c
  4. moved this from In Progress to Done in AngouriMathon Oct 28, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions