mirror of
https://github.com/lcn2/calc.git
synced 2025-08-16 01:03:29 +03:00
Fixed errors in various help files
This commit is contained in:
8
help/mat
8
help/mat
@@ -54,13 +54,13 @@ DESCRIPTION
|
|||||||
The elements of the matrix are stored internally as a linear array
|
The elements of the matrix are stored internally as a linear array
|
||||||
in which locations are arranged in order of increasing indices.
|
in which locations are arranged in order of increasing indices.
|
||||||
For example, in order of location, the six element of A = mat [2,3]
|
For example, in order of location, the six element of A = mat [2,3]
|
||||||
are
|
are:
|
||||||
|
|
||||||
A[0,0], A[0,1], A[0,2], A[1,0], A[1,,1], A[1,2].
|
A[0,0], A[0,1], A[0,2], A[1,0], A[1,1], and A[1,2].
|
||||||
|
|
||||||
These elements may also be specified using the double-bracket operator
|
These elements may also be specified using the double-bracket operator
|
||||||
with a single integer index as in A[[0]], A[[1]], ..., A[[5]].
|
with a single integer index as in A[[0]], A[[1]], ..., A[[5]].
|
||||||
If p is assigned the value &A[0.0], the address of A[[i]] for 0 <= i < 6
|
If p is assigned the value &A[0,0], the address of A[[i]] for 0 <= i < 6
|
||||||
is p + i as long as A exists and a new value is not assigned to A.
|
is p + i as long as A exists and a new value is not assigned to A.
|
||||||
|
|
||||||
When a matrix is created, each element is initially assigned the
|
When a matrix is created, each element is initially assigned the
|
||||||
@@ -414,7 +414,7 @@ SEE ALSO
|
|||||||
det, inverse, isident, test, config, search, rsearch, reverse, copy,
|
det, inverse, isident, test, config, search, rsearch, reverse, copy,
|
||||||
blkcpy, dp, cp, randperm, sort
|
blkcpy, dp, cp, randperm, sort
|
||||||
|
|
||||||
## Copyright (C) 1999-2006 Landon Curt Noll
|
## Copyright (C) 1999-2006,2018 Landon Curt Noll
|
||||||
##
|
##
|
||||||
## Calc is open software; you can redistribute it and/or modify it under
|
## Calc is open software; you can redistribute it and/or modify it under
|
||||||
## the terms of the version 2.1 of the GNU Lesser General Public License
|
## the terms of the version 2.1 of the GNU Lesser General Public License
|
||||||
|
@@ -1,5 +1,5 @@
|
|||||||
NAME
|
NAME
|
||||||
randbit - additive 55 shuffle pseudo-random number generator
|
randbit - subtractive 100 shuffle pseudo-random number generator
|
||||||
|
|
||||||
SYNOPSIS
|
SYNOPSIS
|
||||||
randbit([x])
|
randbit([x])
|
||||||
@@ -42,7 +42,7 @@ LINK LIBRARY
|
|||||||
SEE ALSO
|
SEE ALSO
|
||||||
seed, srand, randbit, isrand, random, srandom, israndom
|
seed, srand, randbit, isrand, random, srandom, israndom
|
||||||
|
|
||||||
## Copyright (C) 1999 Landon Curt Noll
|
## Copyright (C) 1999,2018 Landon Curt Noll
|
||||||
##
|
##
|
||||||
## Calc is open software; you can redistribute it and/or modify it under
|
## Calc is open software; you can redistribute it and/or modify it under
|
||||||
## the terms of the version 2.1 of the GNU Lesser General Public License
|
## the terms of the version 2.1 of the GNU Lesser General Public License
|
||||||
|
11
help/seed
11
help/seed
@@ -18,14 +18,7 @@ DESCRIPTION
|
|||||||
It should be pointed out that the information collected by seed
|
It should be pointed out that the information collected by seed
|
||||||
is almost certainly non-chaotic. This function is likely not
|
is almost certainly non-chaotic. This function is likely not
|
||||||
suitable for applications (such as cryptographic applications)
|
suitable for applications (such as cryptographic applications)
|
||||||
where the unpredictability of seeds is critical. For such critical
|
where the unpredictability of seeds is critical.
|
||||||
applications, LavaRnd should be used. See the URL:
|
|
||||||
|
|
||||||
http://www.LavaRnd.org/
|
|
||||||
|
|
||||||
for information about seeding a pseudo-random number generator
|
|
||||||
(such as rand() or random()) with the cryptographic hash of the
|
|
||||||
digitization of chaotic system.
|
|
||||||
|
|
||||||
Given the above warning, this builtin function produces a seed that is
|
Given the above warning, this builtin function produces a seed that is
|
||||||
suitable for most applications that desire a different pseudo-random
|
suitable for most applications that desire a different pseudo-random
|
||||||
@@ -51,7 +44,7 @@ LINK LIBRARY
|
|||||||
SEE ALSO
|
SEE ALSO
|
||||||
seed, srand, randbit, isrand, rand, random, srandom, israndom
|
seed, srand, randbit, isrand, rand, random, srandom, israndom
|
||||||
|
|
||||||
## Copyright (C) 1999 Landon Curt Noll
|
## Copyright (C) 1999,2018 Landon Curt Noll
|
||||||
##
|
##
|
||||||
## Calc is open software; you can redistribute it and/or modify it under
|
## Calc is open software; you can redistribute it and/or modify it under
|
||||||
## the terms of the version 2.1 of the GNU Lesser General Public License
|
## the terms of the version 2.1 of the GNU Lesser General Public License
|
||||||
|
@@ -332,13 +332,13 @@ LIMITS
|
|||||||
iq >= 2^16
|
iq >= 2^16
|
||||||
|
|
||||||
LINK LIBRARY
|
LINK LIBRARY
|
||||||
RAND *zsrandom(ZVALUE *pseed, MATRIX *pmat55)
|
RANDOM *zsrandom(ZVALUE *pseed, MATRIX *pmat55)
|
||||||
RAND *zsetrandom(RAND *state)
|
RANDOM *zsetrandom(RAND *state)
|
||||||
|
|
||||||
SEE ALSO
|
SEE ALSO
|
||||||
seed, srand, randbit, isrand, random, srandom, israndom
|
seed, srand, randbit, isrand, random, srandom, israndom
|
||||||
|
|
||||||
## Copyright (C) 1999 Landon Curt Noll
|
## Copyright (C) 1999,2018 Landon Curt Noll
|
||||||
##
|
##
|
||||||
## Calc is open software; you can redistribute it and/or modify it under
|
## Calc is open software; you can redistribute it and/or modify it under
|
||||||
## the terms of the version 2.1 of the GNU Lesser General Public License
|
## the terms of the version 2.1 of the GNU Lesser General Public License
|
||||||
|
17
help/types
17
help/types
@@ -1,6 +1,6 @@
|
|||||||
Builtin types
|
Builtin types
|
||||||
|
|
||||||
The calculator has the following built-in types.
|
The calculator has the following built-in types:
|
||||||
|
|
||||||
null value
|
null value
|
||||||
This is the undefined value type. The function 'null'
|
This is the undefined value type. The function 'null'
|
||||||
@@ -101,7 +101,20 @@ Builtin types
|
|||||||
using the result of the 'files' function. Such copies are
|
using the result of the 'files' function. Such copies are
|
||||||
indistinguishable from each other.
|
indistinguishable from each other.
|
||||||
|
|
||||||
## Copyright (C) 1999 Landon Curt Noll
|
The calculator also has a number of special types that as used
|
||||||
|
by some special builtin functions:
|
||||||
|
|
||||||
|
rand
|
||||||
|
A subtractive 100 shuffle pseudo-random number generator
|
||||||
|
state. This state is used by functions such as isrand()
|
||||||
|
and srand().
|
||||||
|
|
||||||
|
random
|
||||||
|
A Blum-Blum-Shub pseudo-random number generator state.
|
||||||
|
This state is used by functions such as israndom() and
|
||||||
|
srandom().
|
||||||
|
|
||||||
|
## Copyright (C) 1999,2018 Landon Curt Noll
|
||||||
##
|
##
|
||||||
## Calc is open software; you can redistribute it and/or modify it under
|
## Calc is open software; you can redistribute it and/or modify it under
|
||||||
## the terms of the version 2.1 of the GNU Lesser General Public License
|
## the terms of the version 2.1 of the GNU Lesser General Public License
|
||||||
|
Reference in New Issue
Block a user