breeze

util

package util

Linear Supertypes
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. util
  2. AnyRef
  3. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Type Members

  1. implicit final class AwesomeBitSet extends AnyVal

  2. implicit final class AwesomeScalaBitSet extends AnyVal

  3. class BloomFilter[T] extends (T) ⇒ Boolean with Serializable

    A BloomFilter is an approximate set that sometimes gives false positives.

  4. trait CachedHashCode extends AnyRef

    Mixin for case classes that compute their hashcode once, and then cache it.

  5. final class CompositeIndex[U] extends Index[(Int, U)]

    An Index over N kinds of things.

  6. class DenseIntIndex extends Index[Int]

    For use when we need an index, but we already have (densely packed) positive ints and don't want hash overhead.

  7. trait DoubleImplicits extends AnyRef

  8. class EitherIndex[L, R] extends Index[Either[L, R]]

    An Index over two kinds of things.

  9. trait Encoder[T] extends AnyRef

    For encoding counters as vectors and decoding vectors back to counters

  10. implicit final class FileUtil extends AnyVal

  11. class HashIndex[T] extends MutableIndex[T] with Serializable

    Class that builds a 1-to-1 mapping between Ints and T's, which is very useful for efficiency concerns.

  12. trait Index[T] extends Iterable[T] with (T) ⇒ Int with Serializable

    Trait that marks an O(1) bidirectional map between Ints (increasing from 0) and T's.

  13. class Interner[T] extends (T) ⇒ T with Serializable

    Class that mimics Java's string interner, but for anything.

  14. trait Isomorphism[T, U] extends Serializable

    An Isomorphism is defined by a reversible transformation between two types.

  15. class IsomorphismIndex[T, U] extends Index[U] with Serializable

    Maps an index of type T to an index of type U using an isomorphism implicit

  16. trait IteratorImplicits extends AnyRef

  17. class LazyLogger extends Serializable

    A logger that only evaluates parameters lazily if the corresponding log level is enabled.

  18. trait Lens[T, U] extends AnyRef

    A Lens defines a functional way of handling getters/setters.

  19. trait MutableIndex[T] extends Index[T]

    An Index that contains an extra method: index that adds the given element (if necessary), returning its (possibly new) position in the index.

  20. abstract class Opt extends AnyRef

    Base class for all option case classes in breeze

  21. class OptionIndex[T] extends Index[Option[T]]

    Lifts an index of T into an index of Option[T] .

  22. class PairIndex[T, U] extends Index[(T, U)]

    An index over pairs from a pair of indexes

  23. class SeqExtras[T] extends AnyRef

  24. trait SerializableLogging extends Serializable

    Stupid Typesafe logging lib trait isn't serializable.

  25. trait SynchronizedIndex[T] extends Index[T]

    Synchronized view of an Index for thread-safe access.

  26. type TODO = Nothing

    Similar to the TODO expression, except this one is for types.

  27. class TopK[T] extends Iterable[T]

    A Top-K queue keeps a list of the top K elements seen so far as ordered by the given comparator.

  28. class TopKIterable[T] extends AnyRef

    A rich iterable extension that adds the topk method.

  29. class TopKIterator[T] extends AnyRef

Value Members

  1. object ArrayUtil

    Array operations on generic arrays, a little faster in general, I hope.

  2. object BloomFilter extends Serializable

  3. def CALLER(nth: Int): String

    Computes the source file location of the nth parent.

    Computes the source file location of the nth parent. 0 is equivalent to LOCATION

    Annotations
    @noinline()
  4. object Encoder

  5. object EnumerationIndex

  6. object HashIndex extends SerializableLogging

  7. object Implicits extends DoubleImplicits with IteratorImplicits

    Stores various implicits, also available by importing breeze.

  8. object Index extends Serializable

    Utilities for manipulating and creating Index objects.

  9. object Interner extends Serializable

  10. object Isomorphism extends Serializable

  11. object Iterators

    Utilities and implicits for iterators.

  12. object JavaArrayOps

    This utility class facilitates transparent access of breeze data objects from plain Java without Scala-related Generic complications.

  13. def LOCATION: String

    Computes the current source file and line number.

    Computes the current source file and line number.

    Annotations
    @noinline()
  14. object Lens

  15. object Profiling

  16. object ReflectionUtil

  17. object Sorting

  18. def TODO: Nothing

    You can write TODO in your code, and get an exception at runtime for any expression.

  19. object Terminal

  20. object TopK

  21. object TopKImplicits

  22. object UpdateSerializedObjects

    Class that reads in objects serialized with breeze.util.writeObject, ignoring their serialversionuids, and then writes them to the same file.

  23. def XXX: Nothing

    You can write XXX in your code and get an exception at runtime for any expression.

  24. implicit def _bitsetcbf[U]: CanBuildFrom[BitSet, U, Set[U]]

  25. implicit def arraySeqExtras[T](s: Array[T]): SeqExtras[T]

  26. def deserializeFromBytes[T](bytes: Array[Byte]): T

  27. def memoryString: String

    Returns a string with info about the available and used space.

  28. def nonstupidObjectInputStream(stream: InputStream, ignoreSerialVersionUID: Boolean = false): ObjectInputStream

    For reasons that are best described as asinine, ObjectInputStream does not take into account Thread.

    For reasons that are best described as asinine, ObjectInputStream does not take into account Thread.currentThread.getContextClassLoader. This fixes that.

    stream
    ignoreSerialVersionUID

    this is not a safe thing to do, but sometimes...

    returns

  29. object partition extends UFunc

    Creates a copy of the array with its elements rearranged in such a way that the value of the element in kth position is in the position it would be in a sorted array.

  30. object quickSelect extends UFunc

    Quickselect for linear-time medians, etc.

  31. def readObject[T](loc: File, ignoreSerialVersionUID: Boolean): T

    Deserializes an object using java serialization

  32. def readObject[T](loc: File): T

    Deserializes an object using java serialization

  33. implicit def seqExtras[T](s: Seq[T]): SeqExtras[T]

  34. def serializeToBytes[T](obj: T): Array[Byte]

  35. def trace[T](a: T): T

    prints a and returns it.

  36. def writeObject[T](out: File, parser: T): Unit

    Serializes an object using java serialization

Deprecated Value Members

  1. object quickSelectImpl extends UFunc

    quickSelectImpl does not clone the input array before doing a quickSelect-sort but instead swaps in place, and therefore, allows other functions to access the intermediate results of the sorting procedure.

Inherited from AnyRef

Inherited from Any

Ungrouped