~ubuntu-branches/ubuntu/quantal/kde-l10n-ptbr/quantal-proposed

« back to all changes in this revision

Viewing changes to docs/kdeedu/kalgebra/commands.docbook

  • Committer: Package Import Robot
  • Author(s): Philip Muškovac
  • Date: 2012-05-20 21:21:10 UTC
  • mfrom: (1.12.14)
  • Revision ID: package-import@ubuntu.com-20120520212110-hqzj6bwul27tyhau
Tags: 4:4.8.3-0ubuntu1
New upstream release (svn: 1292309, type: stable)

Show diffs side-by-side

added added

removed removed

Lines of Context:
1317
1317
></listitem>
1318
1318
                <listitem
1319
1319
><para
1320
 
>Exemplo: x-&gt;scalarproduct(vector { 0, x }, vector { x, 0 })[1]</para
 
1320
>Example: x-&gt;(scalarproduct(vector { 0, x }, vector { x, 0 }))[1]</para
1321
1321
></listitem>
1322
1322
        </itemizedlist
1323
1323
></sect1>
1339
1339
></listitem>
1340
1340
                <listitem
1341
1341
><para
1342
 
>Exemplo: x-&gt;scalarproduct(vector { 0, x }, vector { x, 0 })[1]</para
 
1342
>Example: x-&gt;(scalarproduct(vector { 0, x }, vector { x, 0 }))[1]</para
1343
1343
></listitem>
1344
1344
        </itemizedlist
1345
1345
></sect1>
1361
1361
></listitem>
1362
1362
                <listitem
1363
1363
><para
1364
 
>Exemplo: x-&gt;union(list { 1, 2, 3 }, list { 4, 5, 6 })[rem(floor(x), 5)+3]</para
 
1364
>Example: x-&gt;(union(list { 1, 2, 3 }, list { 4, 5, 6 }))[rem(floor(x), 5)+3]</para
1365
1365
></listitem>
1366
1366
        </itemizedlist
1367
1367
></sect1>
1409
1409
></listitem>
1410
1410
        </itemizedlist
1411
1411
></sect1>
1412
 
        <sect1 id='map'
1413
 
><title
1414
 
>map</title
1415
 
><itemizedlist>
1416
 
                <listitem
1417
 
><para
1418
 
>Nome: map</para
1419
 
></listitem>
1420
 
                <listitem
1421
 
><para
1422
 
>Descrição: Aplica uma função para cada elemento em uma lista</para
1423
 
></listitem>
1424
 
                <listitem
1425
 
><para
1426
 
>Parâmetros: map(par1, par2)</para
1427
 
></listitem>
1428
 
                <listitem
1429
 
><para
1430
 
>Exemplo: x-&gt;map(x-&gt;x+x, list { 1, 2, 3, 4, 5, 6 })[rem(floor(x), 5)+3]</para
1431
 
></listitem>
1432
 
        </itemizedlist
1433
 
></sect1>
1434
 
        <sect1 id='filter'
1435
 
><title
1436
 
>filter</title
1437
 
><itemizedlist>
1438
 
                <listitem
1439
 
><para
1440
 
>Nome: filter</para
1441
 
></listitem>
1442
 
                <listitem
1443
 
><para
1444
 
>Descrição: Remove todos os elementos que não corresponde a uma condição</para
1445
 
></listitem>
1446
 
                <listitem
1447
 
><para
1448
 
>Parâmetros: filter(par1, par2)</para
1449
 
></listitem>
1450
 
                <listitem
1451
 
><para
1452
 
>Exemplo: x-&gt;filter(u-&gt;rem(u, 2)=0, list { 2, 4, 3, 4, 8, 6 })[rem(floor(x), 5)+3]</para
1453
 
></listitem>
1454
 
        </itemizedlist
1455
 
></sect1>
1456
1412
</chapter>