Show / Hide Table of Contents

    Class FastExponentiation

    A fast exponentiation algorithm implementation.

    Inheritance
    Object
    FastExponentiation
    Namespace: Advanced.Algorithms.Numerical
    Assembly: Advanced.Algorithms.dll
    Syntax
    public class FastExponentiation : object

    Methods

    BySquaring(Int32, Int32)

    Computes exponentiation using squaring.

    Declaration
    public static int BySquaring(int base, int power)
    Parameters
    Type Name Description
    Int32 base
    Int32 power
    Returns
    Type Description
    Int32
    Back to top Generated by DocFX