final case class FloatArray(array: Array[Float]) extends Arr[Float] with Product with Serializable
- Alphabetic
- By Inheritance
- FloatArray
- Product
- Arr
- Serializable
- Serializable
- Chunk
- ChunkLike
- IndexedSeq
- IndexedSeq
- IndexedSeqLike
- Seq
- Seq
- SeqLike
- GenSeq
- GenSeqLike
- PartialFunction
- Function1
- Iterable
- Iterable
- IterableLike
- Equals
- GenIterable
- GenIterableLike
- Traversable
- Immutable
- Traversable
- GenTraversable
- GenericTraversableTemplate
- TraversableLike
- GenTraversableLike
- Parallelizable
- TraversableOnce
- GenTraversableOnce
- FilterMonadic
- HasNewBuilder
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Type Members
-
class
Elements extends AbstractIterator[A] with BufferedIterator[A] with Serializable
- Attributes
- protected
- Definition Classes
- IndexedSeqLike
- Annotations
- @SerialVersionUID()
-
type
Self = Chunk[Float]
- Attributes
- protected[this]
- Definition Classes
- TraversableLike
-
class
WithFilter extends FilterMonadic[A, Repr]
- Definition Classes
- TraversableLike
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
++[A1 >: Float](that: NonEmptyChunk[A1]): NonEmptyChunk[A1]
- Definition Classes
- Chunk
-
final
def
++[A1 >: Float](that: Chunk[A1]): Chunk[A1]
Returns the concatenation of this chunk with the specified chunk.
Returns the concatenation of this chunk with the specified chunk.
- Definition Classes
- Chunk
-
def
++[B >: Float, That](that: GenTraversableOnce[B])(implicit bf: CanBuildFrom[Chunk[Float], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
++:[B >: Float, That](that: Traversable[B])(implicit bf: CanBuildFrom[Chunk[Float], B, That]): That
- Definition Classes
- TraversableLike
-
def
++:[B >: Float, That](that: TraversableOnce[B])(implicit bf: CanBuildFrom[Chunk[Float], B, That]): That
- Definition Classes
- TraversableLike
-
final
def
+:[A1 >: Float, That](a1: A1)(implicit bf: CanBuildFrom[Chunk[Float], A1, That]): That
- Definition Classes
- ChunkLike → SeqLike → GenSeqLike
-
final
def
:+[A1 >: Float, That](a1: A1)(implicit bf: CanBuildFrom[Chunk[Float], A1, That]): That
- Definition Classes
- ChunkLike → SeqLike → GenSeqLike
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
def
addString(b: StringBuilder): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, sep: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
addString(b: StringBuilder, start: String, sep: String, end: String): StringBuilder
- Definition Classes
- TraversableOnce
-
def
aggregate[B](z: ⇒ B)(seqop: (B, Float) ⇒ B, combop: (B, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
andThen[C](k: (Float) ⇒ C): PartialFunction[Int, C]
- Definition Classes
- PartialFunction → Function1
-
def
append[A1 >: Float](a1: A1): Chunk[A1]
Appends an element to the chunk.
Appends an element to the chunk.
- Attributes
- protected
- Definition Classes
- Chunk
-
def
apply(n: Int): Float
- Definition Classes
- Arr → SeqLike → GenSeqLike → Function1
-
def
applyOrElse[A1 <: Int, B1 >: Float](x: A1, default: (A1) ⇒ B1): B1
- Definition Classes
- PartialFunction
-
val
array: Array[Float]
- Definition Classes
- FloatArray → Arr
-
final
def
asBits(implicit ev: <:<[Float, Byte]): Chunk[Boolean]
Converts a chunk of bytes to a chunk of bits.
Converts a chunk of bytes to a chunk of bits.
- Definition Classes
- Chunk
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
boolean(index: Int)(implicit ev: <:<[Float, Boolean]): Boolean
Get the element at the specified index.
Get the element at the specified index.
- Definition Classes
- Chunk
-
def
byte(index: Int)(implicit ev: <:<[Float, Byte]): Byte
Get the element at the specified index.
Get the element at the specified index.
- Definition Classes
- Chunk
-
def
canEqual(that: Any): Boolean
- Definition Classes
- IterableLike → Equals
-
def
char(index: Int)(implicit ev: <:<[Float, Char]): Char
Get the element at the specified index.
Get the element at the specified index.
- Definition Classes
- Chunk
-
implicit
val
classTag: ClassTag[Float]
- Definition Classes
- Arr
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
final
def
collect[B, That](pf: PartialFunction[Float, B])(implicit bf: CanBuildFrom[Chunk[Float], B, That]): That
Returns a filtered, mapped subset of the elements of this chunk.
Returns a filtered, mapped subset of the elements of this chunk.
- Definition Classes
- ChunkLike → TraversableLike → GenTraversableLike
-
def
collectChunk[B](pf: PartialFunction[Float, B]): Chunk[B]
Returns a filtered, mapped subset of the elements of this chunk.
Returns a filtered, mapped subset of the elements of this chunk.
- Attributes
- protected
- Definition Classes
- Arr → Chunk
-
def
collectFirst[B](pf: PartialFunction[Float, B]): Option[B]
- Definition Classes
- TraversableOnce
-
def
collectM[R, E, B](pf: PartialFunction[Float, ZIO[R, E, B]]): ZIO[R, E, Chunk[B]]
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 .
- Definition Classes
- Arr → Chunk
-
def
collectWhile[B](pf: PartialFunction[Float, B]): Chunk[B]
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.
- Definition Classes
- Arr → Chunk
-
def
collectWhileM[R, E, B](pf: PartialFunction[Float, ZIO[R, E, B]]): ZIO[R, E, Chunk[B]]
- Definition Classes
- Arr → Chunk
-
def
combinations(n: Int): Iterator[Chunk[Float]]
- Definition Classes
- SeqLike
-
def
companion: GenericCompanion[Chunk]
- Definition Classes
- ChunkLike → IndexedSeq → IndexedSeq → Seq → Seq → GenSeq → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → GenericTraversableTemplate
-
def
compose[A](g: (A) ⇒ Int): (A) ⇒ Float
- Definition Classes
- Function1
- Annotations
- @unspecialized()
-
def
contains[A1 >: Float](elem: A1): Boolean
- Definition Classes
- SeqLike
-
def
containsSlice[B](that: GenSeq[B]): Boolean
- Definition Classes
- SeqLike
-
def
copyToArray[B >: Float](xs: Array[B], start: Int, len: Int): Unit
- Definition Classes
- IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: Float](xs: Array[B]): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToArray[B >: Float](xs: Array[B], start: Int): Unit
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
copyToBuffer[B >: Float](dest: Buffer[B]): Unit
- Definition Classes
- TraversableOnce
-
final
def
corresponds[B](that: Chunk[B])(f: (Float, B) ⇒ Boolean): Boolean
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.
- Definition Classes
- Chunk
-
def
corresponds[B](that: GenSeq[B])(p: (Float, B) ⇒ Boolean): Boolean
- Definition Classes
- SeqLike → GenSeqLike
-
def
count(p: (Float) ⇒ Boolean): Int
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
depth: Int
- Attributes
- protected
- Definition Classes
- Chunk
-
def
diff[B >: Float](that: GenSeq[B]): Chunk[Float]
- Definition Classes
- SeqLike → GenSeqLike
-
def
distinct: Chunk[Float]
- Definition Classes
- SeqLike → GenSeqLike
-
def
double(index: Int)(implicit ev: <:<[Float, Double]): Double
Get the element at the specified index.
Get the element at the specified index.
- Definition Classes
- Chunk
-
def
drop(n: Int): Chunk[Float]
Drops the first
n
elements of the chunk.Drops the first
n
elements of the chunk.- Definition Classes
- Chunk → IterableLike → TraversableLike → GenTraversableLike
-
def
dropRight(n: Int): Chunk[Float]
Drops the last
n
elements of the chunk.Drops the last
n
elements of the chunk.- Definition Classes
- Chunk → IterableLike
-
def
dropWhile(f: (Float) ⇒ Boolean): Chunk[Float]
Drops all elements so long as the predicate returns true.
Drops all elements so long as the predicate returns true.
- Definition Classes
- Arr → Chunk → TraversableLike → GenTraversableLike
-
def
dropWhileM[R, E](p: (Float) ⇒ ZIO[R, E, Boolean]): ZIO[R, E, Chunk[Float]]
- Definition Classes
- Chunk
-
def
endsWith[B](that: GenSeq[B]): Boolean
- Definition Classes
- SeqLike → GenSeqLike
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
equals(that: Any): Boolean
- Definition Classes
- Chunk → GenSeqLike → Equals → AnyRef → Any
-
final
def
exists(f: (Float) ⇒ Boolean): Boolean
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.
- Definition Classes
- Chunk → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
filter(f: (Float) ⇒ Boolean): Chunk[Float]
Returns a filtered subset of this chunk.
Returns a filtered subset of this chunk.
- Definition Classes
- Arr → Chunk → TraversableLike → GenTraversableLike
-
final
def
filterM[R, E](f: (Float) ⇒ ZIO[R, E, Boolean]): ZIO[R, E, Chunk[Float]]
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.
- Definition Classes
- Chunk
-
def
filterNot(p: (Float) ⇒ Boolean): Chunk[Float]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
-
final
def
find(f: (Float) ⇒ Boolean): Option[Float]
Returns the first element that satisfies the predicate.
Returns the first element that satisfies the predicate.
- Definition Classes
- Chunk → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
final
def
flatMap[B, That](f: (Float) ⇒ GenTraversableOnce[B])(implicit bf: CanBuildFrom[Chunk[Float], B, That]): That
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.
- Definition Classes
- ChunkLike → TraversableLike → GenTraversableLike → FilterMonadic
-
final
def
flatMapChunk[B, That](f: (Float) ⇒ GenTraversableOnce[B]): Chunk[B]
The implementation of
flatMap
forChunk
.The implementation of
flatMap
forChunk
.- Attributes
- protected
- Definition Classes
- ChunkLike
-
final
def
flatten[B](implicit ev: <:<[Float, Chunk[B]]): Chunk[B]
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.
- Definition Classes
- Chunk
-
def
flatten[B](implicit asTraversable: (Float) ⇒ GenTraversableOnce[B]): Chunk[B]
- Definition Classes
- GenericTraversableTemplate
-
def
float(index: Int)(implicit ev: <:<[Float, Float]): Float
Get the element at the specified index.
Get the element at the specified index.
- Definition Classes
- FloatArray → Chunk
-
def
fold[A1 >: Float](z: A1)(op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
foldLeft[S](s0: S)(f: (S, Float) ⇒ S): S
Folds over the elements in this chunk from the left.
Folds over the elements in this chunk from the left.
- Definition Classes
- Arr → Chunk → TraversableOnce → GenTraversableOnce
-
final
def
foldM[R, E, S](s: S)(f: (S, Float) ⇒ ZIO[R, E, S]): ZIO[R, E, S]
Effectfully folds over the elements in this chunk from the left.
Effectfully folds over the elements in this chunk from the left.
- Definition Classes
- Chunk
-
def
foldRight[S](s0: S)(f: (Float, S) ⇒ S): S
Folds over the elements in this chunk from the right.
Folds over the elements in this chunk from the right.
- Definition Classes
- Arr → Chunk → IterableLike → TraversableOnce → GenTraversableOnce
-
final
def
foldWhile[S](s0: S)(pred: (S) ⇒ Boolean)(f: (S, Float) ⇒ S): S
Folds over the elements in this chunk from the left.
Folds over the elements in this chunk from the left. Stops the fold early when the condition is not fulfilled.
- Definition Classes
- Chunk
-
final
def
foldWhileM[R, E, S](z: S)(pred: (S) ⇒ Boolean)(f: (S, Float) ⇒ ZIO[R, E, S]): ZIO[R, E, S]
- Definition Classes
- Chunk
-
final
def
forall(f: (Float) ⇒ Boolean): Boolean
Determines whether a predicate is satisfied for all elements of this chunk.
Determines whether a predicate is satisfied for all elements of this chunk.
- Definition Classes
- Chunk → IterableLike → TraversableLike → TraversableOnce → GenTraversableOnce
-
def
foreach[B](f: (Float) ⇒ B): Unit
- Definition Classes
- Arr → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike → TraversableOnce → GenTraversableOnce → FilterMonadic
-
def
genericBuilder[B]: Builder[B, Chunk[B]]
- Definition Classes
- GenericTraversableTemplate
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
def
groupBy[K](f: (Float) ⇒ K): Map[K, Chunk[Float]]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
grouped(size: Int): Iterator[Chunk[Float]]
- Definition Classes
- IterableLike
-
def
hasDefiniteSize: Boolean
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
-
final
def
hashCode(): Int
- Definition Classes
- Chunk → IndexedSeqLike → GenSeqLike → AnyRef → Any
-
def
head: Float
Returns the first element of this 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.- Definition Classes
- Chunk → IterableLike → GenericTraversableTemplate → TraversableLike → GenTraversableLike
-
final
def
headOption: Option[Float]
Returns the first element of this chunk if it exists.
Returns the first element of this chunk if it exists.
- Definition Classes
- Chunk → TraversableLike → GenTraversableLike
-
def
indexOf[B >: Float](elem: B, from: Int): Int
- Definition Classes
- GenSeqLike
-
def
indexOf[B >: Float](elem: B): Int
- Definition Classes
- GenSeqLike
-
def
indexOfSlice[B >: Float](that: GenSeq[B], from: Int): Int
- Definition Classes
- SeqLike
-
def
indexOfSlice[B >: Float](that: GenSeq[B]): Int
- Definition Classes
- SeqLike
-
final
def
indexWhere(f: (Float) ⇒ Boolean, from: Int): Int
Returns the first index for which the given predicate is satisfied after or at some given index.
Returns the first index for which the given predicate is satisfied after or at some given index.
- Definition Classes
- Chunk → SeqLike → GenSeqLike
-
final
def
indexWhere(f: (Float) ⇒ Boolean): Int
Returns the first index for which the given predicate is satisfied.
Returns the first index for which the given predicate is satisfied.
- Definition Classes
- ChunkLike → GenSeqLike
-
def
indices: Range
- Definition Classes
- SeqLike
-
def
init: Chunk[Float]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
inits: Iterator[Chunk[Float]]
- Definition Classes
- TraversableLike
-
def
int(index: Int)(implicit ev: <:<[Float, Int]): Int
Get the element at the specified index.
Get the element at the specified index.
- Definition Classes
- Chunk
-
def
intersect[B >: Float](that: GenSeq[B]): Chunk[Float]
- Definition Classes
- SeqLike → GenSeqLike
-
def
isDefinedAt(idx: Int): Boolean
- Definition Classes
- GenSeqLike
-
final
def
isEmpty: Boolean
Determines if the chunk is empty.
Determines if the chunk is empty.
- Definition Classes
- Chunk → SeqLike → IterableLike → GenericTraversableTemplate → TraversableLike → TraversableOnce → GenTraversableOnce
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
isTraversableAgain: Boolean
- Definition Classes
- TraversableLike → GenTraversableLike → GenTraversableOnce
-
def
iterator: Iterator[Float]
- Definition Classes
- IndexedSeqLike → IterableLike → GenIterableLike
-
def
last: Float
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
lastIndexOf[B >: Float](elem: B, end: Int): Int
- Definition Classes
- GenSeqLike
-
def
lastIndexOf[B >: Float](elem: B): Int
- Definition Classes
- GenSeqLike
-
def
lastIndexOfSlice[B >: Float](that: GenSeq[B], end: Int): Int
- Definition Classes
- SeqLike
-
def
lastIndexOfSlice[B >: Float](that: GenSeq[B]): Int
- Definition Classes
- SeqLike
-
def
lastIndexWhere(p: (Float) ⇒ Boolean, end: Int): Int
- Definition Classes
- SeqLike → GenSeqLike
-
def
lastIndexWhere(p: (Float) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
final
def
lastOption: Option[Float]
Returns the last element of this chunk if it exists.
Returns the last element of this chunk if it exists.
- Definition Classes
- Chunk → TraversableLike → GenTraversableLike
-
def
left: Chunk[Float]
- Attributes
- protected
- Definition Classes
- Chunk
-
val
length: Int
- Definition Classes
- Arr → SeqLike → GenSeqLike
-
def
lengthCompare(len: Int): Int
- Definition Classes
- SeqLike
-
def
lift: (Int) ⇒ Option[Float]
- Definition Classes
- PartialFunction
-
def
long(index: Int)(implicit ev: <:<[Float, Long]): Long
Get the element at the specified index.
Get the element at the specified index.
- Definition Classes
- Chunk
-
final
def
map[B, That](f: (Float) ⇒ B)(implicit bf: CanBuildFrom[Chunk[Float], B, That]): That
Returns a chunk with the elements mapped by the specified function.
Returns a chunk with the elements mapped by the specified function.
- Definition Classes
- ChunkLike → TraversableLike → GenTraversableLike → FilterMonadic
-
final
def
mapAccum[S1, B](s1: S1)(f1: (S1, Float) ⇒ (S1, B)): (S1, Chunk[B])
Statefully maps over the chunk, producing new elements of type
B
.Statefully maps over the chunk, producing new elements of type
B
.- Definition Classes
- Chunk
-
final
def
mapAccumM[R, E, S1, B](s1: S1)(f1: (S1, Float) ⇒ ZIO[R, E, (S1, B)]): ZIO[R, E, (S1, Chunk[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.
- Definition Classes
- Chunk
-
def
mapChunk[B](f: (Float) ⇒ B): Chunk[B]
Returns a chunk with the elements mapped by the specified function.
Returns a chunk with the elements mapped by the specified function.
- Attributes
- protected
- Definition Classes
- Arr → Chunk
-
final
def
mapM[R, E, B](f: (Float) ⇒ ZIO[R, E, B]): ZIO[R, E, Chunk[B]]
Effectfully maps the elements of this chunk.
Effectfully maps the elements of this chunk.
- Definition Classes
- Chunk
-
final
def
mapMPar[R, E, B](f: (Float) ⇒ ZIO[R, E, B]): ZIO[R, E, Chunk[B]]
Effectfully maps the elements of this chunk in parallel.
Effectfully maps the elements of this chunk in parallel.
- Definition Classes
- Chunk
-
final
def
mapMPar_[R, E](f: (Float) ⇒ ZIO[R, E, Any]): ZIO[R, E, Unit]
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.
- Definition Classes
- Chunk
-
final
def
mapM_[R, E](f: (Float) ⇒ ZIO[R, E, Any]): ZIO[R, E, Unit]
Effectfully maps the elements of this chunk purely for the effects.
Effectfully maps the elements of this chunk purely for the effects.
- Definition Classes
- Chunk
-
def
materialize[A1 >: Float]: Chunk[A1]
Materializes a chunk into a chunk backed by an array.
Materializes a chunk into a chunk backed by an array. This method can improve the performance of bulk operations.
- Definition Classes
- Arr → Chunk
-
def
max[B >: Float](implicit cmp: Ordering[B]): Float
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
maxBy[B](f: (Float) ⇒ B)(implicit cmp: Ordering[B]): Float
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
min[B >: Float](implicit cmp: Ordering[B]): Float
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
minBy[B](f: (Float) ⇒ B)(implicit cmp: Ordering[B]): Float
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
mkString: String
Generates a readable string representation of this chunk.
Generates a readable string representation of this chunk.
- Definition Classes
- ChunkLike → TraversableOnce → GenTraversableOnce
-
final
def
mkString(sep: String): String
Generates a readable string representation of this chunk using the specified separator string.
Generates a readable string representation of this chunk using the specified separator string.
- Definition Classes
- ChunkLike → TraversableOnce → GenTraversableOnce
-
final
def
mkString(start: String, sep: String, end: String): String
Generates a readable string representation of this chunk using the specified start, separator, and end strings.
Generates a readable string representation of this chunk using the specified start, separator, and end strings.
- Definition Classes
- ChunkLike → TraversableOnce → GenTraversableOnce
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
newBuilder: ChunkBuilder[Float]
Constructs a new
ChunkBuilder
.Constructs a new
ChunkBuilder
. This operation allocates mutable state and is not referentially transparent. It is provided for compatibility with Scala's collection library and should not be used for other purposes.- Attributes
- protected[this]
- Definition Classes
- ChunkLike → GenericTraversableTemplate → TraversableLike → HasNewBuilder
-
final
def
nonEmpty: Boolean
Determines if the chunk is not empty.
Determines if the chunk is not empty.
- Definition Classes
- ChunkLike → TraversableOnce → GenTraversableOnce
-
def
nonEmptyOrElse[B](ifEmpty: ⇒ B)(fn: (NonEmptyChunk[Float]) ⇒ B): B
Runs
fn
if achunk
is not empty or returns default valueRuns
fn
if achunk
is not empty or returns default value- Definition Classes
- Chunk
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
orElse[A1 <: Int, B1 >: Float](that: PartialFunction[A1, B1]): PartialFunction[A1, B1]
- Definition Classes
- PartialFunction
-
def
padTo[B >: Float, That](len: Int, elem: B)(implicit bf: CanBuildFrom[Chunk[Float], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
par: ParSeq[Float]
- Definition Classes
- Parallelizable
-
def
parCombiner: Combiner[Float, ParSeq[Float]]
- Attributes
- protected[this]
- Definition Classes
- Seq → SeqLike → Iterable → TraversableLike → Parallelizable
-
def
partition(p: (Float) ⇒ Boolean): (Chunk[Float], Chunk[Float])
- Definition Classes
- TraversableLike → GenTraversableLike
-
final
def
partitionMap[B, C](f: (Float) ⇒ Either[B, C]): (Chunk[B], Chunk[C])
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.
- Definition Classes
- Chunk → ChunkLike
-
def
patch[B >: Float, That](from: Int, patch: GenSeq[B], replaced: Int)(implicit bf: CanBuildFrom[Chunk[Float], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
permutations: Iterator[Chunk[Float]]
- Definition Classes
- SeqLike
-
def
prefixLength(p: (Float) ⇒ Boolean): Int
- Definition Classes
- GenSeqLike
-
def
prepend[A1 >: Float](a1: A1): Chunk[A1]
Prepends an element to the chunk.
Prepends an element to the chunk.
- Attributes
- protected
- Definition Classes
- Chunk
-
def
product[B >: Float](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduce[A1 >: Float](op: (A1, A1) ⇒ A1): A1
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceLeft[B >: Float](op: (B, Float) ⇒ B): B
- Definition Classes
- TraversableOnce
-
def
reduceLeftOption[B >: Float](op: (B, Float) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceOption[A1 >: Float](op: (A1, A1) ⇒ A1): Option[A1]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
reduceRight[B >: Float](op: (Float, B) ⇒ B): B
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
reduceRightOption[B >: Float](op: (Float, B) ⇒ B): Option[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
repr: Chunk[Float]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
reverse: Chunk[Float]
- Definition Classes
- SeqLike → GenSeqLike
-
def
reverseIterator: Iterator[Float]
- Definition Classes
- SeqLike
-
def
reverseMap[B, That](f: (Float) ⇒ B)(implicit bf: CanBuildFrom[Chunk[Float], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
reversed: List[Float]
- Attributes
- protected[this]
- Definition Classes
- TraversableOnce
-
def
right: Chunk[Float]
- Attributes
- protected
- Definition Classes
- Chunk
-
def
runWith[U](action: (Float) ⇒ U): (Int) ⇒ Boolean
- Definition Classes
- PartialFunction
-
def
sameElements[B >: Float](that: GenIterable[B]): Boolean
- Definition Classes
- IterableLike → GenIterableLike
-
def
scan[B >: Float, That](z: B)(op: (B, B) ⇒ B)(implicit cbf: CanBuildFrom[Chunk[Float], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanLeft[B, That](z: B)(op: (B, Float) ⇒ B)(implicit bf: CanBuildFrom[Chunk[Float], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
scanRight[B, That](z: B)(op: (Float, B) ⇒ B)(implicit bf: CanBuildFrom[Chunk[Float], B, That]): That
- Definition Classes
- TraversableLike → GenTraversableLike
- Annotations
- @migration
- Migration
(Changed in version 2.9.0) The behavior of
scanRight
has changed. The previous behavior can be reproduced with scanRight.reverse.
-
def
segmentLength(p: (Float) ⇒ Boolean, from: Int): Int
- Definition Classes
- SeqLike → GenSeqLike
-
def
seq: IndexedSeq[Float]
- Definition Classes
- IndexedSeq → IndexedSeq → IndexedSeqLike → Seq → Seq → GenSeq → GenSeqLike → Iterable → Iterable → GenIterable → Traversable → Traversable → GenTraversable → Parallelizable → TraversableOnce → GenTraversableOnce
-
def
short(index: Int)(implicit ev: <:<[Float, Short]): Short
Get the element at the specified index.
Get the element at the specified index.
- Definition Classes
- Chunk
-
final
def
size: Int
The number of elements in the chunk.
The number of elements in the chunk.
- Definition Classes
- ChunkLike → SeqLike → GenTraversableLike → TraversableOnce → GenTraversableOnce
-
def
sizeHintIfCheap: Int
- Attributes
- protected[collection]
- Definition Classes
- IndexedSeqLike → GenTraversableOnce
-
def
slice(from: Int, until: Int): Chunk[Float]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableLike
-
def
sliding(size: Int, step: Int): Iterator[Chunk[Float]]
- Definition Classes
- IterableLike
-
def
sliding(size: Int): Iterator[Chunk[Float]]
- Definition Classes
- IterableLike
-
def
sortBy[B](f: (Float) ⇒ B)(implicit ord: Ordering[B]): Chunk[Float]
- Definition Classes
- SeqLike
-
def
sortWith(lt: (Float, Float) ⇒ Boolean): Chunk[Float]
- Definition Classes
- SeqLike
-
def
sorted[B >: Float](implicit ord: Ordering[B]): Chunk[Float]
- Definition Classes
- SeqLike
-
def
span(p: (Float) ⇒ Boolean): (Chunk[Float], Chunk[Float])
- Definition Classes
- TraversableLike → GenTraversableLike
-
final
def
split(n: Int): Chunk[Chunk[Float]]
Splits this chunk into
n
equally sized chunks.Splits this chunk into
n
equally sized chunks.- Definition Classes
- Chunk
-
final
def
splitAt(n: Int): (Chunk[Float], Chunk[Float])
Returns two splits of this chunk at the specified index.
Returns two splits of this chunk at the specified index.
- Definition Classes
- Chunk → TraversableLike → GenTraversableLike
-
final
def
splitWhere(f: (Float) ⇒ Boolean): (Chunk[Float], Chunk[Float])
Splits this chunk on the first element that matches this predicate.
Splits this chunk on the first element that matches this predicate.
- Definition Classes
- Chunk
-
def
startsWith[B](that: GenSeq[B], offset: Int): Boolean
- Definition Classes
- SeqLike → GenSeqLike
-
def
startsWith[B](that: GenSeq[B]): Boolean
- Definition Classes
- GenSeqLike
-
def
stringPrefix: String
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
sum[B >: Float](implicit num: Numeric[B]): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
def
tail: Chunk[Float]
- Definition Classes
- TraversableLike → GenTraversableLike
-
def
tails: Iterator[Chunk[Float]]
- Definition Classes
- TraversableLike
-
def
take(n: Int): Chunk[Float]
Takes the first
n
elements of the chunk.Takes the first
n
elements of the chunk.- Definition Classes
- Chunk → IterableLike → TraversableLike → GenTraversableLike
-
def
takeRight(n: Int): Chunk[Float]
Takes the last
n
elements of the chunk.Takes the last
n
elements of the chunk.- Definition Classes
- Chunk → IterableLike
-
def
takeWhile(f: (Float) ⇒ Boolean): Chunk[Float]
Takes all elements so long as the predicate returns true.
Takes all elements so long as the predicate returns true.
- Definition Classes
- Arr → Chunk → IterableLike → TraversableLike → GenTraversableLike
-
def
takeWhileM[R, E](p: (Float) ⇒ ZIO[R, E, Boolean]): ZIO[R, E, Chunk[Float]]
Takes all elements so long as the effectual predicate returns true.
Takes all elements so long as the effectual predicate returns true.
- Definition Classes
- Chunk
-
def
thisCollection: IndexedSeq[Float]
- Attributes
- protected[this]
- Definition Classes
- IndexedSeqLike → SeqLike → IterableLike → TraversableLike
-
def
to[Col[_]](implicit cbf: CanBuildFrom[Nothing, Float, Col[Float]]): Col[Float]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
- def toArray[A1 >: Float](n: Int, dest: Array[A1]): Unit
-
def
toArray[A1 >: Float](implicit arg0: ClassTag[A1]): Array[A1]
Converts the chunk into an array.
Converts the chunk into an array.
- Definition Classes
- Chunk → TraversableOnce → GenTraversableOnce
-
final
def
toBinaryString(implicit ev: <:<[Float, Boolean]): String
Renders this chunk of bits as a binary string.
Renders this chunk of bits as a binary string.
- Definition Classes
- Chunk
-
def
toBuffer[A1 >: Float]: Buffer[A1]
- Definition Classes
- IndexedSeqLike → TraversableOnce → GenTraversableOnce
-
def
toCollection(repr: Chunk[Float]): IndexedSeq[Float]
- Attributes
- protected[this]
- Definition Classes
- IndexedSeqLike → SeqLike → IterableLike → TraversableLike
-
def
toIndexedSeq: IndexedSeq[Float]
- Definition Classes
- IndexedSeq → TraversableOnce → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
def
toIterable: Iterable[Float]
- Definition Classes
- IterableLike → TraversableOnce → GenTraversableOnce
-
def
toIterator: Iterator[Float]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
final
def
toList: List[Float]
- Definition Classes
- Chunk → TraversableOnce → GenTraversableOnce
-
def
toMap[T, U](implicit ev: <:<[Float, (T, U)]): Map[T, U]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toSeq: Seq[Float]
- Definition Classes
- Seq → SeqLike → GenSeqLike → TraversableOnce → GenTraversableOnce
-
def
toSet[B >: Float]: Set[B]
- Definition Classes
- TraversableOnce → GenTraversableOnce
-
def
toStream: Stream[Float]
- Definition Classes
- IterableLike → TraversableLike → GenTraversableOnce
-
final
def
toString(): String
- Definition Classes
- Chunk → SeqLike → Function1 → TraversableLike → AnyRef → Any
-
def
toTraversable: Traversable[Float]
- Definition Classes
- TraversableLike → TraversableOnce → GenTraversableOnce
- Annotations
- @deprecatedOverriding( ... , "2.11.0" )
-
final
def
toVector: Vector[Float]
- Definition Classes
- Chunk → TraversableOnce → GenTraversableOnce
-
def
transpose[B](implicit asTraversable: (Float) ⇒ GenTraversableOnce[B]): Chunk[Chunk[B]]
- Definition Classes
- GenericTraversableTemplate
- Annotations
- @migration
- Migration
(Changed in version 2.9.0)
transpose
throws anIllegalArgumentException
if collections are not uniformly sized.
-
def
union[B >: Float, That](that: GenSeq[B])(implicit bf: CanBuildFrom[Chunk[Float], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
unzip[A1, A2](implicit asPair: (Float) ⇒ (A1, A2)): (Chunk[A1], Chunk[A2])
- Definition Classes
- GenericTraversableTemplate
-
def
unzip3[A1, A2, A3](implicit asTriple: (Float) ⇒ (A1, A2, A3)): (Chunk[A1], Chunk[A2], Chunk[A3])
- Definition Classes
- GenericTraversableTemplate
-
def
updated[B >: Float, That](index: Int, elem: B)(implicit bf: CanBuildFrom[Chunk[Float], B, That]): That
- Definition Classes
- SeqLike → GenSeqLike
-
def
view(from: Int, until: Int): SeqView[Float, Chunk[Float]]
- Definition Classes
- SeqLike → IterableLike → TraversableLike
-
def
view: SeqView[Float, Chunk[Float]]
- Definition Classes
- SeqLike → IterableLike → TraversableLike
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native()
-
def
withFilter(p: (Float) ⇒ Boolean): FilterMonadic[Float, Chunk[Float]]
- Definition Classes
- TraversableLike → FilterMonadic
-
final
def
zip[B](that: Chunk[B]): Chunk[(Float, B)]
Zips this chunk with the specified chunk to produce a new chunk with pairs of elements from each 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.
- Definition Classes
- Chunk
-
def
zip[A1 >: Float, B, That](that: GenIterable[B])(implicit bf: CanBuildFrom[Chunk[Float], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
final
def
zipAll[B](that: Chunk[B]): Chunk[(Option[Float], Option[B])]
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
.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.- Definition Classes
- Chunk
-
def
zipAll[B, A1 >: Float, That](that: GenIterable[B], thisElem: A1, thatElem: B)(implicit bf: CanBuildFrom[Chunk[Float], (A1, B), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
final
def
zipAllWith[B, C](that: Chunk[B])(left: (Float) ⇒ C, right: (B) ⇒ C)(both: (Float, B) ⇒ C): Chunk[C]
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
.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 functionleft
orright
to map the element that does exist to the result type.- Definition Classes
- Chunk
-
final
def
zipWith[B, C](that: Chunk[B])(f: (Float, B) ⇒ C): Chunk[C]
Zips this chunk with the specified chunk using the specified combiner.
Zips this chunk with the specified chunk using the specified combiner.
- Definition Classes
- Chunk
-
final
def
zipWithIndex: Chunk[(Float, Int)]
Zips this chunk with the index of every element.
Zips this chunk with the index of every element.
- Definition Classes
- ChunkLike
-
def
zipWithIndex[A1 >: Float, That](implicit bf: CanBuildFrom[Chunk[Float], (A1, Int), That]): That
- Definition Classes
- IterableLike → GenIterableLike
-
final
def
zipWithIndexFrom(indexOffset: Int): Chunk[(Float, Int)]
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.
- Definition Classes
- Chunk
Deprecated Value Members
-
final
def
+[A1 >: Float](a: A1): Chunk[A1]
Appends an element to the chunk
Appends an element to the chunk
- Definition Classes
- Chunk
- Annotations
- @deprecated
- Deprecated
(Since version 1.0.0) use :+
-
def
/:[B](z: B)(op: (B, Float) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.10) Use foldLeft instead of /:
-
def
:\[B](z: B)(op: (Float, B) ⇒ B): B
- Definition Classes
- TraversableOnce → GenTraversableOnce
- Annotations
- @deprecated
- Deprecated
(Since version 2.12.10) Use foldRight instead of :\