Java Cube cubed(final int input)

Here you can find the source of cubed(final int input)

Description

Cubes the specified number.

License

Creative Commons License

Parameter

Parameter Description
input number to edit

Return

the number cubed

Declaration

public static double cubed(final int input) 

Method Source Code

//package com.java2s;
//License from project: Creative Commons License 

public class Main {
    /**/* ww w .j  a v  a2s .co m*/
     * Cubes the specified number.
     * @param input number to edit
     * @return the number cubed
     */
    public static double cubed(final int input) {
        return Math.pow(input, 3);
    }
}

Related

  1. cube(double d)
  2. cube(double value)
  3. cube(int a)
  4. cube(int value)
  5. cube2rect(byte[][][] cube)
  6. cubeIntersectsSphere(int x1, int y1, int z1, int x2, int y2, int z2, int sX, int sY, int sZ, int radius)
  7. cubeTextureArray(float x0, float y0, float x1, float y1)
  8. cubeTextureFace(float x0, float y0, float x1, float y1)
  9. cubeToBounds(float[] target, float x, float y, float z, float w, float d, float h)