Skip to content

Adding vector functions (dot product, cross product, and area/volume of parallelograms, cubes) #2912

@KellerBonnett

Description

@KellerBonnett

I am taking an intro to software engineering course in college and need to contribute to a repo on github, I was hoping it would be ok to contribute to and add these vector functions under algorithms.

Test case:
int[] vector1 = new int[]{1,0,1};
int[] vector2 = new int[]{1,1,1};
int [] result = crossProduct(vector1, vector2);
result would store {-1,0,1}

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