Package name.abuchen.portfolio.math

Examples of name.abuchen.portfolio.math.PseudoDerivativeFunction.compute()


            }
        };

        PseudoDerivativeFunction p = new PseudoDerivativeFunction(f);

        double result = p.compute(1d);

        assertThat(new BigDecimal(result).setScale(5, BigDecimal.ROUND_HALF_UP).doubleValue(), is(1d));
    }
}
View Full Code Here

TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.