Module imagingbook.common
Package imagingbook.common.math
package imagingbook.common.math
-
ClassDescriptionThis class defines static methods implementing arithmetic operations and predicates.This class represents complex numbers.This class implements the Mahalanobis distance using the Apache Commons Math library.This class defines a set of static methods for calculations with vectors and matrices using native Java arrays without any enclosing object structures.Thrown when the dimensions of matrix/vector arguments do not match.Thrown when a non-square matrix is encountered where a square matrix is assumed.Thrown when source and target objects are identical but shouldn't.Thrown when the length of some vector is zero.This class holds settings to control the precision when printing floating-point numbers, used in particular by various
toString()
methods for vectors and matrices defined in classMatrix
(mainly for debugging).This class defines static methods for statistical calculations.This class defines various vector norms for calculating the magnitude of a vector and the distance between vectors.Implementation of the L1 vector norm (Manhattan norm/distance).Implementation of the L2 vector norm (Euclidean norm/distance).Implementation of the L-infinity vector norm (maximum norm/distance).Enumeration type forVectorNorm
to be used as parameter choice.