Package org.ejml.equation
Class VariableScalar
java.lang.Object
org.ejml.equation.Variable
org.ejml.equation.VariableScalar
- Direct Known Subclasses:
VariableDouble
,VariableInteger
public abstract class VariableScalar extends Variable
Variable for storing primitive scalar data types, e.g. int and double.
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
VariableScalar.Type
-
Constructor Summary
Constructors Modifier Constructor Description protected
VariableScalar(VariableScalar.Type type)
-
Method Summary
Modifier and Type Method Description abstract double
getDouble()
VariableScalar.Type
getScalarType()
java.lang.String
toString()
-
Constructor Details
-
Method Details
-
getDouble
public abstract double getDouble() -
toString
public java.lang.String toString() -
getScalarType
-