public enum SurfaceModel extends Enum<SurfaceModel>
| Enum Constant and Description |
|---|
Cubic
z(x, y) = b0 + b1*x + b2*y + b3*x^2 +b4*y^2
+ b5*x^3 + b6*y^3.
|
CubicWithCrossTerms
z(x, y) = b0 + b1*x + b2*y + b3*x^2 +b4*y^2 + b5*x*y
+ b6*x^2*y + b7*x*y^2 + b8*x^3 + b9*y^3.
|
Planar
z(x,y) = b0 + b1*x + b2*y
|
PlanarWithCrossTerms
z(x,y) = b0 + b1*x + b2*y + b3*x*y
|
Quadratic
z(x, y) = b0 + b1*x + b2*y + b3*x^2 +b4*y^2
|
QuadraticWithCrossTerms
z(x, y) = b0 + b1*x + b2*y + b3*x^2 +b4*y^2 + b5*x*y
|
| Modifier and Type | Method and Description |
|---|---|
String |
getAbbreviation()
Gets a three letter abbreviation indicating the model type,
intended for tabular data output.
|
int |
getCoefficientCount() |
int |
getIndependentVariableCount() |
static SurfaceModel |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static SurfaceModel[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final SurfaceModel Planar
public static final SurfaceModel PlanarWithCrossTerms
public static final SurfaceModel Quadratic
public static final SurfaceModel QuadraticWithCrossTerms
public static final SurfaceModel Cubic
public static final SurfaceModel CubicWithCrossTerms
public static SurfaceModel[] values()
for (SurfaceModel c : SurfaceModel.values()) System.out.println(c);
public static SurfaceModel valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic int getCoefficientCount()
public int getIndependentVariableCount()
public String getAbbreviation()
Copyright © 2021. All rights reserved.