Skip to content

Remove duplicate Euclidean length method for Vector #5657

Closed
@tianyizheng02

Description

@tianyizheng02

The Vector class currently has two methods, euclidean_length and magnitude, that both calculate the L2 norm of a vector:

Also I noticed that Vector's euclidLength and magnitude methods both do the same thing. Should I open an issue to have one of them removed?

Let's keep euclidean_length. We can keep the tests of magnitude in euclidean_length

Originally posted by @poyea in #5362 (comment)

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