kr.ac.kaist.ir.deep.fn

ScalarMatrix

object ScalarMatrix

Companion Object of ScalarMatrix

This object defines various shortcuts.

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

Value Members

  1. final def !=(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  2. final def ##(): Int

    Definition Classes
    AnyRef → Any
  3. def $0(size: (Int, Int)): ScalarMatrix

    Generates full-zero matrix of given size

    Generates full-zero matrix of given size

    size

    (#row, #col) pair of matrix size, such as (2, 3)

    returns

    Matrix with initialized by zero

  4. def $01(pair: (Int, Int, Probability)): ScalarMatrix

    Generate full 0-1 matrix of given size.

    Generate full 0-1 matrix of given size. Probability of 1's occurrence is given.

    pair

    (#row, #col, probability) pair, where (#row, #col) indicates the matrix size, probability indicates the probability of 1's occurrence.

    returns

    generated matrix

  5. def $1(size: (Int, Int)): ScalarMatrix

    Generates full-one matrix of given size

    Generates full-one matrix of given size

    size

    (#row, #col) pair of matrix size, such as (2, 3)

    returns

    Matrix with initialized by one

  6. final def ==(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  7. def apply(seq: Float*): ScalarMatrix

    Make a column vector with given sequence.

    Make a column vector with given sequence.

    seq

    Sequence of entries, from (1,1) to (size, 1).

    returns

    column vector with given sequence

  8. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  9. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  10. def empty: ScalarMatrix

    An empty matrix for RAE training.

    An empty matrix for RAE training.

    returns

    an empty matrix

  11. final def eq(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  12. def equals(arg0: Any): Boolean

    Definition Classes
    AnyRef → Any
  13. def finalize(): Unit

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] )
  14. final def getClass(): Class[_]

    Definition Classes
    AnyRef → Any
  15. def hashCode(): Int

    Definition Classes
    AnyRef → Any
  16. final def isInstanceOf[T0]: Boolean

    Definition Classes
    Any
  17. final def ne(arg0: AnyRef): Boolean

    Definition Classes
    AnyRef
  18. final def notify(): Unit

    Definition Classes
    AnyRef
  19. final def notifyAll(): Unit

    Definition Classes
    AnyRef
  20. def of(size: (Int, Int)): ScalarMatrix

    Generates full-random matrix of given size

    Generates full-random matrix of given size

    size

    (#row, #col) pair of matrix size, such as (2, 3)

    returns

    Matrix with initialized by random number

  21. def restore(arr: IndexedSeq[IndexedSeq[String]]): ScalarMatrix

    Restore a matrix from JSON seq.

    Restore a matrix from JSON seq.

    arr

    2D Sequence to be restored

    returns

    restored matrix

  22. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  23. def toString(): String

    Definition Classes
    AnyRef → Any
  24. final def wait(): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  25. final def wait(arg0: Long, arg1: Int): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  26. final def wait(arg0: Long): Unit

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from AnyRef

Inherited from Any

Ungrouped