2021-04-162020-01-010098350015577295WOS;000575731600003SCOPUS;2-s2.0-85083812729http://hdl.handle.net/10784/29229Multicomplex and multidual numbers are two generalizations of complex numbers with multiple imaginary axes, useful for numerical computation of derivatives with machine precision. The similarities between multicomplex and multidual algebras allowed us to create a unified library to use either one for sensitivity analysis. This library can be used to compute arbitrary order derivates of functions of a single variable or multiple variables. The storage of matrix representations of multicomplex and multidual numbers is avoided using a combination of one-dimensional resizable arrays and an indexation method based on binary bitwise operations. To provide high computational efficiency and low memory usage, the multiplication of hypercomplex numbers up to sixth order is carried out using a hard-coded algorithm. For higher hypercomplex orders, the library uses by default a multiplication method based on binary bitwise operations. The computation of algebraic and transcendental functions is achieved using a Taylor series approximation. Fortran and Python versions were developed, and extensions to other languages are self-evident. © 2020 ACM.engAssociation for Computing Machinery (ACM)MultiZ: A Library for Computation of High-order Derivatives Using Multicomplex or Multidual Numbersinfo:eu-repo/semantics/articleAlgebraOne dimensionalSensitivity analysisBitwise operationsHigh order derivativesHypercomplex numberMachine precisionMatrix representationNumerical computationsTaylor series approximationTranscendental functionsComputational efficiency2021-04-16Aguirre-Mesa A.M.Garcia M.J.Millwater H.10.1145/3378538