Rezumat articol ediţie STUDIA UNIVERSITATIS BABE┼×-BOLYAI

În partea de jos este prezentat rezumatul articolului selectat. Pentru revenire la cuprinsul ediţiei din care face parte acest articol, se accesează linkul din titlu. Pentru vizualizarea tuturor articolelor din arhivă la care este autor/coautor unul din autorii de mai jos, se accesează linkul din numele autorului.

 
       
         
    STUDIA INFORMATICA - Ediţia nr.1 din 2003  
         
  Articol:   A DESIGN PROPOSAL FOR AN OBJECT ORIENTED ALGEBRAIC LIBRARY.

Autori:  VIRGINIA NICULESCU.
 
       
         
  Rezumat:  Object oriented programming and design patterns introduce a high level of abstraction that allows us to implement and work with mathematical abstractions. Classic algebraic libraries, based on imperative programming, contain subalgorithms for working with polynomials, matrices, vectors, etc. Their big inconvenience is the dependency on types. For example, a polynomial can be built over any kind of algebraic unitary commutative ring (R;+; *), and we have to define a different set of procedures that implement the common operations with polynomials, for every such ring. We propose here an object oriented approach for designing an algebraic library, based on design patterns, which remove this inconvenient. The big advantage of this approach is given by the creational design patterns, specifically Abstract Factory and Singleton. They introduce significant flexibility and abstractness. Thus, we may work with abstract algebraic structures, such as: groups, rings, fields, etc., like mathematicians do.  
         
     
         
         
      Revenire la pagina precedentă