Package org.djutils.math.complex
Class TestComplexMath
java.lang.Object
org.djutils.math.complex.TestComplexMath
TestComplexMath.java. 
 
Copyright (c) 2020-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
Copyright (c) 2020-2025 Delft University of Technology, Jaffalaan 5, 2628 BX Delft, the Netherlands. All rights reserved. See for project information https://djutils.org. The DJUTILS project is distributed under a three-clause BSD-style license, which can be found at https://djutils.org/docs/license.html.
- Author:
 - Alexander Verbraeck, Peter Knoppers
 
- 
Constructor Summary
Constructors - 
Method Summary
Modifier and TypeMethodDescriptionstatic doubledoubleAcosh(double x) Copied from Forget Code acosh.static doubledoubleAsinh(double x) Copied from Forget Code asinh.static StringvoidTest the asin, acos and atan functions.voidTest the asinh function.voidtestCbrt()Test the cube root function.voidtestExp()Test the exponential function.voidtestLog()Test the natural logarithm function.voidTest the sine, cosine and tangent functions.voidTest the sinh, cosh, tanh functions.voidtestSqrt()Test the square root function. 
- 
Constructor Details
- 
TestComplexMath
public TestComplexMath() 
 - 
 - 
Method Details
- 
testSqrt
Test the square root function. - 
testCbrt
Test the cube root function. - 
testExp
Test the exponential function. - 
testLog
Test the natural logarithm function. - 
testSinCosTan
Test the sine, cosine and tangent functions. - 
testSinhCoshTanH
Test the sinh, cosh, tanh functions. - 
testAsinAcosAtan
Test the asin, acos and atan functions. - 
testAsinh
Test the asinh function. - 
doubleAsinh
public static double doubleAsinh(double x) Copied from Forget Code asinh.- Parameters:
 x- the argument- Returns:
 - the inverse hyperbolic cosine of x
 
 - 
doubleAcosh
public static double doubleAcosh(double x) Copied from Forget Code acosh.- Parameters:
 x- the argument- Returns:
 - the inverse hyperbolic cosine of x
 
 - 
printComplex
- Parameters:
 c- a complex number- Returns:
 - String
 
 
 -