We have decided to make significant changes to the architecture of the DeepDual Core release version:
- Included new libraries: DD_ConversionUtils, DD_Infinite, DD_Scalar, DD_Vector, DD_Matrix, DD_Function, DD_Series.
- Added new type categories (tensor, analysis, and function types).
- Redesigned the namespaces for data types in DeepDual Core (shifting from adjectives to nouns in the naming convention).
Below is the complete description of the brand-new DeepDual Core release architecture.
DIFFERENTIATION
A unique differentiation system based on Nilpotent Analysis.
- DD_Diff: universal algebraic differentiation using Nilpotent Analysis methods, applicable to a wide class of user-defined and internal DeepDual Core types.
UTILITIES
Auxiliary utility libraries that support the core functionality of DeepDual Core.
- DD_ExpectedUtils: convenient handling of type wrappers in the
std::expected<T, std::string>format instead of using exceptions. - DD_ConstantUtils: all precompiled mathematical constants used in DeepDual Core, as well as a short scale of powers of a thousand up to a googol.
- DD_FunctionUtils: concepts for checking the availability of functions for user-defined types and Russian mathematical notation for denoting basic elementary functions.
- DD_ConversionUtils: concepts for checking the possibility of obtaining some types from others for safe inter-type conversion.
- DD_NumericUtils: algorithms for working with numeric types.
- DD_TypeUtils: checking and processing user-defined types using concepts.
- DD_OptimizationUtils: optimization using multithreading methods.
- DD_FallbackUtils: a special fallback system for user-defined data types that restores functions whose definitions were not provided by the user, if possible, from the information already provided.
LOGIC & CATEGORY TYPES
Logical and categorical types that can be useful for solving problems in the fields of formal logic, verification, category theory, and abstract computations.
- DD_Logic: a formal logic system including work with syntax, semantics, classical and non-classical logical systems.
- DD_Category: a system for describing mathematical structures using category theory methodology.
FUNCTION TYPES
Functional types for storing functions and their varieties, taking into account mathematical features in an object-oriented style.
- DD_Function: storing functions taking into account their mathematical structure in an object-oriented style.
NUMERIC TYPES
Numeric types for working with various numeric sets, consistent with each other.
- DD_Digit: digits with cyclic arithmetic, considered as a finite ring.
- DD_Natural: natural numbers implemented as digit containers (BigInt).
- DD_Integer: signed integers (BigInt).
- DD_Rational: rational numbers with correct handling of rational exponents.
- DD_Real: real numbers with three storage modes: approximate (
float/double/long double/ user-defined type), interval (intervals between objects of the chosen base type), and predicate. - DD_Complex: complex (elliptic) numbers.
- DD_Quaternion: quaternions.
- DD_Octonion: octonions.
- DD_Paracomplex: paracomplex (hyperbolic) numbers.
- DD_Dual: dual (parabolic) numbers.
- DD_Hyperdual: hyperdual numbers.
TENSOR TYPES
Tensor types for algebraically strict software representation of tensors, taking into account coordinate transformation laws.
- DD_Scalar: scalars over an arbitrary field, taking into account the algebraic structure.
- DD_Vector: vectors over an arbitrary field, taking into account the algebraic structure.
ALGEBRA TYPES
Algebraic types for representing various non-numeric abstractions in an object-oriented style.
- DD_Matrix: classical matrices.
- DD_Finite: algebras of finite rings and fields, implementing cyclic arithmetic on sets of the form
{0, 1, 2, 3, .., n - 1}with characteristicn, i.e., where(n - 1) + 1 = 0. Support for arithmetic operations and basic elementary functions on elements of finite rings and fields. - DD_Infinite: extension of any real number algebras to objects of the form
Infinite<Re, Abstract>, capable of storing infinite quantities and undefined states during computations. - DD_Interval: interval arithmetic on the real number axis with full support for arithmetic operations and basic elementary functions on intervals, as well as infinite and piecewise intervals.
ANALYSIS TYPES
Analytical types for computations in the field of analysis.
- DD_Nilpotent: any nilpotent extensions of any types possessing addition, multiplication, zero, and identity elements.
- DD_Series: storage of finite and infinite sum-series and product-series over any number of iterator arguments in an object-oriented style.
GEOMETRY TYPES
Geometric types for modeling geometric objects and structures.
- DD_Polyvector: scalars, vectors, bivectors, trivectors, and polyvectors of any degree.
- DD_Paravector: paravectors (scalar + vector).
- DD_Multivector: multivectors (sums of polyvectors of various degrees).
Our team is also considering the inclusion of the DD_Predicate library for modeling predicates and DD_PredicateMatrix for the predicate representation of matrices in the DeepDual Core release version.
In addition, the inclusion of DD_Tensor in DeepDual Core for working with tensors of arbitrary valencies is planned as one of the top priorities for post-release updates.
Soon, all changes will appear on the DeepDual Core page on our website.
Thank you for following us on this journey!
