|
| 'Possible loss of precision' messages |
suppress messages | public static void suppressMessages() |
| restore messages | public static void restoreMessages() | |
| Conversion of double |
double to float | public static float convert_double_to_float(double xx) |
| double to Float | public static Float convert_double_to_Float(double xx) | |
| double to long | public static long convert_double_to_long(double xx) | |
| double to Long | public static Long convert_double_to_Long(double xx) | |
| double to int | public static int convert_double_to_int(double xx) | |
| double to Integer | public static Integer convert_double_to_Integer(double xx) | |
| double to short | public static short convert_double_to_short(double xx) | |
| double to Short | public static Short convert_double_to_Short(double xx) | |
| double to byte | public static byte convert_double_to_byte(double xx) | |
| double to Byte | public static Byte convert_double_to_Byte(double xx) | |
| double to BigDecimal | public static BigDecimal convert_double_to_BigDecimal(double xx) | |
| double to BigInteger | public static BigIntegral convert_double_to_BigIntegral(double xx) | |
| Conversion of Double |
Double to float | public static float convert_Double_to_float(Double xx) |
| Double to Float | public static Float convert_Double_to_Float(Double xx) | |
| Double to long | public static long convert_Double_to_long(Double xx) | |
| Double to Long | public static Long convert_Double_to_Long(Double xx) | |
| Double to int | public static int convert_Double_to_int(Double xx) | |
| Double to Integer | public static Integer convert_Double_to_Integer(Double xx) | |
| Double to short | public static short convert_Double_to_short(Double xx) | |
| Double to Short | public static Short convert_Double_to_Short(Double xx) | |
| Double to byte | public static byte convert_Double_to_byte(Double xx) | |
| Double to Byte | public static Byte convert_Double_to_Byte(Double xx) | |
| Double to BigDecimal | public static BigDecimal convert_Double_to_BigDecimal(Double xx) | |
| Double to BigInteger | public static BigIntegral convert_Double_to_BigIntegral(Double xx) | |
| Conversion of float |
float to double | public static double convert_float_to_double(float xx) |
| float to Double | public static Double convert_float_to_Double(float xx) | |
| float to long | public static long convert_float_to_long(float xx) | |
| float to Long | public static Long convert_float_to_Long(float xx) | |
| float to int | public static int convert_float_to_int(float xx) | |
| float to Integer | public static Integer convert_float_to_Integer(float xx) | |
| float to short | public static short convert_float_to_short(float xx) | |
| float to Short | public static Short convert_float_to_Short(float xx) | |
| float to byte | public static byte convert_float_to_byte(float xx) | |
| float to Byte | public static Byte convert_float_to_Byte(float xx) | |
| float to BigDecimal | public static BigDecimal convert_float_to_BigDecimal(float xx) | |
| float to BigInteger | public static BigIntegral convert_float_to_BigIntegral(float xx) | |
| Conversion of Float |
Float to double | public static double convert_Float_to_double(Float xx) |
| Float to Double | public static Double convert_Float_to_Double(Float xx) | |
| Float to long | public static long convert_Float_to_long(Float xx) | |
| Float to Long | public static Long convert_Float_to_Long(Float xx) | |
| Float to int | public static int convert_Float_to_int(Float xx) | |
| Float to Integer | public static Integer convert_Float_to_Integer(Float xx) | |
| Float to short | public static short convert_Float_to_short(Float xx) | |
| Float to Short | public static Short convert_Float_to_Short(Float xx) | |
| Float to byte | public static byte convert_Float_to_byte(Float xx) | |
| Float to Byte | public static Byte convert_Float_to_Byte(Float xx) | |
| Float to BigDecimal | public static BigDecimal convert_Float_to_BigDecimal(Float xx) | |
| Float to BigInteger | public static BigIntegral convert_Float_to_BigIntegral(Float xx) | |
| Conversion of long |
long to double | public static double convert_long_to_double(long xx) |
| long to Double | public static Double convert_long_to_Double(long xx) | |
| long to float | public static float convert_long_to_float(long xx) | |
| long to Float | public static Float convert_long_to_Float(long xx) | |
| long to int | public static int convert_long_to_int(long xx) | |
| long to Integer | public static Integer convert_long_to_Integer(long xx) | |
| long to short | public static short convert_long_to_short(long xx) | |
| long to Short | public static Short convert_long_to_Short(long xx) | |
| long to byte | public static byte convert_long_to_byte(long xx) | |
| long to Byte | public static Byte convert_long_to_Byte(long xx) | |
| long to BigDecimal | public static BigDecimal convert_long_to_BigDecimal(long xx) | |
| long to BigInteger | public static BigIntegral convert_long_to_BigIntegral(long xx) | |
| Conversion of Long |
Long to double | public static double convert_Long_to_double(Long xx) |
| Long to Double | public static Double convert_Long_to_Double(Long xx) | |
| Long to float | public static float convert_Long_to_float(Long xx) | |
| Long to Float | public static Float convert_Long_to_Float(Long xx) | |
| Long to int | public static int convert_Long_to_int(Long xx) | |
| Long to Integer | public static Integer convert_Long_to_Integer(Long xx) | |
| Long to short | public static short convert_Long_to_short(Long xx) | |
| Long to Short | public static Short convert_Long_to_Short(Long xx) | |
| Long to byte | public static byte convert_Long_to_byte(Long xx) | |
| Long to Byte | public static Byte convert_Long_to_Byte(Long xx) | |
| Long to BigDecimal | public static BigDecimal convert_Long_to_BigDecimal(Long xx) | |
| Long to BigInteger | public static BigIntegral convert_Long_to_BigIntegral(long xx) | |
| Conversion of int |
int to double | public static double convert_int_to_double(int xx) |
| int to Double | public static Double convert_int_to_Double(int xx) | |
| int to float | public static float convert_int_to_float(int xx) | |
| int to Float | public static Float convert_int_to_Float(int xx) | |
| int to long | public static long convert_int_to_long(int xx) | |
| int to Long | public static Long convert_int_to_Long(int xx) | |
| int to short | public static short convert_int_to_short(int xx) | |
| int to Short | public static Short convert_int_to_Short(int xx) | |
| int to byte | public static byte convert_int_to_byte(int xx) | |
| int to Byte | public static Byte convert_int_to_Byte(int xx) | |
| int to BigDecimal | public static BigDecimal convert_int_to_BigDecimal(int xx) | |
| int to BigInteger | public static BigIntegral convert_int_to_BigIntegral(int xx) | |
| Conversion of Integer |
Integer to double | public static double convert_Integer_to_double(Integer xx) |
| Integer to Double | public static Double convert_Integer_to_Double(Integer xx) | |
| Integer to float | public static float convert_Integer_to_float(Integer xx) | |
| Integer to Float | public static Float convert_Integer_to_Float(Integer xx) | |
| Integer to long | public static long convert_Integer_to_long(Integer xx) | |
| Integer to Long | public static Long convert_Integer_to_Long(Integer xx) | |
| Integer to short | public static short convert_Integer_to_short(Integer xx) | |
| Integer to Short | public static Short convert_Integer_to_Short(Integer xx) | |
| Integer to byte | public static byte convert_Integer_to_byte(Integer xx) | |
| Integer to Byte | public static Byte convert_Integer_to_Byte(Integer xx) | |
| Integer to BigDecimal | public static BigDecimal convert_Integer_to_BigDecimal(Integer xx) | |
| Integer to BigInteger | public static BigIntegral convert_Integer_to_BigIntegral(Integer xx) | |
| Conversion of short |
short to double | public static double convert_short_to_double(short xx) |
| short to Double | public static Double convert_short_to_Double(short xx) | |
| short to float | public static float convert_short_to_float(short xx) | |
| short to Float | public static Float convert_short_to_Float(short xx) | |
| short to long | public static long convert_short_to_long(short xx) | |
| short to Long | public static Long convert_short_to_Long(short xx) | |
| short to int | public static int convert_short_to_int(short xx) | |
| short to Integer | public static Integer convert_short_to_Integer(short xx) | |
| short to byte | public static byte convert_short_to_byte(short xx) | |
| short to Byte | public static Byte convert_short_to_Byte(short xx) | |
| short to BigDecimal | public static BigDecimal convert_short_to_BigDecimal(short xx) | |
| short to BigInteger | public static BigIntegral convert_short_to_BigIntegral(short xx) | |
| Conversion of Short |
Short to double | public static double convert_Short_to_double(Short xx) |
| Short to Double | public static Double convert_Short_to_Double(Short xx) | |
| Short to float | public static float convert_Short_to_float(Short xx) | |
| Short to Float | public static Float convert_Short_to_Float(Short xx) | |
| Short to long | public static long convert_Short_to_long(Short xx) | |
| Short to Long | public static Long convert_Short_to_Long(Short xx) | |
| Short to int | public static int convert_Short_to_int(Short xx) | |
| Short to Integer | public static Integer convert_Short_to_Integer(Short xx) | |
| Short to byte | public static byte convert_Short_to_byte(Short xx) | |
| Short to Byte | public static Byte convert_Short_to_Byte(Short xx) | |
| Short to BigDecimal | public static BigDecimal convert_Short_to_BigDecimal(Short xx) | |
| Short to BigInteger | public static BigIntegral convert_Short_to_BigIntegral(Short xx) | |
| Conversion of byte |
byte to double | public static double convert_byte_to_double(byte xx) |
| byte to Double | public static Double convert_byte_to_Double(byte xx) | |
| byte to float | public static float convert_byte_to_float(byte xx) | |
| byte to Float | public static Float convert_byte_to_Float(byte xx) | |
| byte to long | public static long convert_byte_to_long(byte xx) | |
| byte to Long | public static Long convert_byte_to_Long(byte xx) | |
| byte to int | public static int convert_byte_to_int(byte xx) | |
| byte to Integer | public static Integer convert_byte_to_Integer(byte xx) | |
| byte to short | public static short convert_byte_to_short(byte xx) | |
| byte to Short | public static Short convert_byte_to_Short(byte xx) | |
| byte to BigDecimal | public static BigDecimal convert_byte_to_BigDecimal(byte xx) | |
| byte to BigInteger | public static BigIntegral convert_byte_to_BigIntegral(byte xx) | |
| Conversion of Byte |
Byte to double | public static double convert_Byte_to_double(Byte xx) |
| Byte to Double | public static Double convert_Byte_to_Double(Byte xx) | |
| Byte to float | public static float convert_Byte_to_float(Byte xx) | |
| Byte to Float | public static Float convert_Byte_to_Float(Byte xx) | |
| Byte to long | public static long convert_Byte_to_long(Byte xx) | |
| Byte to Long | public static Long convert_Byte_to_Long(Byte xx) | |
| Byte to int | public static int convert_Byte_to_int(Byte xx) | |
| Byte to Integer | public static Integer convert_Byte_to_Integer(Byte xx) | |
| Byte to short | public static short convert_Byte_to_short(Byte xx) | |
| Byte to Short | public static Short convert_Byte_to_Short(Byte xx) | |
| Byte to BigDecimal | public static BigDecimal convert_Byte_to_BigDecimal(Byte xx) | |
| Byte to BigInteger | public static BigIntegral convert_Byte_to_BigIntegral(Byte xx) | |
| Conversion of BigDecimal |
BigDecimal to double | public static double convert_BigDecimal_to_double(BigDecimal xx) |
| BigDecimal to Double | public static Double convert_BigDecimal_to_Double(BigDecimal xx) | |
| BigDecimal to float | public static float convert_BigDecimal_to_float(BigDecimal xx) | |
| BigDecimal to Float | public static Float convert_BigDecimal_to_Float(BigDecimal xx) | |
| BigDecimal to long | public static long convert_BigDecimal_to_long(BigDecimal xx) | |
| BigDecimal to Long | public static Long convert_BigDecimal_to_Long(BigDecimal xx) | |
| BigDecimal to int | public static int convert_BigDecimal_to_int(BigDecimal xx) | |
| BigDecimal to Integer | public static Integer convert_BigDecimal_to_Integer(BigDecimal xx) | |
| BigDecimal to short | public static short convert_BigDecimal_to_short(BigDecimal xx) | |
| BigDecimal to Short | public static Short convert_BigDecimal_to_Short(BigDecimal xx) | |
| BigDecimal to byte | public static byte convert_BigDecimal_to_byte(BigDecimal xx) | |
| BigDecimal to Byte | public static Byte convert_BigDecimal_to_Byte(BigDecimal xx) | |
| BigDecimal to BigInteger | public static BigIntegral convert_BigDecimal_to_BigIntegral(BigDecimal xx) | |
| Conversion of BigInteger |
BigInteger to double | public static double convert_BigInteger_to_double(BigInteger xx) |
| BigInteger to Double | public static Double convert_BigInteger_to_Double(BigInteger xx) | |
| BigInteger to float | public static float convert_BigInteger_to_float(BigInteger xx) | |
| BigInteger to Float | public static Float convert_BigInteger_to_Float(BigInteger xx) | |
| BigInteger to long | public static long convert_BigInteger_to_long(BigInteger xx) | |
| BigInteger to Long | public static Long convert_BigInteger_to_Long(BigInteger xx) | |
| BigInteger to int | public static int convert_BigInteger_to_int(BigInteger xx) | |
| BigInteger to Integer | public static Integer convert_BigInteger_to_Integer(BigInteger xx) | |
| BigInteger to short | public static short convert_BigInteger_to_short(BigInteger xx) | |
| BigInteger to Short | public static Short convert_BigInteger_to_Short(BigInteger xx) | |
| BigInteger to byte | public static byte convert_BigInteger_to_byte(BigInteger xx) | |
| BigInteger to Byte | public static Byte convert_BigInteger_to_Byte(BigInteger xx) | |
| BigInteger to BigDecimal | public static BigIntegral convert_BigInteger_to_BigDecimal(BigInteger xx) | |
| Complex and Phasor | Complex to Phasor | public static Phasor convert_Complex_to_Phasor(Complex xx) |
| Phasor to Complex | public static Complex convert_Phasor_to_Complex(Phasor xx) | |
| Conversion of physical units |
Degrees to radians | public static double degToRad(double deg) |
| Radians to degrees | public static double radToDeg(double rad) | |
| Frequency (Hz) to radial frequency |
public static double frequencyToRadialFrequency(double frequency) | |
| Radial frequency to frequency (Hz) |
public static double radialFrequencyToFrequency(double radial) | |
| Electron volts to wavelength in nanometres |
public static double evToNm(double ev) | |
| Wavelength in nanometres to Electron volts |
public static double nmToEv(double nm) | |
| Molar to %w/v | public static double molarToPercentWeightByVol(double molar, double molWeight) | |
| %w/v to molar | public static double percentWeightByVolToMolar(double percent, double molWeight) | |
| Date and time to milliseconds since 0 hours 0 minutes 0 seconds on 1 Jan 1970 (computer time) |
public static long
dateToJavaMilliSecondsUK(int year, int month, int day, String dayOfTheWeek, int hour, int min, int
sec, int
millisec) | |
| Height and weight to body mass index (BMI) [metric] |
public static double calcBMImetric(double height, double weight) | |
| Height and weight to body mass index (BMI) [imperial] |
public static double calcBMIimperial(double height, double weight) | |
| BMI and height to weight [metric] |
public static double calcWeightFromBMImetric(double bmi, double height) | |
| BMI and height to weight [imperial] |
public static double calcWeightFromBMIimperial(double bmi, double height) | |
| Celsius to Kelvin | public static double celsiusToKelvin(double cels) | |
| Kelvin to Celsius | public static double kelvinToCelsius(double kelv) | |
| Celsius to Fahrenheit | public static double celsiusToFahren(double cels) | |
| Fahrenheit to Celsius | public static double fahrenToCelsius(double fahr) | |
| Calories to Joules | public static double calorieToJoule(double cal) | |
| Joules to Calories | public static double jouleToCalorie(double joule) | |
| Ounces to grams | public static double ounceToGram(double oz) | |
| Grams to ounces | public static double gramToOunce(double gm) | |
| Pounds to kilograms | public static double poundToKg(double pd) | |
| Kilograms to pounds | public static double kgToPound(double kg) | |
| UK tons to kilograms | public static double tonToKg(double ton) | |
| Kilograms to UK tons | public static double kgToTon(double kg) | |
| Inches to millimetres | public static double inchToMillimetre(double in) | |
| Millimetres to inches | public static double millimetreToInch(double mm) | |
| Feet to metres | public static double footToMetre(double ft) | |
| Metres to feet | public static double metreToFoot(double metre) | |
| Yards to metres | public static double yardToMetre(double yd) | |
| Metres to yards | public static double metreToYard(double metre) | |
| Miles to kilometres | public static double mileToKm(double mile) | |
| Kilometres to miles | public static double kmToMile(double km) | |
| UK gallons to litres | public static double gallonToLitre(double gall) | |
| Litres to UK gallons | public static double litreToGallon(double litre) | |
| UK quarts to litres | public static double quartToLitre(double quart) | |
| Litres to UK quarts | public static double litreToQuart(double litre) | |
| UK pints to litres | public static double pintToLitre(double pint) | |
| Litres to UK pints | public static double litreToPint(double litre) | |
| UK gallons per mile to litres per kilometre |
public static double gallonPerMileToLitrePerKm(double gallPmile) | |
| Litres per kilometre to UK gallons per mile |
public static double litrePerKmToGallonPerMile(double litrePkm) | |
| Miles per UK gallon to kilometres per litre |
public static double milePergallonToKmPerLitre(double milePgall) | |
| Kilometres per litre to miles per UK gallon |
public static double kmPerLitreToMilePerGallon(double kmPlitre) | |
| UK fluid ounce to American fluid ounce | public static double fluidOunceUKtoUS(double flozUK) | |
| American fluid ounce to UK fluid ounce | public static double fluidOunceUStoUK(double flozUK) | |
| UK pint to American liquid pint | public static double pintUKtoUS(double pintUK) | |
| American liquid pint to UK pint | public static double pintUStoUK(double pintUK) | |
| UK quart to American liquid quart | public static double quartUKtoUS(double quartUK) | |
| American liquid quart to UK quart | public static double quartUStoUK(double quartUK) | |
| UK gallon to American gallon | public static double gallonUKtoUS(double gallonUK) | |
| American gallon to UK gallon | public static double gallonUStoUK(double gallonUS) | |
| UK pint to American cup | public static double pintUKtoCupUS(double pintUK) | |
| American cup to UK pint | public static double cupUStoPintUK(double cupUS) | |
| Deep Copying of Objects | Deep copy of an Object | public static Object copy(Object obj) |
| public static Object copyObject(Object obj) | ||
| Deep copy a 1-D array | public static double[] copy(double[] array) | |
| public static float[] copy(float[] array) | ||
| public static long[] copy(long[] array) | ||
| public static int[] copy(int[] array) | ||
| public static short[] copy(short[] array) | ||
| public static byte[] copy(byte[] array) | ||
| public static BigDecimal[] copy(BigDecimal[] array) | ||
| public static BigInteger[] copy(BigInteger[] array) | ||
| public static Complex[] copy(Complex[] array) | ||
| public static Polynomial[] copy(Polynomial[] array) | ||
| public static ComplexPoly[] copy(ComplexPoly[] array) | ||
| public static Phasor[] copy(Complex[] array) | ||
| public static ErrorProp[] copy(ErrorProp[] array) | ||
| public static ComplexErrorProp[] copy(ComplexErrorProp[] array) | ||
| public static Double[] copy(Double[] array) | ||
| public static Float[] copy(Float[] array) | ||
| public static Long[] copy(Long[] array) | ||
| public static Integer[] copy(Integer[] array) | ||
| public static Short[] copy(Short[] array) | ||
| public static Byte[] copy(Byte[] array) | ||
| Deep copy a 2-D array | public static double[][] copy(double[][] array) | |
| public static float[][] copy(float[][] array) | ||
| public static long[][] copy(long[][] array) | ||
| public static int[][] copy(int[][] array) | ||
| public static short[][] copy(short[][] array) | ||
| public static byte[][] copy(byte[][] array) | ||
| public static BigDecimal[][] copy(BigDecimal[][] array) | ||
| public static BigInteger[][] copy(BigInteger[][] array) | ||
| public static Complex[][] copy(Complex[][] array) | ||
| public static Polynomial[][] copy(Polynomial[][] array) | ||
| public static ComplexPoly[][] copy(ComplexPoly[][] array) | ||
| public static Phasor[][] copy(Complex[][] array) | ||
| public static ErrorProp[][] copy(ErrorProp[][] array) | ||
| public static ComplexErrorProp[][] copy(ComplexErrorProp[][] array) | ||
| public static Double[][] copy(Double[][] array) | ||
| public static Float[][] copy(Float[][] array) | ||
| public static Long[][] copy(Long[][] array) | ||
| public static Integer[][] copy(Integer[][] array) | ||
| public static Short[][] copy(Short[][] array) | ||
| public static Byte[][] copy(Byte[][] array) | ||
| Deep copy a 3-D array | public static double[][][] copy(double[][][] array) | |
| public static float[][][] copy(float[][][] array) | ||
| public static long[][][] copy(long[][][] array) | ||
| public static int[][][] copy(int[][][] array) | ||
| public static short[][][] copy(short[][][] array) | ||
| public static byte[][][] copy(byte[][][] array) | ||
| public static BigDecimal[][][] copy(BigDecimal[][][] array) | ||
| public static BigInteger[][][] copy(BigInteger[][][] array) | ||
| public static Complex[][][] copy(Complex[][][] array) | ||
| public static Polynomial[][][] copy(Polynomial[][][] array) | ||
| public static ComplexPoly[][][] copy(ComplexPoly[][][] array) | ||
| public static Phasor[][][] copy(Complex[][][] array) | ||
| public static ErrorProp[][][] copy(ErrorProp[][][] array) | ||
| public static ComplexErrorProp[][][] copy(ComplexErrorProp[][][] array) | ||
| public static Double[][][] copy(Double[][][] array) | ||
| public static Float[][][] copy(Float[][][] array) | ||
| public static Long[][][] copy(Long[][][] array) | ||
| public static Integer[][][] copy(Integer[][][] array) | ||
| public static Short[][][] copy(Short[][][] array) | ||
| public static Byte[][][] copy(Byte[][][] array) | ||
| Deep copy a 4-D array | public static double[][][][] copy(double[][][][] array) | |
| public static float[][][][] copy(float[][][][] array) | ||
| public static long[][][][] copy(long[][][][] array) | ||
| public static int[][][][] copy(int[][][][] array) | ||
| public static short[][][][] copy(short[][][][] array) | ||
| public static byte[][][][] copy(byte[][][][] array) | ||
| public static BigDecimal[][][][] copy(BigDecimal[][][][] array) | ||
| public static BigInteger[][][][] copy(BigInteger[][][][] array) | ||
| public static Complex[][][][] copy(Complex[][][][] array) | ||
| public static Polynomial[][][][] copy(Polynomial[][][][] array) | ||
| public static ComplexPoly[][][][] copy(ComplexPoly[][][][] array) | ||
| public static Phasor[][][][] copy(Complex[][][][] array) | ||
| public static ErrorProp[][][][] copy(ErrorProp[][][][] array) | ||
| public static ComplexErrorProp[][][][] copy(ComplexErrorProp[][][][] array) | ||
| public static Double[][][][] copy(Double[][][][] array) | ||
| public static Float[][][][] copy(Float[][][][] array) | ||
| public static Long[][][][] copy(Long[][][][] array) | ||
| public static Integer[][][][] copy(Integer[][][][] array) | ||
| public static Short[][][][] copy(Short[][][][] array) | ||
| public static Byte[][][][] copy(Byte[][][][] array) |