Code view:

A painting is a person's account of this edit as text, recorded independently of the node mapping - a rendering often has several equally defensible answers where the mapping has one. Deletions and insertions carry no position on the opposite side in a painting, so that panel draws no caret for them.

Before

…lines 1–30 unchanged (30 lines)
31public class Gamma implements Serializable {
32
33 /** Serializable version identifier */
34 private static final long serialVersionUID = -6587513359895466954L;
35
36 /** Maximum allowed numerical error. */
37 private static final double DEFAULT_EPSILON = 10e-9;
38
39 /** Lanczos coefficients */
40 private static double[] lanczos =
41 {
42 0.99999999999999709182,
43 57.156235665862923517,
…lines 44–263 unchanged (220 lines)

After

…lines 1–30 unchanged (30 lines)
31public class Gamma implements Serializable {
32
33 /** Serializable version identifier */
34 private static final long serialVersionUID = -6587513359895466954L;
35
36 /** Maximum allowed numerical error. */
37 private static final double DEFAULT_EPSILON = 10e-15;
38
39 /** Lanczos coefficients */
40 private static double[] lanczos =
41 {
42 0.99999999999999709182,
43 57.156235665862923517,
…lines 44–263 unchanged (220 lines)

Before

program
block_comment "/*\n * Licensed to the Apache Software Foundation (ASF) under"...
package_declaration
package "package"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math"
. "."
identifier "special"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "io"
. "."
identifier "Serializable"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math"
. "."
identifier "MathException"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math"
. "."
identifier "MaxIterationsExceededException"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math"
. "."
identifier "util"
. "."
identifier "ContinuedFraction"
; ";"
block_comment "/**\n * This is a utility class that provides computation met"...
class_declaration
modifiers
public "public"
class "class"
identifier "Gamma"
super_interfaces
implements "implements"
type_list
type_identifier "Serializable"
class_body
{ "{"
block_comment "/** Serializable version identifier */"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
unary_expression
- "-"
decimal_integer_literal "6587513359895466954L"
; ";"
block_comment "/** Maximum allowed numerical error. */"
field_declaration
modifiers
private "private"
static "static"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "DEFAULT_EPSILON"
= "="
decimal_floating_point_literal "10e-9"
; ";"
block_comment "/** Lanczos coefficients */"
field_declaration (+59 nodes collapsed)
block_comment "/** Avoid repeated computation of log of 2 PI in logGamma */"
field_declaration (+28 nodes collapsed)
block_comment "/**\n * Default constructor. Prohibit instantiation.\n "...
constructor_declaration
modifiers
private "private"
identifier "Gamma"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
explicit_constructor_invocation
super "super"
argument_list
( "("
) ")"
; ";"
} "}"
block_comment "/**\n * Returns the natural logarithm of the gamma functi"...
method_declaration (+209 nodes collapsed)
block_comment "/**\n * Returns the regularized gamma function P(a, x).\n "...
method_declaration (+43 nodes collapsed)
block_comment "/**\n * Returns the regularized gamma function P(a, x).\n "...
method_declaration (+327 nodes collapsed)
block_comment "/**\n * Returns the regularized gamma function Q(a, x) = "...
method_declaration (+43 nodes collapsed)
block_comment "/**\n * Returns the regularized gamma function Q(a, x) = "...
method_declaration (+331 nodes collapsed)
} "}"

After

program
block_comment "/*\n * Licensed to the Apache Software Foundation (ASF) under"...
package_declaration
package "package"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math"
. "."
identifier "special"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
identifier "java"
. "."
identifier "io"
. "."
identifier "Serializable"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math"
. "."
identifier "MathException"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math"
. "."
identifier "MaxIterationsExceededException"
; ";"
import_declaration
import "import"
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
scoped_identifier
identifier "org"
. "."
identifier "apache"
. "."
identifier "commons"
. "."
identifier "math"
. "."
identifier "util"
. "."
identifier "ContinuedFraction"
; ";"
block_comment "/**\n * This is a utility class that provides computation met"...
class_declaration
modifiers
public "public"
class "class"
identifier "Gamma"
super_interfaces
implements "implements"
type_list
type_identifier "Serializable"
class_body
{ "{"
block_comment "/** Serializable version identifier */"
field_declaration
modifiers
private "private"
static "static"
final "final"
integral_type
long "long"
variable_declarator
identifier "serialVersionUID"
= "="
unary_expression
- "-"
decimal_integer_literal "6587513359895466954L"
; ";"
block_comment "/** Maximum allowed numerical error. */"
field_declaration
modifiers
private "private"
static "static"
final "final"
floating_point_type
double "double"
variable_declarator
identifier "DEFAULT_EPSILON"
= "="
decimal_floating_point_literal "10e-15"
; ";"
block_comment "/** Lanczos coefficients */"
field_declaration (+59 nodes collapsed)
block_comment "/** Avoid repeated computation of log of 2 PI in logGamma */"
field_declaration (+28 nodes collapsed)
block_comment "/**\n * Default constructor. Prohibit instantiation.\n "...
constructor_declaration
modifiers
private "private"
identifier "Gamma"
formal_parameters
( "("
) ")"
constructor_body
{ "{"
explicit_constructor_invocation
super "super"
argument_list
( "("
) ")"
; ";"
} "}"
block_comment "/**\n * Returns the natural logarithm of the gamma functi"...
method_declaration (+209 nodes collapsed)
block_comment "/**\n * Returns the regularized gamma function P(a, x).\n "...
method_declaration (+43 nodes collapsed)
block_comment "/**\n * Returns the regularized gamma function P(a, x).\n "...
method_declaration (+327 nodes collapsed)
block_comment "/**\n * Returns the regularized gamma function Q(a, x) = "...
method_declaration (+43 nodes collapsed)
block_comment "/**\n * Returns the regularized gamma function Q(a, x) = "...
method_declaration (+331 nodes collapsed)
} "}"