Package org.djunits.vecmat.dn
Class AbsVectorN<A extends AbsQuantity<A,Q,?>,Q extends Quantity<Q>,VA extends AbsVectorN<A,Q,VA,VQ,VAT>,VQ extends VectorN<Q,VQ,?,?,?>,VAT extends AbsVectorN<A,Q,VAT,?,VA>>
java.lang.Object
org.djunits.vecmat.def.AbsVectorMatrix<A,Q,VA,VQ,VAT>
org.djunits.vecmat.def.AbsVector<A,Q,VA,VQ,VAT>
org.djunits.vecmat.dn.AbsVectorN<A,Q,VA,VQ,VAT>
- Type Parameters:
A- the absolute quantity typeQ- the corresponding relative quantity typeVA- the absolute vector or matrix typeVQ- the relative vector or matrix typeVAT- the type of the transposed version of the absolute vector
- All Implemented Interfaces:
Serializable,Iterable<A>,Value<VA,Q>
- Direct Known Subclasses:
AbsVectorN.Col,AbsVectorN.Row
public abstract class AbsVectorN<A extends AbsQuantity<A,Q,?>,Q extends Quantity<Q>,VA extends AbsVectorN<A,Q,VA,VQ,VAT>,VQ extends VectorN<Q,VQ,?,?,?>,VAT extends AbsVectorN<A,Q,VAT,?,VA>>
extends AbsVector<A,Q,VA,VQ,VAT>
AbsVectorN implements a vector with three real-valued entries representing an absolute quantity. The vector is immutable,
except for the display unit, which can be changed. Some of the method that have been defined already for a generic vector can
be re-implemented for efficiency.
Copyright (c) 2026-2026 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djunits.org. The DJUNITS project is distributed under a three-clause BSD-style license.
- Author:
- Alexander Verbraeck
- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classAbsVectorN.Col<A extends AbsQuantity<A,Q, ?>, Q extends Quantity<Q>> Column vector for AbsVectorN with absolute quantities.static classAbsVectorN.Row<A extends AbsQuantity<A,Q, ?>, Q extends Quantity<Q>> Row vector for AbsVectorN with absolute quantities. -
Constructor Summary
ConstructorsConstructorDescriptionAbsVectorN(VQ relativeVector, Reference<?, A, Q> reference) Instantiate an AbsVectorN. -
Method Summary
Methods inherited from class org.djunits.vecmat.def.AbsVector
get, getScalarArray, getSiArray, isColumnVector, isRowVector, iterator, mget, msi, si, sizeMethods inherited from class org.djunits.vecmat.def.AbsVectorMatrix
add, add, asAbsMatrix1x1, asAbsMatrix2x2, asAbsMatrix3x3, asAbsMatrixNxM, asAbsMatrixNxN, asAbsQuantityTable, asAbsVector1, asAbsVector2Col, asAbsVector2Row, asAbsVector3Col, asAbsVector3Row, asAbsVectorNCol, asAbsVectorNRow, checkCol, checkRow, cols, equals, getDisplayUnit, getReference, getRelativeVecMat, hashCode, instantiate, instantiateSi, isRelative, max, mcheckCol, mcheckRow, median, min, rows, setDisplayUnit, subtract, subtract, subtract, subtract, toString, transposeMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface java.lang.Iterable
forEach, spliteratorMethods inherited from interface org.djunits.value.Value
format, format, isAbsolute, setDisplayUnit
-
Constructor Details
-
AbsVectorN
Instantiate an AbsVectorN.- Parameters:
relativeVector- the vector with values relative to the reference pointreference- the reference point for the absolute values
-