Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 7601371
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 30, 20262026-05-30T23:09:01+00:00 2026-05-30T23:09:01+00:00

I am attempting to diagonalize matrices in quadruple precision, and to take their logarithms.

  • 0

I am attempting to diagonalize matrices in quadruple precision, and to take their logarithms. Is there a language in which I can accomplish this using built-in functions?

Note, the languages/packages in the tags are insufficient, suffering from the following deficiencies:

Matlab: Does not support quad precision.

Python/NumPy/SciPy: Matrices with dtype float128 yield eigenvectors in float64.

Sage: Interface through GP/PARI yields cryptic error messages.

Has anyone performed diagonalization and matrix logarithms to quad precision, and if so, how?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-30T23:09:02+00:00Added an answer on May 30, 2026 at 11:09 pm

    @Matlab: Does not support quad precision.

    Multiprecision Computing Toolbox for MATLAB provides routines for linear algebra computations in arbitrary precision.

    It covers many other fields – basic math, numerical methods (integration, ode, optimization), special functions and basic data analysis.

    Besides it allows running existing Matlab’s programs in arbitrary precision with only minimal (or without any) modifications to source code.

    Update (March 27, 2013): Now toolbox also includes fast quadruple precision mode, which is nearly 100 times faster compared to alternatives. See Fast Quadruple Precision Computations in MATLAB for comparisons and details.


    Critics on suggested alternatives:

    Symbolic Math Toolbox (MATLAB) from Mathworks targeted to symbolic computations. As such it lacks many essential features needed for arbitrary precision numerical computing.

    For example, it is not even possible to compare two vpa() numbers since they are of “symbolic” type (by design). This only limitation rules out 99% of algorithms from numerical analysis.

    Other basic linear algebra functions missing in Symbolic Math Toolbox are: norm, cond, max, min, sort, lu, qr, chol, schur.

    Free Multiple Precision Toolbox (MATLAB).

    Besides being extremely slow (it performs number-to-string conversion of operands on every arithmetic operation: +, -, ...) and lacking essential functionality (eig, det, cond, \, ...), it gives wrong results in functions it has.

    E.g. incorrect results delivered by svd function made my research senseless at some point and error was painful to find.

    mpmath (Python)

    Mainly targeted to special functions computing (hypergeometric family in particular). And has no support for more or less advanced numerical algorithms. Has very little support for matrices. Although seems to have matrix logarithm you are looking for in the latest version.


    Actually all these drawbacks pushed me to develop my own extension for MATLAB to enable it with arbitrary precision computing (referred at the beginning – Multiprecision Computing Toolbox for MATLAB). I just need it for my work.

    It is under active development (but already fixes all listed problems with other alternatives) – I would appreciate any feedback.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Attempting to get an answer to this question. How can I turn off the
Attempting to find printers / shares in Active Directory using C#. This is my
Attempting to use the data series from this example no longer passes the JSONLint
Attempting to build a C# project which has numerous references to assemblies in NuGet
Attempting to set up Samba + OpenLDAP using nss_ldap. After joining Windows7 to Samba
Attempting to generics-ify some legacy code, I'm stuck. I have a ParentObject which wraps
Attempting to follow this Java tutorial . About 63 pages in, you are instructed
Attempting to build a Visual Studio 2010 solution with 132 projects which do not
When attempting a file upload to an Alfresco Server using ssl the server logs
ATTEMPTING: I am trying to load a FLV using the FLVPlayback() component in another

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.