Data Structure Descriptions
declaration
object oriented
set of fields :
elem, shape
minreal, minimag
maxreal, maximag
prop
class PosInt
elem = real;
minreal = 0;
prop = int;
end;
class MatReal
shape = matrix;
elem = real;
end;
class ColumnAbsint:MatReal
shape = column;
elem = PosInt;
end;
same data
structure
matrix is specialized:
only positive values
properties
of PosInt
inline @declare(MatReal MAT)
=> StructName MAT;
;
Diapositive précédente
Diapositive suivante
Revenir à la première diapositive
Afficher la version graphique