|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||
java.lang.Objectcom.numericalmethod.suanshu.vector.doubles.dense.operation.Projection
public class Projection
Project a vector v on another vector w
or a set of vectors (basis) {wi}.
| Field Summary | |
|---|---|
double[] |
length
the length of v projected on each dimension {wi} |
Vector |
orthogonalVector
the orthogonal vector which is equal to v minus the projection of v on {wi}. |
Vector[] |
projVector
the projected vectors of v on {wi}
It lies on the hyperplane of {wi}. |
| Constructor Summary | |
|---|---|
Projection(Vector v,
Vector basis)
Construct a projection of a vector v onto another vector. |
|
Projection(Vector v,
Vector[] basis)
Construct a projection of a vector v onto a set of basis {wi}. |
|
Projection(Vector v,
VectorList basis)
Construct a projection of a vector v onto a set of basis {wi}. |
|
| Method Summary |
|---|
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public final Vector orthogonalVector
v minus the projection of v on {wi}.
public final double[] length
v projected on each dimension {wi}
public final Vector[] projVector
v on {wi}
It lies on the hyperplane of {wi}.
| Constructor Detail |
|---|
public Projection(Vector v,
VectorList basis)
v onto a set of basis {wi}.
v - a vectorbasis - {wi}
public Projection(Vector v,
Vector[] basis)
v onto a set of basis {wi}.
v - a vectorbasis - an array of {wi}
public Projection(Vector v,
Vector basis)
v onto another vector.
v - a vectorbasis - another vector w
|
SuanShu, a Java numerical and statistical library | |||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||