Next:
Contents
Contents
Index
libaldor
User Guide and Reference Manual
Manuel Bronstein
Version 1.0.2 - April 30, 2004
Contents
Introduction
What is
libaldor
?
How do I get and install
libaldor
?
How do I use
libaldor
in my programs?
User Guide
Arithmetic
Data structures
Input/Output
Compatibility with C types
Using GMP
Profiling
Exceptions
Debugging
Reference Manual
Arithmetic
AldorInteger
AdditiveType
.
+,-
add!,minus!
zero?
ArithmeticType
1
*,**
commutative?
one?
times!
BinaryPowering
binaryExponentiation
Boolean
true,false
BooleanArithmeticType
and,or,not,xor
Complex
coerce
complex
conjugate
copy!
imag,real
norm
DoubleFloat
**
coerce,single
max,min
FloatType
coerce
fraction,truncate
GMPFloat
coerce
limbs
machine,single
new
precision,setPrecision!
GMPInteger
coerce
limbs
new
IntegerSegment
..
by,step
generator
high,low
open?
IntegerType
bit?,clear,set
coerce,machine
divide,mod,quo,rem
even?,odd?
factorial
gcd,lcm
length
next,prev
nthRoot
random
shift
LinearCombinationType
add!
times!
MachineInteger
bytes,max,min
modX,modInverse
OrderedArithmeticType
abs
sign
PartiallyOrderedType
,
PackableType
getPackedArray,setPackedArray!
newPackedArray
PrimitiveType
RandomNumberGenerator
apply
generator
max,min
numberOfGenerators
randomGenerator
randomInteger
seed
SingleFloat
**
max,min
TotallyOrderedType
compare
max,min
Input/Output
BinaryReader
bin
binaryReader
read!
BinaryWriter
berr,bout
binaryWriter
flush!
write!
Byte
coerce
eof
lowByte
Character
char,ord
digit?,letter?,space?
eof,newline,null,tab
lower,upper
File
close!
coerce
fileAppend,fileBinary,fileRead,fileText,fileWrite
open
position
remove
setPosition!,setPositionFromEnd!,setRelativePosition!
uniqueName
FileException
FileExceptionType
InputType
OutputType
SerializableType
SyntaxException
SyntaxExceptionType
TextReader
push!
read!
readUntil!,readWhile!,skipUntil!,skipWhile!
stdin
textReader
TextWriter
flush!
stderr,stdout
textWriter
write!
WriterManipulator
endnl
flush
Data Structures
Array
ArrayException
ArrayExceptionType
ArrayType
array
binarySearch
data
new
resize!
sort!
BoundedFiniteDataStructureType
size
findAll
generator
member?
BoundedFiniteLinearStructureType
linearSearch
map
CheckingArray
CheckingList
CheckingMemoryBlock
DataStructureType
empty?
free!
DynamicDataStructureType
insert
remove,removeAll
FiniteLinearStructureType
[]
empty
new
Flags
dimension
HashTable
forget,remember
remove!
KeyEntry
[]
entry,explode,key
setEntry!,setKey!
HashType
hash
LinearStructureType
[]
apply
firstIndex
set!
equal?
List
ListException
ListExceptionType
ListType
append!
cons
delete!
find
first
merge!
rest
reverse
setFirst!
setRest!
sort!
split!
MemoryBlock
PackedPrimitiveArray
PrimitiveArray
PrimitiveArrayType
array,pointer
new
read,write
resize!
sort!
PrimitiveMemoryBlock
coerce
Queue
remove!
Set
intersection
minus!
union
SortedAssociationSet
SortedList
SortedSet
Stream
size
constant
generator
interlacing
map!
orbit
stream
String
char
coerce
error
new
pointer,string
StringBuffer
coerce
new
string
TableException
TableExceptionType
TableType
[]
apply
entries, keys
find
numberOfEntries
set!
table
Utilities
AldorLibraryInformation
VersionInformationType
credits
major,minor,patch
name
version
BinarySearch
binarySearch
CommandLine
arguments
command
flag
CopyableType
copy
Generator
concat
interlacing
next!,partialNext!
GeneratorException
GeneratorExceptionType
Partial
[]
failed
retract
Pointer
nil
Timer
gc
read
reset!
start!
stop!
timer
Trace
name,shortName
traceActivate,traceStop
Index
About this document ...
Manuel Bronstein 2004-06-28