From: Vadim V. Z. <vv...@us...> - 2007-11-18 07:54:30
|
Update of /cvsroot/maxima/maxima/doc/info/ru In directory sc8-pr-cvs16.sourceforge.net:/tmp/cvs-serv16132 Modified Files: Lists.texi Log Message: Revision update Index: Lists.texi =================================================================== RCS file: /cvsroot/maxima/maxima/doc/info/ru/Lists.texi,v retrieving revision 1.3 retrieving revision 1.4 diff -u -d -r1.3 -r1.4 --- Lists.texi 23 Sep 2007 18:23:07 -0000 1.3 +++ Lists.texi 18 Nov 2007 07:54:13 -0000 1.4 @@ -1,7 +1,7 @@ @c Language=Russian @c Encoding=CP1251 @c File=Lists.texi -@c OriginalRevision=1.32 +@c OriginalRevision=1.33 @c TranslatedBy: (c) 2007-06 Vadim V. Zhytnikov <vv...@gm...> @menu @@ -396,6 +396,28 @@ @end deffn + +@deffn {Ôóíêöèÿ} unique (@var{L}) + +Âîçâðàùàåò óíèêàëüíûå ýëåìåíòû ñïèñêà @var{L}. + +Åñëè âñå ýëåìåíòû ñïèñêà @var{L} óíèêàëüíû, òî +@code{unique} âîçâðàùàåò êîïèþ âåðõíåãî óðîâíÿ +ñïèñêà @var{L}, à íå ñàì ñïèñîê @var{L}. + +Åñëè @var{L} íå ÿâëÿåòñÿ ñïèñêîì, òî @code{unique} âîçâðàùàåò @var{L}. + +Ïðèìåð: + +@c ===beg=== +@c unique ([1, %pi, a + b, 2, 1, %e, %pi, a + b, [1]]); +@c ===end=== +@example +(%i1) unique ([1, %pi, a + b, 2, 1, %e, %pi, a + b, [1]]); +(%o1) [1, 2, %e, %pi, [1], b + a] +@end example +@end deffn + @c NEEDS EXAMPLES @deffn {Ôóíêöèÿ} rest (@var{expr}, @var{n}) @deffnx {Ôóíêöèÿ} rest (@var{expr}) |