public class Bern2D
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
Bern2D.DerivBits
sign bits for derivatives
|
static class |
Bern2D.NegBern2D
An always negative polynomial
|
static class |
Bern2D.PosBern2D
An always posative polynomial
|
static class |
Bern2D.QuadBern
Four Bernstring polynomials
|
static class |
Bern2D.Tower
Derivatives of a polynomial
|
static class |
Bern2D.ZeroBern2D
An always zero polynomial
|
Modifier and Type | Field and Description |
---|---|
double[][] |
coeffs |
static Bern2D.NegBern2D |
negBern2D |
static Bern2D.QuadBern |
negQuad |
static Bern2D.PosBern2D |
posBern2D |
static Bern2D.QuadBern |
posQuad |
int |
xord |
int |
yord |
static Bern2D.ZeroBern2D |
zeroBern2D |
Constructor and Description |
---|
Bern2D(int xord,
int yord) |
Modifier and Type | Method and Description |
---|---|
void |
addCoeff(int i,
int j,
double val) |
short |
allOneSign()
Test if all coefficient are strictly the same sign.
|
Bern2D |
diffX() |
Bern2D |
diffY() |
double |
ele2D(int i,
int j) |
double |
evalbern2D(double[] vec) |
static Bern2D |
fromPolyCoeffs(double[][] aa,
Range2D range)
Note the order of x,y is reversed here.
|
Bern2D.QuadBern |
reduce() |
void |
setCoeff(int i,
int j,
double coeff) |
static Bern2D |
symetricDet2D(Bern2D a,
Bern2D b,
Bern2D c) |
java.lang.String |
toString() |
public int xord
public int yord
public double[][] coeffs
public static final Bern2D.PosBern2D posBern2D
public static final Bern2D.NegBern2D negBern2D
public static final Bern2D.ZeroBern2D zeroBern2D
public static final Bern2D.QuadBern negQuad
public static final Bern2D.QuadBern posQuad
public final void setCoeff(int i, int j, double coeff)
public final void addCoeff(int i, int j, double val)
public final double ele2D(int i, int j)
public short allOneSign()
public Bern2D diffX() throws JepException
JepException
public Bern2D diffY() throws JepException
JepException
public Bern2D.QuadBern reduce() throws JepException
JepException
public static Bern2D fromPolyCoeffs(double[][] aa, Range2D range)
aa
- range
- public java.lang.String toString()
toString
in class java.lang.Object
public double evalbern2D(double[] vec)
Copyright © 2018 Singular Systems http://www.singularsys.com/jep