00001 package Norm; 00002 00003 public class NormPakket { 00007 float infty; 00008 00012 float l_1; 00013 00017 float l_2; 00018 00019 public static final int INFTY = 0 ; 00020 00021 public static final int L_1 = 1 ; 00022 00023 public static final int L_2 = 2 ; 00027 private float[] norm; 00028 00029 public NormPakket(float infty, float l_1, float l_2) { 00030 norm=new float[]{infty,l_1,l_2}; 00031 } 00032 00033 00034 public float getNorm(int WHICHTORETURN){ 00035 return norm[WHICHTORETURN]; 00036 } 00037 00038 00039 00040 }
1.5.5