go2hx

manual

github

Module: stdgo.math.cmplx

(view library index)

Overview

Index

Classes

import

class Cmplx

Package cmplx provides basic constants and mathematical functions for
    complex numbers. Special case handling conforms to the C99 standard
    Annex G IEC 60559-compatible complex arithmetic.

Cmplx function abs

function abs(_x:stdgo.GoComplex128):Float

Abs returns the absolute value (also called the modulus) of x.

(view code)

Cmplx function acos

function acos(_x:stdgo.GoComplex128):stdgo.GoComplex128

Acos returns the inverse cosine of x.

(view code)

Cmplx function acosh

function acosh(_x:stdgo.GoComplex128):stdgo.GoComplex128

Acosh returns the inverse hyperbolic cosine of x.

(view code)

Cmplx function asin

function asin(_x:stdgo.GoComplex128):stdgo.GoComplex128

Asin returns the inverse sine of x.

(view code)

Cmplx function asinh

function asinh(_x:stdgo.GoComplex128):stdgo.GoComplex128

Asinh returns the inverse hyperbolic sine of x.

(view code)

Cmplx function atan

function atan(_x:stdgo.GoComplex128):stdgo.GoComplex128

Atan returns the inverse tangent of x.

(view code)

Cmplx function atanh

function atanh(_x:stdgo.GoComplex128):stdgo.GoComplex128

Atanh returns the inverse hyperbolic tangent of x.

(view code)

Cmplx function benchmarkAbs

function benchmarkAbs(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkAcos

function benchmarkAcos(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkAcosh

function benchmarkAcosh(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkAsin

function benchmarkAsin(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkAsinh

function benchmarkAsinh(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkAtan

function benchmarkAtan(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkAtanh

function benchmarkAtanh(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkConj

function benchmarkConj(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkCos

function benchmarkCos(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkCosh

function benchmarkCosh(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkExp

function benchmarkExp(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkLog

function benchmarkLog(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkLog10

function benchmarkLog10(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkPhase

function benchmarkPhase(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkPolar

function benchmarkPolar(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkPow

function benchmarkPow(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkRect

function benchmarkRect(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkSin

function benchmarkSin(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkSinh

function benchmarkSinh(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkSqrt

function benchmarkSqrt(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkTan

function benchmarkTan(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function benchmarkTanh

function benchmarkTanh(_b:stdgo._internal.testing.B):Void

(view code)

Cmplx function conj

function conj(_x:stdgo.GoComplex128):stdgo.GoComplex128

Conj returns the complex conjugate of x.

(view code)

Cmplx function cos

function cos(_x:stdgo.GoComplex128):stdgo.GoComplex128

Cos returns the cosine of x.

(view code)

Cmplx function cosh

function cosh(_x:stdgo.GoComplex128):stdgo.GoComplex128

Cosh returns the hyperbolic cosine of x.

(view code)

Cmplx function cot

function cot(_x:stdgo.GoComplex128):stdgo.GoComplex128

Cot returns the cotangent of x.

(view code)

Cmplx function exp

function exp(_x:stdgo.GoComplex128):stdgo.GoComplex128

Exp returns e\\x, the base-e exponential of x.

(view code)

Cmplx function inf

function inf():stdgo.GoComplex128

Inf returns a complex infinity, complex(+Inf, +Inf).

(view code)

Cmplx function isInf

function isInf(_x:stdgo.GoComplex128):Bool

IsInf reports whether either real(x) or imag(x) is an infinity.

(view code)

Cmplx function isNaN

function isNaN(_x:stdgo.GoComplex128):Bool
IsNaN reports whether either real(x) or imag(x) is NaN
        and neither is an infinity.

(view code)

Cmplx function log

function log(_x:stdgo.GoComplex128):stdgo.GoComplex128

Log returns the natural logarithm of x.

(view code)

Cmplx function log10

function log10(_x:stdgo.GoComplex128):stdgo.GoComplex128

Log10 returns the decimal logarithm of x.

(view code)

Cmplx function naN

function naN():stdgo.GoComplex128

NaN returns a complex “not-a-number” value.

(view code)

Cmplx function phase

function phase(_x:stdgo.GoComplex128):Float
Phase returns the phase (also called the argument) of x.
        The returned value is in the range [-Pi, Pi].

(view code)

Cmplx function polar

function polar(_x:stdgo.GoComplex128):stdgo.Tuple<Float, Float>
Polar returns the absolute value r and phase θ of x,
        such that x = r * e**θi.
        The phase is in the range [-Pi, Pi].

(view code)

Cmplx function pow

function pow(_x:stdgo.GoComplex128, _y:stdgo.GoComplex128):stdgo.GoComplex128
Pow returns x**y, the base-x exponential of y.
        For generalized compatibility with math.Pow:
        	Pow(0, ±0) returns 1+0i
        	Pow(0, c) for real(c)<0 returns Inf+0i if imag(c) is zero, otherwise Inf+Inf i.

(view code)

Cmplx function rect

function rect(_r:Float, __952:Float):stdgo.GoComplex128

Rect returns the complex number x with polar coordinates r, θ.

(view code)

Cmplx function sin

function sin(_x:stdgo.GoComplex128):stdgo.GoComplex128

Sin returns the sine of x.

(view code)

Cmplx function sinh

function sinh(_x:stdgo.GoComplex128):stdgo.GoComplex128

Sinh returns the hyperbolic sine of x.

(view code)

Cmplx function sqrt

function sqrt(_x:stdgo.GoComplex128):stdgo.GoComplex128
Sqrt returns the square root of x.
        The result r is chosen so that real(r) ≥ 0 and imag(r) has the same sign as imag(x).

(view code)

Cmplx function tan

function tan(_x:stdgo.GoComplex128):stdgo.GoComplex128

Tan returns the tangent of x.

(view code)

Cmplx function tanh

function tanh(_x:stdgo.GoComplex128):stdgo.GoComplex128

Tanh returns the hyperbolic tangent of x.

(view code)

Cmplx function testAbs

function testAbs(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testAcos

function testAcos(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testAcosh

function testAcosh(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testAsin

function testAsin(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testAsinh

function testAsinh(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testAtan

function testAtan(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testAtanh

function testAtanh(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testConj

function testConj(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testCos

function testCos(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testCosh

function testCosh(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testExp

function testExp(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testInfiniteLoopIntanSeries

function testInfiniteLoopIntanSeries(_t:stdgo._internal.testing.T_):Void

See issue 17577

(view code)

Cmplx function testIsNaN

function testIsNaN(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testLog

function testLog(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testLog10

function testLog10(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testPolar

function testPolar(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testPow

function testPow(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testRect

function testRect(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testSin

function testSin(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testSinh

function testSinh(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testSqrt

function testSqrt(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testTan

function testTan(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testTanHuge

function testTanHuge(_t:stdgo._internal.testing.T_):Void

(view code)

Cmplx function testTanh

function testTanh(_t:stdgo._internal.testing.T_):Void

(view code)

Typedefs

import

typedef T__struct_0

typedef T__struct_0 = stdgo._internal.math.cmplx.T__struct_0;

Abstracts

abstract T_ff

(view file containing code)