Home

SAITOH Akira
There is a newer version of this page. You can find it here.

+++ NOTE +++

On 20 Sep. 2011, I have noticed that there is a a Fortran multi-precision complex-number library "ZM" developed by Prof. David M. Smith [D.M. Smith, Multiple Precision Complex Arithmetic and Functions, Transactions on Mathematical Software 24 (1998) 359 -- 367] (http://myweb.lmu.edu/dmsmith/FMLIB.html). I apologize that I did not know this fact. I will change the name of my library as soon as possible. It will be changed to "zzcomplex".

+++ Introduction +++

zmcomplex library is a C++ library for multi-precision complex-number matrix calculations. It provides several functionalities including singular value decomposition, tensor product calculation, and tracing-out operations.

It is based on the GNU MP (GMP) and MPFR libraries, which are usually found as standard packages in recent Linux distributions.

Documentations are found in the "doc" directory of the package. They are also placed at [Documents] in the PDF file format.

+++ Installation +++

See the document in the directory ./doc.
In short, it is just a standard process:

$ ./configure

$ make

# make install

+++ Making your program with zmcomplex library +++

See the [Documents] for details.
In short, your source file should write

#include "zmcomplex.hpp"


and use classes and appropriate functions defined in the
header files of the zmcomplex library.

+++ Compilation of your program +++

The zmcomplex library is based on the GMP and MPFR libraries.
Thus, you probably need flags

   -lm -lmpfr -lgmp -lgmpxx


in addition to

   -lzmcomplex


to compile your program with the zmcomplex library using g++.


Auth0 Logo