Palm API
Beta 2

com.sun.kjava
Class Trigonometric

java.lang.Object
  |
  +--com.sun.kjava.Trigonometric

public class Trigonometric
extends java.lang.Object

Fast integer trigonometric sin calculation


Constructor Summary
Trigonometric()
           
 
Method Summary
static int multiCos(int multiplier, int cos)
           
static int multiSin(int multiplier, int sin)
          Rapid sin and cos functions.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

Trigonometric

public Trigonometric()
Method Detail

multiSin

public static int multiSin(int multiplier,
                           int sin)
Rapid sin and cos functions. Note that you must supply multiplier in addition to the (decimal) angle parameter, or otherwise the result is always 0 or 1.

multiCos

public static int multiCos(int multiplier,
                           int cos)

Submit a bug or feature

The GUI classes provided with this release are NOT part of CLDC, and they will be removed in later releases of this software. Official GUI classes for Java 2 Micro Edition will be defined separately through the Java Community Process and included in J2ME profiles. Java is trademark or registered trademark of Sun Microsystems, Inc. in the US and other countries.
Copyright 1993-2000 Sun Microsystems, Inc.
901 San Antonio Road, Palo Alto, California, 94303, U.S.A.
All Rights Reserved.