close
Warning:
Can't synchronize with repository "(default)" (/var/svn/tolp does not appear to be a Subversion repository.). Look in the Trac log for more information.
- Timestamp:
-
Dec 28, 2010, 6:02:31 PM (14 years ago)
- Author:
-
Víctor de Buen Remiro
- Comment:
-
Legend:
- Unmodified
- Added
- Removed
- Modified
-
v1
|
v2
|
|
15 | 15 | |
16 | 16 | La solución que se propone sería crear un nuevo tipo de datos en TOL |
17 | | que podría llamarse {{{VectorRef}}} y que tendría funciones para ir añadiendo referencias a valores reales inscritos en distintos tipos de datos TOL. En principio se podrían crear referencias simples o masivas a datos de tipo |
| 17 | que podría llamarse {{{VectorRef}}} y que tendría funciones para ir añadiendo referencias a valores reales inscritos en distintos tipos de datos TOL. En principio se podrían crear referencias simples o masivas a datos de estos tipos |
18 | 18 | |
19 | 19 | * '''Real''' |
… |
… |
|
47 | 47 | VectorRef Ref.Matrix.Full(Matrix mat, Set colIndexs)); |
48 | 48 | }}} |
49 | | * '''Matrix''' |
| 49 | * '''Set''' |
50 | 50 | {{{ |
51 | 51 | #!cpp |
… |
… |
|
56 | 56 | //Creates a vectorial reference to all selected elements of a Set with type Real |
57 | 57 | VectorRef Ref.Set.Full(Set set)); |
58 | | //Creates a vectorial reference to all selected elements of a Set with type Real, Polyn or Matrix, and recursively in elements of type Set |
| 58 | //Creates a vectorial reference to all selected elements of a Set with type Real, Polyn or Matrix, and recursively in elements of type Set or NameBlock |
59 | 59 | VectorRef Ref.Set.Deep(Set set)); |
| 60 | |
| 61 | }}} |
| 62 | |
| 63 | * '''NameBlock''' |
| 64 | {{{ |
| 65 | #!cpp |
| 66 | //Creates a single reference to a Real member of a NameBlock |
| 67 | VectorRef Ref.NameBlock.Element(NameBlock nb, Real numElement)); |
| 68 | //Creates a vectorial reference to all selected members of a NameBlock |
| 69 | VectorRef Ref.NameBlock.Extract(NameBlock nb, Set indexes)); |
| 70 | //Creates a vectorial reference to all selected members of a NameBlock with type Real |
| 71 | VectorRef Ref.NameBlock.Full(NameBlock nb)); |
| 72 | //Creates a vectorial reference to all selected members of a NameBlock with type Real, Polyn or Matrix, and recursively in elements of type Set or NameBlock |
| 73 | VectorRef Ref.NameBlock.Deep(NameBlock nb)); |
60 | 74 | |
61 | 75 | }}} |