All Downloads are FREE. Search and download functionalities are using the official Maven repository.

de.bixilon.kotlinglm.gtx.gtx_OptimumPow.kt Maven / Gradle / Ivy

There is a newer version: 0.9.9.1-12
Show newest version
package de.bixilon.kotlinglm.gtx

interface gtx_OptimumPow {

    /** Returns x raised to the power of 2.
     *  @see gtx_optimum_pow */
    fun pow2(x: Float) = x * x

    /** Returns x raised to the power of 3.
     *  @see gtx_optimum_pow */
    fun pow3(x: Float) = x * x * x

    /** Returns x raised to the power of 4.
     *  @see gtx_optimum_pow */
    fun pow4(x: Float) = x * x * x * x
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy