QuantityVector
Quantity Vector
Quantity Vector
- Type Params
- A
QuantityType
- Value Params
- coordinates
Variable list of A
- Authors
garyKeorkunian
- Since
0.3.0
Type members
Types
Value members
Concrete methods
Returns a QuantityVector with all coordinates set to the supplied unit
Returns a QuantityVector with all coordinates set to the supplied unit
- Value Params
- uom
UnitOfMeasure[A]
Creates a DoubleVector by mapping over each coordinate with the supplied function
Creates a DoubleVector by mapping over each coordinate with the supplied function
- Value Params
- f
A => Double map function
Creates the Unit Vector which corresponds to this vector using the given unit
Creates the Unit Vector which corresponds to this vector using the given unit
Inherited methods
The polar coordinates (r, theta) of the two Cartesian coordinates at the supplied indices
The polar coordinates (r, theta) of the two Cartesian coordinates at the supplied indices
- Value Params
- coordinateX
index of the abscissa coordinate (defaults to 0)
- coordinateY
index of the ordinate coordinate (defaults to 1)
- unit
unit for the angle (theta) component (defaults to Radians)
- Returns
(A, Angle)
- Inherited from
- SVector