Package eu.simuline.octave.type
Class Octave
- java.lang.Object
-
- eu.simuline.octave.type.Octave
-
public final class Octave extends Object
Place holder for factory methods.
-
-
Field Summary
Fields Modifier and Type Field Description private static OctaveBooleanFALSEConstant false of corresponding with octave bool.private static OctaveBooleanTRUEConstant true of corresponding with octave bool.
-
Constructor Summary
Constructors Modifier Constructor Description privateOctave()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static OctaveBooleanbool(boolean b)Returns java counterparts of octave bools.static OctaveDoublescalar(double d)Returns java counterparts of octave scalars.
-
-
-
Field Detail
-
TRUE
private static final OctaveBoolean TRUE
Constant true of corresponding with octave bool.
-
FALSE
private static final OctaveBoolean FALSE
Constant false of corresponding with octave bool.
-
-
Method Detail
-
scalar
public static OctaveDouble scalar(double d)
Returns java counterparts of octave scalars.- Parameters:
d-- Returns:
- New OctaveDouble with a single value
-
bool
public static OctaveBoolean bool(boolean b)
Returns java counterparts of octave bools.- Parameters:
b-- Returns:
- New OctaveBoolean with a single value
-
-