📄 acsc.java
字号:
package jmathlib.toolbox.trigonometric;
import jmathlib.core.functions.ExternalElementWiseFunction;
import jmathlib.core.tokens.numbertokens.DoubleNumberToken;
public class acsc extends ExternalElementWiseFunction
{
public acsc()
{
name = "acsc";
}
/**trigonometric functions - calculates the inverse cosecans
@param double value array
@return the result as a double array
*/
public double[] evaluateValue(double[] arg)
{
DoubleNumberToken num = new DoubleNumberToken();
asin asinFunc = new asin();
double[] temp = num.divide(new double[]{1,0}, arg);
double[] result = asinFunc.evaluateValue(temp);
return result;
}
}
/*
@GROUP
trigonometric
@SYNTAX
acsc(value)
@DOC
calculates the inverse cosecans
@NOTES
@EXAMPLES
.
@SEE
sec, cot, csch, sech, coth
*/
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -