mirror of
https://github.com/lcn2/calc.git
synced 2025-08-19 01:13:27 +03:00
convert ASCII TABs to ASCII SPACEs
Converted all ASCII tabs to ASCII spaces using a 8 character tab stop, for all files, except for all Makefiles (plus rpm.mk). The `git diff -w` reports no changes.
This commit is contained in:
32
help/indices
32
help/indices
@@ -5,10 +5,10 @@ SYNOPSIS
|
||||
indices(V, index)
|
||||
|
||||
TYPES
|
||||
V matrix or association
|
||||
index integer
|
||||
V matrix or association
|
||||
index integer
|
||||
|
||||
return list with up to 4 elements
|
||||
return list with up to 4 elements
|
||||
|
||||
DESCRIPTION
|
||||
For 0 <= index < size(V), indices(V, index) returns list(i_0, i_1, ...)
|
||||
@@ -17,7 +17,7 @@ DESCRIPTION
|
||||
For other values of index, a null value is returned.
|
||||
|
||||
This function can be useful for determining those elements for which
|
||||
the indices satisfy some condition. This is particularly so for
|
||||
the indices satisfy some condition. This is particularly so for
|
||||
associations since these have no simple relation between the
|
||||
double-bracket index and the single-bracket indices, which may be
|
||||
non-integer numbers or strings or other types of value. The
|
||||
@@ -30,9 +30,9 @@ EXAMPLE
|
||||
|
||||
; indices(M, 11)
|
||||
list (3 elements, 2 nonzero):
|
||||
[[0]] = 0
|
||||
[[1]] = 2
|
||||
[[2]] = 2
|
||||
[[0]] = 0
|
||||
[[1]] = 2
|
||||
[[2]] = 2
|
||||
|
||||
; A = assoc();
|
||||
|
||||
@@ -42,10 +42,10 @@ EXAMPLE
|
||||
|
||||
; indices(A, search(A, "primes"))
|
||||
list (4 elements, 4 nonzero):
|
||||
[[0]] = 2
|
||||
[[1]] = 3
|
||||
[[2]] = 5
|
||||
[[3]] = 7
|
||||
[[0]] = 2
|
||||
[[1]] = 3
|
||||
[[2]] = 5
|
||||
[[3]] = 7
|
||||
|
||||
LIMITS
|
||||
abs(index) < 2^31
|
||||
@@ -65,7 +65,7 @@ SEE ALSO
|
||||
##
|
||||
## Calc is distributed in the hope that it will be useful, but WITHOUT
|
||||
## ANY WARRANTY; without even the implied warranty of MERCHANTABILITY
|
||||
## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
|
||||
## or FITNESS FOR A PARTICULAR PURPOSE. See the GNU Lesser General
|
||||
## Public License for more details.
|
||||
##
|
||||
## A copy of version 2.1 of the GNU Lesser General Public License is
|
||||
@@ -73,8 +73,8 @@ SEE ALSO
|
||||
## received a copy with calc; if not, write to Free Software Foundation, Inc.
|
||||
## 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
|
||||
##
|
||||
## Under source code control: 1999/11/16 08:02:03
|
||||
## File existed as early as: 1999
|
||||
## Under source code control: 1999/11/16 08:02:03
|
||||
## File existed as early as: 1999
|
||||
##
|
||||
## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
|
||||
## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
|
||||
## chongo <was here> /\oo/\ http://www.isthe.com/chongo/
|
||||
## Share and enjoy! :-) http://www.isthe.com/chongo/tech/comp/calc/
|
||||
|
Reference in New Issue
Block a user