KickJava   Java API By Example, From Geeks To Geeks.

Java > Open Source Codes > JSci > physics > relativity > KroneckerDelta


1 package JSci.physics.relativity;
2
3 /**
4 * The KroneckerDelta class encapsulates the Kronecker delta.
5 * @version 1.0
6 * @author Mark Hale
7 */

8 public final class KroneckerDelta extends Rank2Tensor {
9         /**
10         * Constructs the Kronecker delta.
11         */

12         public KroneckerDelta() {
13                 rank2[0][0]=rank2[1][1]=rank2[2][2]=rank2[3][3]=1.0;
14         }
15 }
16
17
Popular Tags