|
|||||||||
| Home >> All >> riso >> [ distributions overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
riso.distributions
Class Square

java.lang.Objectriso.distributions.AbstractConditionalDistribution
riso.distributions.FunctionalRelation
riso.distributions.Square
- All Implemented Interfaces:
- ConditionalDistribution, java.io.Serializable
- public class Square
- extends FunctionalRelation
| Field Summary |
| Fields inherited from class riso.distributions.FunctionalRelation |
NGRID |
| Fields inherited from class riso.distributions.AbstractConditionalDistribution |
associated_variable |
| Constructor Summary | |
Square()
Do-nothing constructor. |
|
| Method Summary | |
double[] |
dFdx(double[] x)
Returns the derivative of the square function. |
double |
F(double[] x)
Returns the square of the argument. |
java.lang.String |
format_string(java.lang.String leading_ws)
Creates a description of this distribution as a string. |
int |
ndimensions_parent()
Returns the number of dimensions of the parent variables, which is always 1. |
| Methods inherited from class riso.distributions.FunctionalRelation |
clone, component_roots, get_density, ndimensions_child, p, random |
| Methods inherited from class riso.distributions.AbstractConditionalDistribution |
get_nstates, parse_string, pretty_input, pretty_output, set_variable, toString |
| Methods inherited from class java.lang.Object |
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
Square
public Square()
- Do-nothing constructor.
| Method Detail |
ndimensions_parent
public int ndimensions_parent()
- Returns the number of dimensions of the parent variables, which is always 1.
F
public double F(double[] x)
- Returns the square of the argument.
- Specified by:
Fin classFunctionalRelation
dFdx
public double[] dFdx(double[] x)
- Returns the derivative of the square function.
- Specified by:
dFdxin classFunctionalRelation
format_string
public java.lang.String format_string(java.lang.String leading_ws) throws java.io.IOException
- Creates a description of this distribution as a string.
- Specified by:
format_stringin interfaceConditionalDistribution- Overrides:
format_stringin classFunctionalRelation
|
|||||||||
| Home >> All >> riso >> [ distributions overview ] | PREV CLASS NEXT CLASS | ||||||||
SUMMARY: JAVADOC | SOURCE | DOWNLOAD | NESTED | FIELD | CONSTR | METHOD |
DETAIL: FIELD | CONSTR | METHOD | ||||||||
JAVADOC