Skip to content
This repository was archived by the owner on Dec 2, 2021. It is now read-only.
This repository was archived by the owner on Dec 2, 2021. It is now read-only.

Multiply two variables or expressions #33

@wrnrlr

Description

@wrnrlr

I'd hoped to be able to constrain two lines to be parallel by rewriting the equation for the slope.

m1 == (p1.y - q1.y) / (p1.x - q1.x)
m2 == (p2.y - q2.y) / (p2.x - q2.x)
m1 == m2

algebra-cadabra:

(p1.y - q1.y) * (p2.x - q2.x) == (p2.y - q2.y) * (p1.x - q1.x)

Turns out I can't multiply two expression or variables, is this a fundamental restriction of kiwi or can it be extended in some way to support such things?

Kind Regards

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions