Changeset a389e2e in tol
- Timestamp:
- Nov 30, 2009, 8:24:19 AM (17 years ago)
- Branches:
- 1941-docker-image-to-test, devel, master
- Children:
- 2f0a149
- Parents:
- b15f0f9
- File:
-
- 1 edited
-
tol/stdlib/general/grammars/_set.tol (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
tol/stdlib/general/grammars/_set.tol
rb15f0f9 ra389e2e 1347 1347 1348 1348 1349 ////////////////////////////////////////////////////////////////////////////// 1350 Set Col2Set(Matrix M) 1351 ////////////////////////////////////////////////////////////////////////////// 1352 { 1353 MatSet(Tra(M))[1] 1354 }; 1355 ////////////////////////////////////////////////////////////////////////////// 1356 PutDescription(I2( 1357 "Returns a set of real numbers with elements of a column vector", 1358 "Devuelve un conjunto de números reales con los elementos de un vector " 1359 "columna"), 1360 Col2Set); 1361 ////////////////////////////////////////////////////////////////////////////// 1362 1363 ////////////////////////////////////////////////////////////////////////////// 1364 Set Row2Set(VMatrix M) 1365 ////////////////////////////////////////////////////////////////////////////// 1366 { 1367 MatSet(M)[1] 1368 }; 1369 ////////////////////////////////////////////////////////////////////////////// 1370 PutDescription(I2( 1371 "Returns a set of real numbers with elements of a row vector", 1372 "Devuelve un conjunto de números reales con los elementos de un vector " 1373 "fila"), 1374 Row2Set); 1375 ////////////////////////////////////////////////////////////////////////////// 1376 1377 ////////////////////////////////////////////////////////////////////////////// 1378 Set VCol2Set(VMatrix M) 1379 ////////////////////////////////////////////////////////////////////////////// 1380 { 1381 MatSet(VMat2Mat(M,1))[1] 1382 }; 1383 ////////////////////////////////////////////////////////////////////////////// 1384 PutDescription(I2( 1385 "Returns a set of real numbers with elements of a column vector", 1386 "Devuelve un conjunto de números reales con los elementos de un vector " 1387 "columna"), 1388 VCol2Set); 1389 ////////////////////////////////////////////////////////////////////////////// 1390 1391 ////////////////////////////////////////////////////////////////////////////// 1392 Set VRow2Set(VMatrix M) 1393 ////////////////////////////////////////////////////////////////////////////// 1394 { 1395 MatSet(VMat2Mat(M,0))[1] 1396 }; 1397 ////////////////////////////////////////////////////////////////////////////// 1398 PutDescription(I2( 1399 "Returns a set of real numbers with elements of a row vector", 1400 "Devuelve un conjunto de números reales con los elementos de un vector " 1401 "fila"), 1402 VRow2Set); 1403 ////////////////////////////////////////////////////////////////////////////// 1404 1405 ////////////////////////////////////////////////////////////////////////////// 1406 Set VMat2Set(VMatrix M) 1407 ////////////////////////////////////////////////////////////////////////////// 1408 { 1409 MatSet(VMat2Mat(M)) 1410 }; 1411 ////////////////////////////////////////////////////////////////////////////// 1412 PutDescription(I2( 1413 "Converts by rows a matrix in a set of sets of real numbers.", 1414 "Convierte por filas una matriz en un conjunto de conjuntos " 1415 "de reales."), 1416 VMat2Set); 1417 //////////////////////////////////////////////////////////////////////////////
Note: See TracChangeset
for help on using the changeset viewer.
