Interface VectorSpace<V,F>
- All Superinterfaces:
AbelianGroup<V>, AbelianMonoid<V>, Group<V>, Magma<V>, Module<V,F>, Monoid<V>, Set<V>
- All Known Implementing Classes:
VectorSpace2D, VectorSpace3D
A vector space is a module over a field.
This is the central structure of linear algebra.
Mathematical Definition
A vector space V over a field F is a module where the scalar ring is a field. Elements of V are called vectors, elements of F are called scalars.
Examples
- â„Ââ¿ (Euclidean space)
- â„‚â¿ (Complex coordinate space)
- Function spaces (e.g., L²)
- Polynomial spaces
- Since:
- 1.0
- Author:
- Silvere Martin-Michiellot, Gemini AI (Google DeepMind)
-
Method Summary
Modifier and TypeMethodDescriptiondefault intReturns the dimension of the vector space (if finite).Returns the field of scalars.Methods inherited from interface AbelianGroup
isCommutative, negate, subtractMethods inherited from interface AbelianMonoid
add, identity, zeroMethods inherited from interface Module
getScalarRing, scale, scaleMethods inherited from interface Monoid
isAssociativeMethods inherited from interface Set
contains, description, isEmpty
-
Method Details
-
getScalarField
-
dimension
default int dimension()Returns the dimension of the vector space (if finite).- Returns:
- the dimension, or -1 if infinite/unknown
-