Commit Graph

10 Commits

Author SHA1 Message Date
Mark Brown
d465fa53cb Update the COPYING.LIB file and references to it.
Discussion of these changes can be found on the Mercury developers
mailing list archives from June 2018.

COPYING.LIB:
    Add a special linking exception to the LGPL.

*:
    Update references to COPYING.LIB.

    Clean up some minor errors that have accumulated in copyright
    messages.
2018-06-09 17:43:12 +10:00
Julien Fischer
1e9847eed3 Formatting fixes for extras/complex_numbers.
extras/complex_numbers/*.m:
    Delete trailing whitespace.

    Fix header comments.
2015-12-17 09:43:25 +11:00
Julien Fischer
1bac7f91fe Cleanups for the complex numbers library.
Estimated hours taken: 1
Branches: main, release

Cleanups for the complex numbers library.

extras/complex_numbers/*.m:
extras/complex_numbers/samples/fft.m:
extras/complex_numbers/tests/complex_test.m:
	Convert these modules to four-space indentation.

	Conform to our current coding standard.
2006-04-10 06:33:27 +00:00
Julien Fischer
ae4b976adc Standardize the module qualifier used in this modules
Estimated hours taken: 0.1
Branches: main, release

extras/complex_numbers/*.m:
extras/complex_numbers/samples/fft.m:
extras/complex_numbers/tests/complex_test.m:
	Standardize the module qualifier used in this modules
	to `.'.
2005-02-09 12:50:24 +00:00
Simon Taylor
34d45ca185 Fix the copyright notice dates from my last change.
Estimated hours taken: 0.1
Branches: main, release

extras/complex_numbers/*.m:
	Fix the copyright notice dates from my last change.
2001-09-23 06:35:24 +00:00
Simon Taylor
f3d7a66039 Remove reverse modes of arithmetic functions (as with the
Estimated hours taken: 0.5
Branches: main, release

extras/complex_numbers/*.m:
	Remove reverse modes of arithmetic functions (as with the
	reverse modes of the functions in float.m, these functions
	aren't actually reversible because of rounding errors).

extras/complex_numbers/complex_numbers.m:
	Add missing `:- include module' declarations for complex_float.m
	and float_complex.m.

extras/complex_numbers/complex_float.m:
extras/complex_numbers/float_complex.m:
	Fix some compile errors.

NEWS:
	Document the changes.
2001-09-22 12:10:28 +00:00
Fergus Henderson
d23f11ac33 Use sub-modules to package up the modules in extras/complex_numbers
Estimated hours taken: 0.75

Use sub-modules to package up the modules in extras/complex_numbers
into a single module.

extras/complex_numbers/complex_lib.m:
extras/complex_numbers/complex_numbers.m:
	Rename complex_lib.m as complex_numbers.m,
	and modify it to use sub-modules.

extras/complex_numbers/*.m:
extras/complex_numbers/tests/complex_test.m:
extras/complex_numbers/samples/fft.m:
	Add `complex_numbers:' to all of the `:- module'
	and `:- import_module' declarations.

extras/complex_numbers/Mmakefile:
extras/complex_numbers/tests/Mmakefile:
extras/complex_numbers/samples/Mmakefile:
	Modify to reflect the renaming from `complex_lib' to
	`complex_numbers'.
1998-05-29 09:08:43 +00:00
Fergus Henderson
04b720630b Update the copyright messages so that (a) they contain the correct years
and (b) they say "Copyright (C) ... _The_ University of Melbourne".
1997-07-27 15:09:59 +00:00
Fergus Henderson
95ba2a021c Add an Mmakefile to build the complex number library, using the
Estimated hours taken: 3

extras/complex_numbers/*:
	Add an Mmakefile to build the complex number library, using the
	new support for user-defined libraries.
	Move the test cases into a new subdirectory `tests'.
	Add a new subdirectory `samples', containing an example
	module `fft.m' that uses the library.
	Add a README file.

extras/complex_numbers/complex.m:
	Add new functions `complex/1' (converts float to complex),
	`cis' (cos + i * sin), and `conj'.
	Rename `norm' as `abs2' (square of absolute value).
1997-07-16 07:54:22 +00:00
Fergus Henderson
4971aa96ba New modules to support complex numbers.
Estimated hours taken: 8

extras/complex_numbers/complex.m:
extras/complex_numbers/complex_float.m:
extras/complex_numbers/float_complex.m:
	New modules to support complex numbers.

extras/complex_numbers/imag.m:
extras/complex_numbers/imag_complex.m:
extras/complex_numbers/complex_imag.m:
extras/complex_numbers/imag_float.m:
extras/complex_numbers/float_imag.m:
	New modules to support imaginary numbers.

extras/complex_numbers/complex_test.m:
extras/complex_numbers/complex_test.exp:
	Tests cases for the above-mentioned new modules.
1997-07-10 09:08:49 +00:00