Skip to main content

Built and signed on GitHub Actions

A package provides implementation of complex numbers and mathematical functions for complex numbers.

This package works with Cloudflare Workers, Node.js, Deno, Bun, Browsers
This package works with Cloudflare Workers
This package works with Node.js
This package works with Deno
This package works with Bun
This package works with Browsers
JSR Score
100%
Published
4 months ago (1.1.1)
function ComplexMath.asinh
asinh(a: complex): complex

Returns the inverse hyperbolic sine of the complex number.

Examples

Example 1

import { ComplexMath, cmplx } from "@babia/complex";

ComplexMath.asinh(cmplx(1, 1)); // 1.0612750619050355 + 0.6662394324925153i

Parameters

A complex number

Return Type

Add Package

deno add jsr:@babia/complex

Import symbol

import { ComplexMath } from "@babia/complex";
const { asinh } = ComplexMath;

---- OR ----

Import directly with a jsr specifier

import { ComplexMath } from "jsr:@babia/complex";
const { asinh } = ComplexMath;

Add Package

npx jsr add @babia/complex

Import symbol

import { ComplexMath } from "@babia/complex";
const { asinh } = ComplexMath;

Add Package

yarn dlx jsr add @babia/complex

Import symbol

import { ComplexMath } from "@babia/complex";
const { asinh } = ComplexMath;

Add Package

pnpm dlx jsr add @babia/complex

Import symbol

import { ComplexMath } from "@babia/complex";
const { asinh } = ComplexMath;

Add Package

bunx jsr add @babia/complex

Import symbol

import { ComplexMath } from "@babia/complex";
const { asinh } = ComplexMath;