public class Span
extends java.lang.Object
NumberTuple
s. This can be done
by returning a new set of basis vectors (the pivot columns of corresponding
the echelon form) or simply the indices (with respect to argument array),
which of the given vectors would serve as a basis.Constructor and Description |
---|
Span() |
Modifier and Type | Method and Description |
---|---|
static NumberTuple[] |
getBasisForSpanOf(NumberTuple[] aListOfVectors)
This method returns for an arbitrary array of NumberTupels a
(deep-copied) subset that serves as a basis for the Span of aListOfVectors
|
static boolean |
isContainedInSpanOf(NumberTuple testVector,
NumberTuple[] testSpan)
This method tests, if a vector is contained in the Span of other vectors.
|
static AffinePoint[] |
span(AffinePoint[] points)
Deprecated.
may be removed in future versions!
|
static NumberTuple[] |
span(NumberTuple[] vectors)
This method returns a basis for the span of the given NumberTupels
(vectors).
|
static int[] |
spanIndices(NumberTuple[] vectors)
This method returns the indices of the argument vectors, that would serve
as a basis for the span (e.g. if the argument was arg={{1,0, 0}, {2, 0, 0},
{0, 0, 1}}, the int[] {0,2} would be returned, because the first and the
third vector serve as a basis for the span(arg).
|
public static NumberTuple[] span(NumberTuple[] vectors)
vectors
- a NumberTuple[], the vectors of which the
span is constructed.public static AffinePoint[] span(AffinePoint[] points)
public static int[] spanIndices(NumberTuple[] vectors)
public static NumberTuple[] getBasisForSpanOf(NumberTuple[] aListOfVectors)
public static boolean isContainedInSpanOf(NumberTuple testVector, NumberTuple[] testSpan)
Further documentation and examples can be found under www.mathletfactory.de.