28 lines
724 B
Plaintext
28 lines
724 B
Plaintext
[/
|
|
Copyright 2011 - 2020 John Maddock.
|
|
Copyright 2013 - 2019 Paul A. Bristow.
|
|
Copyright 2013 Christopher Kormanyos.
|
|
|
|
Distributed under the Boost Software License, Version 1.0.
|
|
(See accompanying file LICENSE_1_0.txt or copy at
|
|
http://www.boost.org/LICENSE_1_0.txt).
|
|
]
|
|
|
|
[section:eigen Eigen Interoperability]
|
|
|
|
This library provides the header:
|
|
|
|
#include <boost/multiprecision/eigen.hpp>
|
|
|
|
which defines the traits classes and functions that the Eigen library needs all user-defined number types to provide.
|
|
|
|
For example the following code performs quad-precision matrix solving on complex numbers:
|
|
|
|
[eigen_eg]
|
|
|
|
Which produces the following output:
|
|
|
|
[eigen_out]
|
|
|
|
[endsect] [/section:eigen Eigen Interoperability]
|