@rayyamhk/complex
Version:
A lightweight and easy-to-use library for you to manipulate complex numbers
17 lines (15 loc) • 443 B
JavaScript
;
/**
* Calculates the inverse cosecant of a Complex Number.
* The domain of this function is C / { 0 }.<br><br>
*
* If the argument is out of its domain, it returns Complex.NaN.
* @memberof Complex
* @static
* @param {Complex} num - Any Complex Number except 0
* @returns {Complex} The result of inverse cosecant function
*/
function acsc(num) {
return this.asin(this.inverse(num));
}
module.exports = acsc;