Package ptolemy.math
Math classes.
- Since:
- Ptolemy II 0.2
-
Interface Summary Interface Description ComplexBinaryOperation A operation taking two operands of type Complex, and producing a value of type Complex.ComplexUnaryOperation A operation taking one argument of type Complex, and producing a value of type Complex.DoubleBinaryOperation A operation taking two operands of type double, and producing a value of type double.DoubleUnaryOperation A operation taking one argument of type double, and producing a value of type double.FloatBinaryOperation A operation taking two operands of type float, and producing a value of type float.FloatUnaryOperation A operation taking one argument of type float, and producing a value of type float.IntegerBinaryOperation A operation taking two operands of type int, and producing a value of type int.IntegerUnaryOperation A operation taking one argument of type int, and producing a value of type int.LongBinaryOperation A operation taking two operands of type long, and producing a value of type long.LongUnaryOperation A operation taking one argument of type long, and producing a value of type long. -
Class Summary Class Description Complex This class provides a complex data type and a library of functions that operate on and return complex numbers.ComplexArrayMath This class a provides a library for mathematical operations on arrays of complex numbers, in particular arrays of instances of class ptolemy.math.Complex.ComplexMatrixMath This class provides a library for mathematical operations on matrices of complex numbers.DoubleArrayMath This class provides a library for mathematical operations on double arrays.DoubleArrayStat This class provides a library for statistical operations on arrays of doubles.DoubleMatrixMath This class provides a library for mathematical operations on matrices of doubles.ExtendedMath ExtendedMath is a library of additional mathematical operations beyond those provided by the Java Math class.FixPoint The FixPoint class provides a fixed point data type and a set of functions that operate on and return fixed point data.FixPoint.Error An instance of this class is used preserve backwards interface compatibility.FixPointQuantization The FixPointQuantization class defines the mapping of numeric values with unlimited precision to the finite precision supported by arithmetic using the FixPoint class.FloatArrayMath This class provides a library for mathematical operations on float arrays.FloatMatrixMath This class provides a library for mathematical operations on matrices of floats.Fraction A class for representing fractions.FractionArrayMath A library for mathematical operations on Fraction arrays.FractionMatrixMath A library for mathematical operations on matrices of Fractions.IntegerArrayMath This class provides a library for mathematical operations on int arrays.IntegerMatrixMath This class provides a library for mathematical operations on matrices of ints.Interpolation This class provides algorithms to do interpolation.LongArrayMath This class provides a library for mathematical operations on long arrays.LongMatrixMath This class provides a library for mathematical operations on matrices of longs.Overflow The Overflow class provides a type safe enumeration of strategies for handling numeric overflows for FixPoint data types.Overflow.Grow The grow overflow strategy.Overflow.Minimize The minimize overflow strategy.Overflow.Modulo The modulo overflow strategy.Overflow.Saturate The saturate overflows strategy.Overflow.ToZero The overflow to zero strategy.Overflow.Trap The trap overflows strategy.Precision This class defines the precision of a signed or unsigned fixed point value.Precision.ExpressionLanguagePrecisionFormat Precision format for use with the Expression Language.Precision.IntegerFractionPrecisionFormat Defines a Precision string format using the INTEGER.FRACTION precision format.Precision.LengthExponentPrecisionFormat Defines a Precision string format using the LENGTHeEXPONENT precision format.Precision.LengthIntegerPrecisionFormat Defines a Precision string format using the LENGTH/INTEGER precision format.Precision.PrecisionFormat Defines a String format for specifying a Precision object.Precision.VHDLPrecisionFormat Defines a Precision string format using the VHDL MSB:LSB precision format.Quantization The Quantization class defines the mapping of numeric values with unlimited precision to finite precision.Quantizer This class provides a set of static methods for creating instances of the FixPoint class from doubles, integers, or fixed point numbers.Rounding The Rounding class provides a type safe enumeration of strategies for handling loss of numeric resolution when rounding.Rounding.RoundCeiling Rounding class implementing the round ceiling strategy.Rounding.RoundDown Rounding class implementing the round down strategy.Rounding.RoundFloor Rounding class implementing the round floor strategy.Rounding.RoundHalfCeiling Rounding class implementing the round half ceiling strategy.Rounding.RoundHalfDown Rounding class implementing the round half down strategy.Rounding.RoundHalfEven Rounding class implementing the round half even strategy.Rounding.RoundHalfFloor Rounding class implementing the round half floor strategy.Rounding.RoundHalfUp Rounding class implementing the round half up strategy.Rounding.RoundUp Rounding class implementing the round up strategy.SignalProcessing This class provides signal processing functions.SignalProcessing.GaussianSampleGenerator This class generates samples of a Gaussian function with the specified mean and standard deviation.SignalProcessing.PolynomialSampleGenerator This class generates samples of a polynomial.SignalProcessing.RaisedCosineSampleGenerator This class generates samples of a raised cosine pulse, or if the excess is zero, a modified sinc function.SignalProcessing.SawtoothSampleGenerator This class generates samples of a sawtooth wave with the specified period and phase.SignalProcessing.SincSampleGenerator This class generates samples of a sinc wave with the specified first zero crossing.SignalProcessing.SinusoidSampleGenerator This class generates samples of a sinusoidal wave.SignalProcessing.SqrtRaisedCosineSampleGenerator This class generates samples of a square-root raised cosine pulse.