5
5
* The ASF licenses this file to You under the Apache License, Version 2.0
6
6
* (the "License"); you may not use this file except in compliance with
7
7
* the License. You may obtain a copy of the License at
9
9
* http://www.apache.org/licenses/LICENSE-2.0
11
11
* Unless required by applicable law or agreed to in writing, software
12
12
* distributed under the License is distributed on an "AS IS" BASIS,
13
13
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
60
60
public void testRegularizedBetaPositivePositiveNan() {
61
61
testRegularizedBeta(Double.NaN, 0.5, 1.0, Double.NaN);
64
64
public void testRegularizedBetaNegativePositivePositive() {
65
65
testRegularizedBeta(Double.NaN, -0.5, 1.0, 2.0);
68
68
public void testRegularizedBetaPositiveNegativePositive() {
69
69
testRegularizedBeta(Double.NaN, 0.5, -1.0, 2.0);
72
72
public void testRegularizedBetaPositivePositiveNegative() {
73
73
testRegularizedBeta(Double.NaN, 0.5, 1.0, -2.0);
76
76
public void testRegularizedBetaZeroPositivePositive() {
77
77
testRegularizedBeta(0.0, 0.0, 1.0, 2.0);
80
80
public void testRegularizedBetaPositiveZeroPositive() {
81
81
testRegularizedBeta(Double.NaN, 0.5, 0.0, 2.0);
84
84
public void testRegularizedBetaPositivePositiveZero() {
85
85
testRegularizedBeta(Double.NaN, 0.5, 1.0, 0.0);
88
88
public void testRegularizedBetaPositivePositivePositive() {
89
89
testRegularizedBeta(0.75, 0.5, 1.0, 2.0);
92
92
public void testLogBetaNanPositive() {
93
93
testLogBeta(Double.NaN, Double.NaN, 2.0);
96
96
public void testLogBetaPositiveNan() {
97
97
testLogBeta(Double.NaN, 1.0, Double.NaN);
100
100
public void testLogBetaNegativePositive() {
101
101
testLogBeta(Double.NaN, -1.0, 2.0);
104
104
public void testLogBetaPositiveNegative() {
105
105
testLogBeta(Double.NaN, 1.0, -2.0);
108
108
public void testLogBetaZeroPositive() {
109
109
testLogBeta(Double.NaN, 0.0, 2.0);
112
112
public void testLogBetaPositiveZero() {
113
113
testLogBeta(Double.NaN, 1.0, 0.0);
116
116
public void testLogBetaPositivePositive() {
117
117
testLogBeta(-0.693147180559945, 1.0, 2.0);
b'\\ No newline at end of file'