Home Reference Source
import konpeito from 'konpeito/src/konpeito.js'
public class | source

konpeito

Class collection of numerical calculation processing.

Type classes are classified into a BigInteger, BigDecimal, Fraction, Complex, Matrix.

  • BigInteger is a calculation class for arbitrary-precision integer arithmetic.
  • BigDecimal is a calculation class for arbitrary-precision floating point arithmetic.
  • Fraction is a calculation class for fractions with infinite precision.
  • Complex is a calculation class for complex numbers.
  • Matrix is a general-purpose calculation class with signal processing and statistical processing.

There are also classes for specific calculations such as numerical analysis.

  • DataAnalysis is a class that can analyze information from a large sample.

Static Member Summary

Static Public Members
public static get

BigDecimal: typeof BigDecimal: *

Return typedef BigDecimal for arbitrary-precision floating-point number.

public static get

BigInteger: typeof BigInteger: *

Return typedef BigInteger for arbitrary-precision integer calculation.

public static get

Complex: typeof Complex: *

Return typedef Complex for complex number calculation.

public static get

DataAnalysis: typeof DataAnalysis: *

Return typedef DataAnalysis.

public static get

Fraction: typeof Fraction: *

Return typedef Fraction for infinite precision arithmetic.

public static get

MathContext: typeof MathContext: *

Return Configuration class for BigDecimal.

public static get

Matrix: typeof Matrix: *

Return typedef Matrix for complex matrix calculation.

public static get

Random: typeof Random: *

Return typedef Random.

public static get

RoundingMode: typeof RoundingMode: *

Return Rounding class for BigDecimal.

Static Public Members

public static get BigDecimal: typeof BigDecimal: * source

Return typedef BigDecimal for arbitrary-precision floating-point number.

Return:

typeof BigDecimal

public static get BigInteger: typeof BigInteger: * source

Return typedef BigInteger for arbitrary-precision integer calculation.

Return:

typeof BigInteger

public static get Complex: typeof Complex: * source

Return typedef Complex for complex number calculation.

Return:

typeof Complex

public static get DataAnalysis: typeof DataAnalysis: * source

Return typedef DataAnalysis.

Return:

typeof DataAnalysis

public static get Fraction: typeof Fraction: * source

Return typedef Fraction for infinite precision arithmetic.

Return:

typeof Fraction

public static get MathContext: typeof MathContext: * source

Return Configuration class for BigDecimal.

Return:

typeof MathContext

public static get Matrix: typeof Matrix: * source

Return typedef Matrix for complex matrix calculation.

Return:

typeof Matrix

public static get Random: typeof Random: * source

Return typedef Random.

Return:

typeof Random

public static get RoundingMode: typeof RoundingMode: * source

Return Rounding class for BigDecimal.

Return:

typeof RoundingMode