Class Library for Numbers
- Class Library for Numbers
-
CLN is a free library for arbitrary precision arithmetic. It operates on signed integers, rational numbers, floating point numbers, complex numbers, modular numbers, and univariate polynomials. Its implementation programming language is C++.
CLN uses object oriented techniques and operator overloading to achieve a natural algebraic syntax: The sum x of two variables a and b is written as x = a + b, as opposed to the function sum(&x, a, b).
CLN uses class inheritance to model the natural subsets of the available number types: E.g. the integer class is a subtype of the rational class, just as the integer numbers are a subset of the rational numbers. The complex numbers and all its subtypes behave exactly like the types of numbers known to the Common Lisp language, giving CLN another meaning: it becomes an abbreviation of Common Lisp Numbers. Due to this, CLN can be and is used for implementations of Common Lisp, other interpreted languages, or computer algebra systems.
The implementation is efficient. It can be configured to use the GNU Multi-Precision Library as kernel for speed-critical inner loops and implements advanced algorithms like Schönhage–Strassen multiplication, binary splitting and others. All CLN objects are either immediate or reference counted, providing for non-interruptive garbage collection with no burden on the main application.
External links
Categories:
- Free software programmed in C++
- Numerical software
- Pi-related software
Wikimedia Foundation.
2010.
Look at other dictionaries:
Java Class Library — The Java Class Library is a set of dynamically loadable libraries that Java applications can call at runtime. Because the Java Platform is not dependent on any specific operating system, applications cannot rely on any of the existing libraries.… … Wikipedia
Framework Class Library — The Framework Class Library (FCL) is a standard library and one of two core components of Microsoft .NET Framework. The FCL is a collection of thousands of reusable classes (within hundreds of namespaces), interfaces and value types. BCL(Base… … Wikipedia
Base Class Library — The Base Class Library (BCL) is a standard library available to all languages using the .NET Framework. In order to make the programmer s job easier, .NET includes the BCL in order to encapsulate a large number of common functions, such as file… … Wikipedia
library — /luy brer ee, breuh ree, bree/, n., pl. libraries. 1. a place set apart to contain books, periodicals, and other material for reading, viewing, listening, study, or reference, as a room, set of rooms, or building where books may be read or… … Universalium
Library (computing) — This article is about the programming concept. For Windows 7 Libraries, see Features new to Windows 7#Libraries. Illustration of an application which uses libvorbisfile to play an Ogg Vorbis file In computer science, a library is a collection of… … Wikipedia
Library classification — forms part of the field of library and information science. It is a form of bibliographic classification (library classifications are used in library catalogs, while bibliographic classification also covers classification used in other kinds of… … Wikipedia
Library of Congress Classification — The Library of Congress Classification (LCC) is a system of library classification developed by the Library of Congress. It is used by most research and academic libraries in the U.S. and several other countries; for example, Australia[1][2] and… … Wikipedia
Numbers game — Cut number redirects here; cut number also refers to the codes used to identify pasta varieties. Numbers game, also known as a numbers racket, policy racket or Italian lottery, is an illegal lottery played mostly in poor neighborhoods in the… … Wikipedia
Library of Sir Thomas Browne — No single document gives better evidence of the erudition of Sir Thomas Browne, physician, philosopher and encyclopedist than the 1711 Sales Auction Catalogue of the Library of Sir Thomas Browne . It also provides an insight into the… … Wikipedia
Collins class submarine — HMAS Rankin, sixth submarine of the Collins class, underway in 2006 Class overview Builders: Australian Submarine Corporatio … Wikipedia