Skip to content

Feature request: linear spaces  #254

@SamoylovMD

Description

@SamoylovMD

Linear (vector) space is an important concept in linear algebra. It is a mathematical structure formed by a collection of elements called vectors, which may be added together and multiplied ("scaled") by numbers, called scalars in this context. So, in our case it can be a separate object which has collection of vectors as a basis, and some methods for it:

class LinearSpace {
    List<Vector> basis;
    ...
    LinearSpace(List<Vector> system);
    int dimension();
    boolean contains(Vector vector);
    boolean isSubspace(LinearSpace space);
    LinearSpace sum(LinearSpace space);
    LinearSpace intersection(LinearSpace space);
    //etc..
}

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