Skip to content

Have a type class with vector cross product for 3 dimensional space #375

@pleira

Description

@pleira

Spire could have a type class implementing the vector cross product, which I would call something like EuclideanVectorSpace or EuclideanCoordinateSpace. This is an operation that is only suitable for 3 dimensional vector spaces and it is often used in physics.

I have done a preliminary implementation, offering a method angle as well. As the current CoordinateSpace might be replaced, it would be interesting to bring the cross product operation along with the replacement, or in a subproject from Spire.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions