DblNSeqSpec
Base trait for classes that are defined by collections of elements that are products of Doubles, backed by an underlying Array[Double]. As well as DblNArr classes this is also the base trait for classes like polygons that are defined by a collection of points.
Attributes
- Graph
- Supertypes
- trait ValueNSeqSpec[A]trait SeqSpec[A]trait DblNSeqLike[A]trait ArrayDblBackedtrait SpecialTtrait ValueNSeqLike[A]trait SeqLike[A]class Any
- Known subtypes
- trait Dbl2SeqSpec[A]trait LinePathDbl2[A]class LinePathclass LinePathMclass LinePathLLtrait Polygontrait Polygon3Plustrait Polygon4Plustrait Polygon5Plustrait Polygon6Plustrait HexRegclass HexRegImptrait Hexlignclass HexParrXclass HexParrYtrait Quadrilateraltrait Rectangletrait PhiRectangleclass PhiRectclass PhiRectYclass PhiRectangleImptrait Rectclass RectImpclass Sqlignclass RectangleImptrait Squareclass SquareImptrait Triangleclass TriangleImptrait TriangleIsosclass TriangleEquiclass TriangleIsosGenclass PolygonGentrait PolygonYMirrortrait PolygonLikeDbl2[VT]class PolygonM2class PolygonLLtrait Pt2SeqSpectrait LatLongSeqSpectrait Dbl3SeqSpec[A]trait LinePathDbl3[A]class LinePathMetre3trait PolygonLikeDbl3[VT]class PolygonM3trait Dbl4SeqSpec[A]trait Dbl5SeqSpec[A]trait Dbl6SeqSpec[A]trait Dbl7SeqSpec[A]class ShapeGenOldtrait LinePathDblN[A]trait PolygonLikeDblN[VT]
Members list
Type members
Types
Gives the final type of this class.
Gives the final type of this class.
Attributes
Value members
Concrete methods
Builder helper method that provides a longer array, with the underlying array copied into the new extended Array.
Builder helper method that provides a longer array, with the underlying array copied into the new extended Array.
Attributes
Reverses the order of the elements of the specifying sequence.
Reverses the order of the elements of the specifying sequence.
Attributes
- Definition Classes
Reverses the order of the elements in a new Array[Double] which is returned.
Reverses the order of the elements in a new Array[Double] which is returned.
Attributes
Inherited methods
Utility method to append element on to an ArrayBuffer[Double]. End users should rarely need to use this method.
Utility method to append element on to an ArrayBuffer[Double]. End users should rarely need to use this method.
Attributes
- Inherited from:
- DblNSeqLike
The number of atomic values, Ints, Doubles, Longs etc that specify / construct an element of this immutable flat Array based collection class.
The number of atomic values, Ints, Doubles, Longs etc that specify / construct an element of this immutable flat Array based collection class.
Attributes
- Inherited from:
- ValueNSeqLike
The element String allows the composition of toString for the whole collection. The syntax of the output will be reworked.
Attributes
- Inherited from:
- DblNSeqLike
Checks if 2 values of the specifying sequence are equal.
specifying -sequence fold.
Attributes
- Inherited from:
- ValueNSeqSpec
Performs a side effecting function on each element of the specifying sequence in order.
Performs a side effecting function on each element of the specifying sequence in order.
Attributes
- Inherited from:
- SeqSpec
Index with foreach on the data elements. Performs a side effecting function on the index and each element of the data sequence. It takes a function as a parameter. The function may return Unit. If it does return a non Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Index with foreach on the data elements. Performs a side effecting function on the index and each element of the data sequence. It takes a function as a parameter. The function may return Unit. If it does return a non Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Attributes
- Inherited from:
- SeqSpec
Index with foreach on the the specifying sequence elements. Performs a side effecting function on the index and each element of the specifying sequence. It takes a function as a parameter. The function may return Unit. If it does return a non Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Index with foreach on the the specifying sequence elements. Performs a side effecting function on the index and each element of the specifying sequence. It takes a function as a parameter. The function may return Unit. If it does return a non Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users. The method has 2 versions / name overloads. The default start for the index is 0 if just the function parameter is passed. The second version name overload takes an Int for the first parameter list, to set the start value of the index. Note the function signature follows the foreach based convention of putting the collection element 2nd or last as seen for example in fold methods' (accumulator, element) => B signature.
Attributes
- Inherited from:
- SeqSpec
Accesses the specifying sequence element by a 0 based index.
Last element of the specifying sequence.
The number of product elements in this collection. For example in a [[PolygonImp], this is the number of Pt2s in the Polygon
The number of product elements in this collection. For example in a [[PolygonImp], this is the number of Pt2s in the Polygon
Attributes
- Definition Classes
- Inherited from:
- ValueNSeqSpec
Performs a side effecting function on each element of the specifying-sequence in reverse order. The function may return Unit. If it does return a non Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.
Performs a side effecting function on each element of the specifying-sequence in reverse order. The function may return Unit. If it does return a non Unit value it is discarded. The [U] type parameter is there just to avoid warnings about discarded values and can be ignored by method users.
Attributes
- Inherited from:
- SeqSpec
FoldLeft over the tail of the specifying sequence.
Foreachs over the tail of the specifying sequence. Performs a side effecting function on each element of the tail of the specifying sequence in order.
Foreachs over the tail of the specifying sequence. Performs a side effecting function on each element of the tail of the specifying sequence in order.
Attributes
- Inherited from:
- SeqSpec
String specifying the type of this object.
Attributes
- Inherited from:
- ArrayDblBacked
The total number of atomic values, Ints, Doubles, Longs etc in the backing Array.
The total number of atomic values, Ints, Doubles, Longs etc in the backing Array.
Attributes
- Inherited from:
- DblNSeqLike
Attributes
- Inherited from:
- DblNSeqLike
Sets / mutates an element in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.
Sets / mutates an element in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.
Attributes
- Inherited from:
- SeqLike
Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.
Sets / mutates elements in the Arr. This method should rarely be needed by end users, but is used by the initialisation and factory methods.
Attributes
- Inherited from:
- SeqLike