acsch.java
来自「JAVA 数学程序库 提供常规的数值计算程序包」· Java 代码 · 共 48 行
JAVA
48 行
package jmathlib.toolbox.trigonometric;
import jmathlib.core.functions.ExternalElementWiseFunction;
import jmathlib.core.tokens.numbertokens.DoubleNumberToken;
public class acsch extends ExternalElementWiseFunction
{
public acsch()
{
name = "acsch";
}
/**trigonometric functions -calculates the inverse hperbolic cosecant
* @param double value array
* @return the result as a double array
*/
public double[] evaluateValue(double[] arg)
{
DoubleNumberToken num = new DoubleNumberToken();
asinh asinhFunc = new asinh();
double[] temp = num.divide(new double[]{1,0}, arg);
double[] result = asinhFunc.evaluateValue(temp);
return result;
}
}
/*
@GROUP
trigonometric
@SYNTAX
acsch(value)
@DOC
calculates the inverse hperbolic cosecant
@NOTES
@EXAMPLES
<programlisting>
y = acsch(x)
</programlisting>
@SEE
sec, cot, csch, sech, coth
*/
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?