FloatArray
Attributes
- Graph
-
- Supertypes
-
trait Producttrait ChunkIterator[Float]trait Serializabletrait IndexedSeq[Float]trait IndexedSeq[Float]trait Equalstrait IterableOnce[Float]class Objecttrait Matchableclass AnyShow all
- Self type
Members list
Value members
Concrete methods
Returns a filtered subset of this chunk.
Returns a filtered subset of this chunk.
Attributes
- Definition Classes
Get the element at the specified index.
Checks if the chunk iterator has another element.
Checks if the chunk iterator has another element.
Attributes
Gets the next element from the chunk iterator.
Gets the next element from the chunk iterator.
Attributes
Returns a new iterator that is a slice of this iterator.
Returns a new iterator that is a slice of this iterator.
Attributes
Takes all elements so long as the predicate returns true.
Takes all elements so long as the predicate returns true.
Attributes
- Definition Classes
Inherited methods
Returns the bitwise AND of this chunk and the specified chunk.
Concatenates this chunk iterator with the specified chunk iterator.
Concatenates this chunk iterator with the specified chunk iterator.
Attributes
- Inherited from:
- ChunkIterator
Returns the concatenation of this chunk with the specified chunk.
Returns the concatenation of this chunk with the specified chunk.
Attributes
- Inherited from:
- IterableOps
Attributes
- Definition Classes
- Inherited from:
- SeqOps
Returns the bitwise XOR of this chunk and the specified chunk.
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- PartialFunction
Attributes
- Definition Classes
- Inherited from:
- PartialFunction
Attributes
- Definition Classes
- Inherited from:
- ChunkLike
Attributes
- Definition Classes
- Inherited from:
- StrictOptimizedSeqOps
Attributes
- Inherited from:
- PartialFunction
Converts a chunk of bytes to a chunk of bits.
Converts a chunk of ints to a chunk of bits.
Converts a chunk of longs to a chunk of bits.
Crates a new String based on this chunk of bytes and using the given charset.
Crates a new String based on this chunk of bytes and using the given charset.
Attributes
- Inherited from:
- Chunk
Crates a new String based on this chunks data.
Get the element at the specified index.
Get the element at the specified index.
Attributes
- Definition Classes
- Inherited from:
- IndexedSeq
Get the element at the specified index.
Returns a filtered, mapped subset of the elements of this Chunk
.
Returns a filtered, mapped subset of the elements of this Chunk
.
Attributes
- Definition Classes
- Inherited from:
- ChunkLike
Returns a filtered, mapped subset of the elements of this chunk.
Returns a filtered, mapped subset of the elements of this chunk.
Attributes
- Definition Classes
-
Arr -> Chunk
- Inherited from:
- Arr (hidden)
Attributes
- Inherited from:
- IterableOnceOps
Transforms all elements of the chunk for as long as the specified partial function is defined.
Transforms all elements of the chunk for as long as the specified partial function is defined.
Attributes
- Definition Classes
-
Arr -> Chunk
- Inherited from:
- Arr (hidden)
Attributes
- Definition Classes
-
Arr -> Chunk
- Inherited from:
- Arr (hidden)
Returns a filtered, mapped subset of the elements of this chunk based on a .
Returns a filtered, mapped subset of the elements of this chunk based on a .
Attributes
- Definition Classes
-
Arr -> Chunk
- Inherited from:
- Arr (hidden)
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- PartialFunction
Attributes
- Definition Classes
- Inherited from:
- SeqOps
Attributes
- Definition Classes
- Inherited from:
- ChunkLike
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Determines whether this chunk and the specified chunk have the same length and every pair of corresponding elements of this chunk and the specified chunk satisfy the specified predicate.
Determines whether this chunk and the specified chunk have the same length and every pair of corresponding elements of this chunk and the specified chunk satisfy the specified predicate.
Attributes
- Inherited from:
- Chunk
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- SeqOps
Deduplicates adjacent elements that are identical.
Attributes
- Definition Classes
- Inherited from:
- StrictOptimizedSeqOps
Attributes
- Definition Classes
- Inherited from:
- StrictOptimizedSeqOps
Get the element at the specified index.
Drops the first n
elements of the chunk.
Drops the last n
elements of the chunk.
Drops all elements until the predicate returns true.
Drops all elements until the effectful predicate returns true.
Drops all elements so long as the predicate returns true.
Drops all elements so long as the predicate returns true.
Attributes
- Definition Classes
- Inherited from:
- Arr (hidden)
Drops all elements so long as the effectful predicate returns true.
Drops all elements so long as the effectful predicate returns true.
Attributes
- Inherited from:
- Chunk
Attributes
- Inherited from:
- PartialFunction
Attributes
- Definition Classes
- Inherited from:
- IterableFactoryDefaults
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Compares the receiver object (this
) with the argument object (that
) for equivalence.
Any implementation of this method should be an equivalence relation:
- It is reflexive: for any instance
x
of typeAny
,x.equals(x)
should returntrue
. - It is symmetric: for any instances
x
andy
of typeAny
,x.equals(y)
should returntrue
if and only ify.equals(x)
returnstrue
. - It is transitive: for any instances
x
,y
, andz
of typeAny
ifx.equals(y)
returnstrue
andy.equals(z)
returnstrue
, thenx.equals(z)
should returntrue
.
If you override this method, you should verify that your implementation remains an equivalence relation. Additionally, when overriding this method it is usually necessary to override hashCode
to ensure that objects which are "equal" (o1.equals(o2)
returns true
) hash to the same scala.Int. (o1.hashCode.equals(o2.hashCode)
).
Value parameters
- that
-
the object to compare against this object for equality.
Attributes
- Returns
-
true
if the receiver object is equivalent to the argument;false
otherwise. - Definition Classes
- Inherited from:
- Chunk
Determines whether a predicate is satisfied for at least one element of this chunk.
Determines whether a predicate is satisfied for at least one element of this chunk.
Attributes
- Definition Classes
- Inherited from:
- Chunk
Attributes
- Definition Classes
- Inherited from:
- StrictOptimizedIterableOps
Filters this chunk by the specified effectful predicate, retaining all elements for which the predicate evaluates to true.
Filters this chunk by the specified effectful predicate, retaining all elements for which the predicate evaluates to true.
Attributes
- Inherited from:
- Chunk
Returns the first element that satisfies the predicate.
Returns the first element that satisfies the predicate.
Attributes
- Definition Classes
- Inherited from:
- Chunk
Returns the first element that satisfies the effectful predicate.
Returns the concatenation of mapping every element into a new chunk using the specified function.
Returns the concatenation of mapping every element into a new chunk using the specified function.
Attributes
- Definition Classes
- Inherited from:
- ChunkLike
Flattens a chunk of chunks into a single chunk by concatenating all chunks.
Flattens a chunk of chunks into a single chunk by concatenating all chunks.
Attributes
- Definition Classes
- Inherited from:
- ChunkLike
Folds over the elements in this chunk from the left.
Folds over the elements in this chunk from the left.
Attributes
- Definition Classes
- Inherited from:
- Arr (hidden)
Folds over the elements in this chunk from the right.
Folds over the elements in this chunk from the right.
Attributes
- Definition Classes
- Inherited from:
- Arr (hidden)
Folds over the elements in this chunk from the left. Stops the fold early when the condition is not fulfilled.
Folds over the elements in this chunk from the left. Stops the fold early when the condition is not fulfilled.
Attributes
- Inherited from:
- Chunk
Attributes
- Inherited from:
- Chunk
Effectfully folds over the elements in this chunk from the left.
Determines whether a predicate is satisfied for all elements of this chunk.
Determines whether a predicate is satisfied for all elements of this chunk.
Attributes
- Definition Classes
- Inherited from:
- Chunk
Attributes
- Definition Classes
-
Arr -> IterableOnceOps
- Inherited from:
- Arr (hidden)
Attributes
- Inherited from:
- IterableFactoryDefaults
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Calculate a hash code value for the object.
Calculate a hash code value for the object.
The default hashing algorithm is platform dependent.
Note that it is allowed for two objects to have identical hash codes (o1.hashCode.equals(o2.hashCode)
) yet not be equal (o1.equals(o2)
returns false
). A degenerate implementation could always return 0
. However, it is required that if two objects are equal (o1.equals(o2)
returns true
) that they have identical hash codes (o1.hashCode.equals(o2.hashCode)
). Therefore, when overriding this method, be sure to verify that the behavior is consistent with the equals
method.
Attributes
- Returns
-
the hash code value for this object.
- Definition Classes
- Inherited from:
- Chunk
Returns the first element of this chunk. Note that this method is partial in that it will throw an exception if the chunk is empty. Consider using headOption
to explicitly handle the possibility that the chunk is empty or iterating over the elements of the chunk in lower level, performance sensitive code unless you really only need the first element of the chunk.
Returns the first element of this chunk. Note that this method is partial in that it will throw an exception if the chunk is empty. Consider using headOption
to explicitly handle the possibility that the chunk is empty or iterating over the elements of the chunk in lower level, performance sensitive code unless you really only need the first element of the chunk.
Attributes
- Definition Classes
- Inherited from:
- Chunk
Returns the first element of this chunk if it exists.
Returns the first element of this chunk if it exists.
Attributes
- Definition Classes
- Inherited from:
- Chunk
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Get the element at the specified index.
Attributes
- Definition Classes
- Inherited from:
- StrictOptimizedSeqOps
Attributes
- Inherited from:
- SeqOps
Determines if the chunk is empty.
Attributes
- Definition Classes
- Inherited from:
- IterableOps
Attributes
- Definition Classes
- Inherited from:
- Arr (hidden)
Attributes
- Definition Classes
- Inherited from:
- IndexedSeqOps
Attributes
- Definition Classes
- Inherited from:
- IndexedSeqOps
Returns the last element of this chunk if it exists.
Returns the last element of this chunk if it exists.
Attributes
- Definition Classes
-
Chunk -> IterableOps
- Inherited from:
- Chunk
Attributes
- Definition Classes
- Inherited from:
- IndexedSeqOps
Attributes
- Definition Classes
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- PartialFunction
Get the element at the specified index.
Returns a chunk with the elements mapped by the specified function.
Returns a chunk with the elements mapped by the specified function.
Attributes
- Definition Classes
- Inherited from:
- ChunkLike
Statefully maps over the chunk, producing new elements of type B
.
Statefully and effectfully maps over the elements of this chunk to produce new elements.
Statefully and effectfully maps over the elements of this chunk to produce new elements.
Attributes
- Inherited from:
- Chunk
Effectfully maps the elements of this chunk.
Effectfully maps the elements of this chunk purely for the effects.
Effectfully maps the elements of this chunk purely for the effects.
Attributes
- Inherited from:
- Chunk
Effectfully maps the elements of this chunk in parallel.
Effectfully maps the elements of this chunk in parallel purely for the effects.
Effectfully maps the elements of this chunk in parallel purely for the effects.
Attributes
- Inherited from:
- Chunk
Materializes a chunk into a chunk backed by an array. This method can improve the performance of bulk operations.
Materializes a chunk into a chunk backed by an array. This method can improve the performance of bulk operations.
Attributes
- Definition Classes
-
Arr -> Chunk
- Inherited from:
- Arr (hidden)
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Returns the bitwise NOT of this chunk.
Attributes
- Inherited from:
- IterableFactoryDefaults
Attributes
- Inherited from:
- IterableOnceOps
Runs fn
if a chunk
is not empty or returns default value
Attributes
- Inherited from:
- PartialFunction
Attributes
- Definition Classes
- Inherited from:
- StrictOptimizedSeqOps
Attributes
- Definition Classes
- Inherited from:
- StrictOptimizedIterableOps
Partitions the elements of this chunk into two chunks using the specified function.
Partitions the elements of this chunk into two chunks using the specified function.
Attributes
- Definition Classes
- Inherited from:
- Chunk
Attributes
- Definition Classes
- Inherited from:
- StrictOptimizedSeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Definition Classes
- Inherited from:
- ChunkLike
Attributes
- Definition Classes
- Inherited from:
- StrictOptimizedSeqOps
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- Product
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Definition Classes
- Inherited from:
- IndexedSeqOps
Attributes
- Definition Classes
- Inherited from:
- IndexedSeqOps
Attributes
- Definition Classes
- Inherited from:
- IndexedSeqOps
Attributes
- Definition Classes
-
IndexedSeq -> SeqOps
- Inherited from:
- IndexedSeq
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- IndexedSeq
Attributes
- Inherited from:
- IndexedSeq
Attributes
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- StrictOptimizedSeqOps
Attributes
- Definition Classes
- Inherited from:
- StrictOptimizedIterableOps
Attributes
- Definition Classes
- Inherited from:
- IndexedSeqOps
Attributes
- Definition Classes
- Inherited from:
- IndexedSeqOps
Get the element at the specified index.
Attributes
- Definition Classes
- Inherited from:
- SeqOps
Attributes
- Definition Classes
- Inherited from:
- SeqOps
Attributes
- Definition Classes
- Inherited from:
- SeqOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Definition Classes
- Inherited from:
- Chunk
Attributes
- Inherited from:
- IterableOps
Attributes
- Definition Classes
- Inherited from:
- ChunkLike
Attributes
- Definition Classes
- Inherited from:
- Chunk
Splits this chunk into n
equally sized chunks.
Returns two splits of this chunk at the specified index.
Returns two splits of this chunk at the specified index.
Attributes
- Definition Classes
- Inherited from:
- Chunk
Splits this chunk on the first element that matches this predicate.
Splits this chunk on the first element that matches this predicate.
Attributes
- Inherited from:
- Chunk
Attributes
- Inherited from:
- SeqOps
Attributes
- Definition Classes
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- IterableOps
Takes the first n
elements of the chunk.
Takes the last n
elements of the chunk.
Takes all elements so long as the effectual predicate returns true.
Takes all elements so long as the effectual predicate returns true.
Attributes
- Inherited from:
- Chunk
Attributes
- Definition Classes
- Inherited from:
- StrictOptimizedIterableOps
Converts the chunk into an array.
Renders this chunk of bits as a binary string.
Attributes
- Definition Classes
- Inherited from:
- IndexedSeq
Attributes
- Definition Classes
- Inherited from:
- Chunk
Attributes
- Inherited from:
- IterableOnceOps
Attributes
- Inherited from:
- Chunk
Attributes
- Inherited from:
- Chunk
Attributes
- Definition Classes
- Inherited from:
- Seq
Attributes
- Definition Classes
- Inherited from:
- Chunk
Attributes
- Inherited from:
- IterableOps
Attributes
- Inherited from:
- PartialFunction
Attributes
- Definition Classes
- Inherited from:
- StrictOptimizedIterableOps
Attributes
- Definition Classes
- Inherited from:
- StrictOptimizedIterableOps
Attributes
- Definition Classes
- Inherited from:
- ChunkLike
Attributes
- Definition Classes
- Inherited from:
- IndexedSeqOps
Attributes
- Inherited from:
- IterableOps
Zips this chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk. The returned chunk will have the length of the shorter chunk.
Zips this chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk. The returned chunk will have the length of the shorter chunk.
Attributes
- Inherited from:
- Chunk
Attributes
- Definition Classes
- Inherited from:
- StrictOptimizedIterableOps
Zips this chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk, filling in missing values from the shorter chunk with None
. The returned chunk will have the length of the longer chunk.
Zips this chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk, filling in missing values from the shorter chunk with None
. The returned chunk will have the length of the longer chunk.
Attributes
- Inherited from:
- Chunk
Attributes
- Inherited from:
- IterableOps
Zips with chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk combined using the specified function both
. If one chunk is shorter than the other uses the specified function left
or right
to map the element that does exist to the result type.
Zips with chunk with the specified chunk to produce a new chunk with pairs of elements from each chunk combined using the specified function both
. If one chunk is shorter than the other uses the specified function left
or right
to map the element that does exist to the result type.
Attributes
- Inherited from:
- Chunk
Zips this chunk with the specified chunk using the specified combiner.
Zips this chunk with the specified chunk using the specified combiner.
Attributes
- Inherited from:
- Chunk
Zips this chunk with the index of every element.
Zips this chunk with the index of every element.
Attributes
- Definition Classes
- Inherited from:
- ChunkLike
Zips this chunk with the index of every element, starting from the initial index value.
Zips this chunk with the index of every element, starting from the initial index value.
Attributes
- Inherited from:
- Chunk
Deprecated and Inherited methods
Attributes
- Deprecated
-
[Since version 2.13.0]
Use foldLeft instead of /: - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use foldRight instead of :\\ - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
`aggregate` is not relevant for sequential collections. Use `foldLeft(z)(seqop)` instead. - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use iterableFactory instead - Inherited from:
- IterableOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use `dest ++= coll` instead - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Check .knownSize instead of .hasDefiniteSize for more actionable information (see scaladoc for details) - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use segmentLength instead of prefixLength - Inherited from:
- SeqOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use coll instead of repr in a collection implementation, use the collection value itself from the outside - Inherited from:
- IterableOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use .reverseIterator.map(f).to(...) instead of .reverseMap(f) - Inherited from:
- SeqOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Iterable.seq always returns the iterable itself - Inherited from:
- Iterable
Attributes
- Deprecated
-
[Since version 2.13.7]
toIterable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections - Inherited from:
- Iterable
Attributes
- Deprecated
-
[Since version 2.13.0]
Use .iterator instead of .toIterator - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use .to(LazyList) instead of .toStream - Inherited from:
- IterableOnceOps
Attributes
- Deprecated
-
[Since version 2.13.0]
toTraversable is internal and will be made protected; its name is similar to `toList` or `toSeq`, but it doesn\'t copy non-immutable collections - Inherited from:
- IterableOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use `concat` instead - Inherited from:
- SeqOps
Attributes
- Deprecated
-
[Since version 2.13.0]
Use .view.slice(from, until) instead of .view(from, until) - Definition Classes
- Inherited from:
- IndexedSeqOps
Inherited fields
Returns a SeqFactory
that can construct Chunk
values. The SeqFactory
exposes a newBuilder
method that is not referentially transparent because it allocates mutable state.
Returns a SeqFactory
that can construct Chunk
values. The SeqFactory
exposes a newBuilder
method that is not referentially transparent because it allocates mutable state.
Attributes
- Inherited from:
- ChunkLike