mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Release calc version 2.12.0
This commit is contained in:
10
help/segment
10
help/segment
@@ -20,15 +20,15 @@ DESCRIPTION
|
||||
If y < z, x == join(head(x,y), segment(x,y,z), tail(x, size(x) - z - 1)).
|
||||
|
||||
EXAMPLE
|
||||
> A = list(2, 3, 5, 7, 11)
|
||||
> segment(A, 1, 3)
|
||||
; A = list(2, 3, 5, 7, 11)
|
||||
; segment(A, 1, 3)
|
||||
|
||||
list (3 members, 3 nonzero):
|
||||
[[0]] = 3
|
||||
[[1]] = 5
|
||||
[[2]] = 7
|
||||
|
||||
> segment(A, 3, 1)
|
||||
; segment(A, 3, 1)
|
||||
|
||||
list (3 members, 3 nonzero):
|
||||
[[0]] = 7
|
||||
@@ -61,8 +61,8 @@ SEE ALSO
|
||||
## received a copy with calc; if not, write to Free Software Foundation, Inc.
|
||||
## 59 Temple Place, Suite 330, Boston, MA 02111-1307, USA.
|
||||
##
|
||||
## @(#) $Revision: 29.2 $
|
||||
## @(#) $Id: segment,v 29.2 2000/06/07 14:02:33 chongo Exp $
|
||||
## @(#) $Revision: 29.3 $
|
||||
## @(#) $Id: segment,v 29.3 2006/05/07 07:25:46 chongo Exp $
|
||||
## @(#) $Source: /usr/local/src/cmd/calc/help/RCS/segment,v $
|
||||
##
|
||||
## Under source code control: 1995/07/10 02:09:31
|
||||
|
Reference in New Issue
Block a user