-
Notifications
You must be signed in to change notification settings - Fork 110
Open
Description
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
Labels
No labels