Skip to content

symbolic_expression: Better handling of vectors and matrices #16761

@kcrisman

Description

@kcrisman
sage: symbolic_expression(vector([1,2]))
<boom>
TypeError:

This is pretty uninformative, esp. when it is in the midst of a larger computation.

Instead of working on the error message, we add some code to handle vector and matrix inputs.

Depends on #14270

CC: @tscrim

Component: symbolics

Author: Matthias Koeppe

Branch/Commit: 0623d79

Reviewer: Karl-Dieter Crisman, Travis Scrimshaw

Issue created by migration from https://trac.sagemath.org/ticket/16761

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions