class_body
{ "{"
block_comment "/** Array of all compilers created so far. */"
field_declaration (+38 nodes collapsed)
block_comment "/** Number of free parameters. */"
field_declaration
modifiers
private "private"
final "final"
integral_type
int "int"
variable_declarator
identifier "parameters"
; ";"
block_comment "/** Derivation order. */"
field_declaration
modifiers
private "private"
final "final"
integral_type
int "int"
variable_declarator
identifier "order"
; ";"
block_comment "/** Number of partial derivatives (including the single 0 or"...
field_declaration
modifiers
private "private"
final "final"
array_type
integral_type
int "int"
dimensions
[ "["
] "]"
[ "["
] "]"
variable_declarator
identifier "sizes"
; ";"
block_comment "/** Indirection array for partial derivatives. */"
field_declaration
modifiers
private "private"
final "final"
array_type
integral_type
int "int"
dimensions
[ "["
] "]"
[ "["
] "]"
variable_declarator
identifier "derivativesIndirection"
; ";"
block_comment "/** Indirection array of the lower derivative elements. */"
field_declaration
modifiers
private "private"
final "final"
array_type
integral_type
int "int"
dimensions
[ "["
] "]"
variable_declarator
identifier "lowerIndirection"
; ";"
block_comment "/** Indirection arrays for multiplication. */"
field_declaration
modifiers
private "private"
final "final"
array_type
integral_type
int "int"
dimensions
[ "["
] "]"
[ "["
] "]"
[ "["
] "]"
variable_declarator
identifier "multIndirection"
; ";"
block_comment "/** Indirection arrays for function composition. */"
field_declaration
modifiers
private "private"
final "final"
array_type
integral_type
int "int"
dimensions
[ "["
] "]"
[ "["
] "]"
[ "["
] "]"
variable_declarator
identifier "compIndirection"
; ";"
block_comment "/** Private constructor, reserved for the factory method {@l"...
constructor_declaration (+157 nodes collapsed)
block_comment "/** Get the compiler for number of free parameters and order"...
method_declaration (+495 nodes collapsed)
block_comment "/** Compile the sizes array.\n * @param parameters number"...
method_declaration (+207 nodes collapsed)
block_comment "/** Compile the derivatives indirection array.\n * @param"...
method_declaration (+277 nodes collapsed)
block_comment "/** Compile the lower derivatives indirection array.\n * "...
method_declaration (+208 nodes collapsed)
block_comment "/** Compile the multiplication indirection array.\n * <p>"...
method_declaration (+681 nodes collapsed)
block_comment "/** Compile the function composition indirection array.\n "...
method_declaration (+1039 nodes collapsed)
block_comment "/** Get the index of a partial derivative in the array.\n "...
method_declaration (+79 nodes collapsed)
block_comment "/** Get the index of a partial derivative in an array.\n "...
method_declaration (+186 nodes collapsed)
block_comment "/** Convert an index from one (parameters, order) structure "...
method_declaration (+131 nodes collapsed)
block_comment "/** Get the derivation orders for a specific index in the ar"...
method_declaration (+30 nodes collapsed)
block_comment "/** Get the number of free parameters.\n * @return number"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getFreeParameters"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "parameters"
; ";"
} "}"
block_comment "/** Get the derivation order.\n * @return derivation orde"...
method_declaration
modifiers
public "public"
integral_type
int "int"
identifier "getOrder"
formal_parameters
( "("
) ")"
block
{ "{"
return_statement
return "return"
identifier "order"
; ";"
} "}"
block_comment "/** Get the array size required for holding partial derivati"...
method_declaration (+24 nodes collapsed)
block_comment "/** Compute linear combination.\n * The derivative struct"...
method_declaration (+145 nodes collapsed)
block_comment "/** Compute linear combination.\n * The derivative struct"...
method_declaration (+181 nodes collapsed)
block_comment "/** Compute linear combination.\n * The derivative struct"...
method_declaration (+217 nodes collapsed)
block_comment "/** Perform addition of two derivative structures.\n * @p"...
method_declaration (+121 nodes collapsed)
block_comment "/** Perform subtraction of two derivative structures.\n *"...
method_declaration (+121 nodes collapsed)
block_comment "/** Perform multiplication of two derivative structures.\n "...
method_declaration (+207 nodes collapsed)
block_comment "/** Perform division of two derivative structures.\n * @p"...
method_declaration (+125 nodes collapsed)
block_comment "/** Perform remainder of two derivative structures.\n * @"...
method_declaration (+192 nodes collapsed)
block_comment "/** Compute power of a derivative structure.\n * @param o"...
method_declaration (+221 nodes collapsed)
block_comment "/** Compute integer power of a derivative structure.\n * "...
method_declaration (+385 nodes collapsed)
block_comment "/** Compute power of a derivative structure.\n * @param x"...
method_declaration (+160 nodes collapsed)
block_comment "/** Compute n<sup>th</sup> root of a derivative structure.\n "...
method_declaration (+345 nodes collapsed)
block_comment "/** Compute exponential of a derivative structure.\n * @p"...
method_declaration (+109 nodes collapsed)
block_comment "/** Compute exp(x) - 1 of a derivative structure.\n * @pa"...
method_declaration (+137 nodes collapsed)
block_comment "/** Compute natural logarithm of a derivative structure.\n "...
method_declaration (+186 nodes collapsed)
block_comment "/** Computes shifted logarithm of a derivative structure.\n "...
method_declaration (+192 nodes collapsed)
block_comment "/** Computes base 10 logarithm of a derivative structure.\n "...
method_declaration (+196 nodes collapsed)
block_comment "/** Compute cosine of a derivative structure.\n * @param "...
method_declaration (+184 nodes collapsed)
block_comment "/** Compute sine of a derivative structure.\n * @param op"...
method_declaration (+182 nodes collapsed)
block_comment "/** Compute tangent of a derivative structure.\n * @param"...
method_declaration (+401 nodes collapsed)
block_comment "/** Compute arc cosine of a derivative structure.\n * @pa"...
method_declaration (+470 nodes collapsed)
block_comment "/** Compute arc sine of a derivative structure.\n * @para"...
method_declaration (+468 nodes collapsed)
block_comment "/** Compute arc tangent of a derivative structure.\n * @p"...
method_declaration (+460 nodes collapsed)
block_comment "/** Compute two arguments arc tangent of a derivative struct"...
method_declaration
modifiers
public "public"
void_type "void"
identifier "atan2"
formal_parameters (+56 nodes collapsed)
block
{ "{"
line_comment "// compute r = sqrt(x^2+y^2)"
local_variable_declaration (+23 nodes collapsed)
expression_statement
method_invocation
identifier "multiply"
argument_list
( "("
identifier "x"
, ","
identifier "xOffset"
, ","
identifier "x"
, ","
identifier "xOffset"
, ","
identifier "tmp1"
, ","
decimal_integer_literal "0"
) ")"
; ";"
line_comment "// x^2"
local_variable_declaration (+23 nodes collapsed)
expression_statement
method_invocation
identifier "multiply"
argument_list
( "("
identifier "y"
, ","
identifier "yOffset"
, ","
identifier "y"
, ","
identifier "yOffset"
, ","
identifier "tmp2"
, ","
decimal_integer_literal "0"
) ")"
; ";"
line_comment "// y^2"
expression_statement
method_invocation
identifier "add"
argument_list
( "("
identifier "tmp1"
, ","
decimal_integer_literal "0"
, ","
identifier "tmp2"
, ","
decimal_integer_literal "0"
, ","
identifier "tmp2"
, ","
decimal_integer_literal "0"
) ")"
; ";"
line_comment "// x^2 + y^2"
expression_statement
method_invocation
identifier "rootN"
argument_list
( "("
identifier "tmp2"
, ","
decimal_integer_literal "0"
, ","
decimal_integer_literal "2"
, ","
identifier "tmp1"
, ","
decimal_integer_literal "0"
) ")"
; ";"
line_comment "// r = sqrt(x^2 + y^2)"
if_statement (+271 nodes collapsed)
line_comment "// fix value to take special cases (+0/+0, +0/-0, -0/+0, -0/"...
} "}"
block_comment "/** Compute hyperbolic cosine of a derivative structure.\n "...
method_declaration (+180 nodes collapsed)
block_comment "/** Compute hyperbolic sine of a derivative structure.\n "...
method_declaration (+180 nodes collapsed)
block_comment "/** Compute hyperbolic tangent of a derivative structure.\n "...
method_declaration (+403 nodes collapsed)
block_comment "/** Compute inverse hyperbolic cosine of a derivative struct"...
method_declaration (+470 nodes collapsed)
block_comment "/** Compute inverse hyperbolic sine of a derivative structur"...
method_declaration (+468 nodes collapsed)
block_comment "/** Compute inverse hyperbolic tangent of a derivative struc"...
method_declaration (+458 nodes collapsed)
block_comment "/** Compute composition of a derivative structure by a funct"...
method_declaration (+240 nodes collapsed)
block_comment "/** Evaluate Taylor expansion of a derivative structure.\n "...
method_declaration (+199 nodes collapsed)
block_comment "/** Check rules set compatibility.\n * @param compiler ot"...
method_declaration (+79 nodes collapsed)
} "}"