cc.factorie.variable

RealVariable

class RealVariable extends MutableRealVar

A mutable variable with Tensor value which holds a single real (Double) value. Unlike a DoubleValue, these can be used in DotFamilyWithStatistics because its value is a Tensor.

Linear Supertypes
Known Subclasses
Ordering
  1. Alphabetic
  2. By inheritance
Inherited
  1. RealVariable
  2. MutableRealVar
  3. MutableVar
  4. MutableIntScalarVar
  5. MutableDoubleScalarVar
  6. RealVar
  7. ScalarVar
  8. VectorVar
  9. TensorVar
  10. Var
  11. AnyRef
  12. Any
  1. Hide All
  2. Show all
Learn more about member selection
Visibility
  1. Public
  2. All

Instance Constructors

  1. new RealVariable(rv: RealValue)

  2. new RealVariable()

  3. new RealVariable(initialValue: Double)

Type Members

  1. case class RealDiff(oldValue: Double, newValue: Double) extends Diff with Product with Serializable

  2. type Value = RealValue

    Definition Classes
    RealVarVectorVarTensorVarVar

Value Members

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

    Definition Classes
    AnyRef
  2. final def !=(arg0: Any): Boolean

    Definition Classes
    Any
  3. def !==(other: Var): Boolean

    Definition Classes
    Var
  4. final def ##(): Int

    Definition Classes
    AnyRef → Any
  5. def *=(x: Double): Unit

  6. def +=(x: Double): Unit

  7. def -=(x: Double): Unit

  8. def /=(x: Double): Unit

  9. def :=(x: Double): Unit

  10. final def :=(newValue: Value): Unit

    Definition Classes
    MutableVar
  11. final def ==(arg0: AnyRef): Boolean

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

    Definition Classes
    Any
  13. def ===(other: Var): Boolean

    Value comparisons (as distinct from variable pointer equality)

    Value comparisons (as distinct from variable pointer equality)

    Definition Classes
    Var
  14. final def asInstanceOf[T0]: T0

    Definition Classes
    Any
  15. def clone(): AnyRef

    Attributes
    protected[java.lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  16. def contains(index: Int): Boolean

    Definition Classes
    VectorVar
  17. def domain: RealDomain.type

    Definition Classes
    RealVarVectorVar
  18. final def doubleValue: Double

    Definition Classes
    RealVariableRealVarScalarVar
    Annotations
    @inline()
  19. def doubleValue_=(newValue: Double)(implicit d: DiffList): Unit

    Definition Classes
    MutableDoubleScalarVar
  20. final def eq(arg0: AnyRef): Boolean

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

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

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

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

    Definition Classes
    AnyRef → Any
  25. def intValue: Int

    Definition Classes
    RealVarScalarVar
  26. def intValue_=(newValue: Int)(implicit d: DiffList): Unit

    Definition Classes
    MutableIntScalarVar
  27. final def isInstanceOf[T0]: Boolean

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

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

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

    Definition Classes
    AnyRef
  31. def printName: String

    Definition Classes
    Var
  32. final def set(newValue: Int)(implicit d: DiffList): Unit

    Definition Classes
    RealVariableMutableIntScalarVar
  33. final def set(newValue: RealValue)(implicit d: DiffList): Unit

    Assign a new value to this variable

    Assign a new value to this variable

    Definition Classes
    RealVariableMutableVar
  34. def set(newValue: Double)(implicit d: DiffList): Unit

    Definition Classes
    RealVariableMutableDoubleScalarVar
  35. final def synchronized[T0](arg0: ⇒ T0): T0

    Definition Classes
    AnyRef
  36. def toString(): String

    Definition Classes
    RealVarVar → AnyRef → Any
  37. final def value: RealValue

    Abstract method to return the value of this variable.

    Abstract method to return the value of this variable.

    Definition Classes
    RealVarVectorVarTensorVarVar
    Annotations
    @inline()
  38. final def wait(): Unit

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

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

    Definition Classes
    AnyRef
    Annotations
    @throws( ... )

Inherited from MutableRealVar

Inherited from MutableVar

Inherited from MutableIntScalarVar

Inherited from MutableDoubleScalarVar

Inherited from RealVar

Inherited from ScalarVar

Inherited from VectorVar

Inherited from TensorVar

Inherited from Var

Inherited from AnyRef

Inherited from Any

Ungrouped