Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Feature request: linear spaces #254

Open
SamoylovMD opened this issue Jan 22, 2015 · 2 comments
Open

Feature request: linear spaces #254

SamoylovMD opened this issue Jan 22, 2015 · 2 comments

Comments

@SamoylovMD
Copy link
Contributor

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..
}
@SamoylovMD
Copy link
Contributor Author

Also, linear spaces can be returned when we solve linear system with infinite solutions (another way to solve #124).

@SamoylovMD
Copy link
Contributor Author

Full information about this feature can be found here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant