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

  • Home
  • SEARCH
  • 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 137513
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 11, 20262026-05-11T07:07:05+00:00 2026-05-11T07:07:05+00:00

Does anyone know where I might find a PHP matrix math library which is

  • 0

Does anyone know where I might find a PHP matrix math library which is still actively maintained?

I need to be able to do the basic matrix operations like reduce, transpose (including non-square matrices), invert, determinant, etc.

This question was asked in the past, then closed with no answers. Now I need an answer to the same question. See these links to related questions:

Matrix artihmetic in PHP? https://stackoverflow.com/questions/435074/matrix-arithmetic-in-php-again

I was in the process of installing the pear Math_Matrix library when I saw these and realized it wouldn’t help me. (Thanks Ben for putting that comment about transpose in your question.)

I can code this stuff myself, but I would make me happier to see that there is a library for this somewhere.

  • 1 1 Answer
  • 3 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. 2026-05-11T07:07:05+00:00Added an answer on May 11, 2026 at 7:07 am

    You might do better to do your matrix manipulations in another language and call that code from PHP. The PHP community isn’t typically concerned with matrix computation, so I imagine it will be challenging to find what you want. But there are plenty of math libraries in other languages. For example, you might try Python (SciPy), though I don’t know how hard it is to mix PHP and Python. I don’t know PHP, but most languages have a way to call C, and from C you could call the Gnu Scientific Library, for example.

    By the way, there’s hardly ever a reason to invert a matrix. Most problems that appear to require matrix inversion actually require solving linear systems. The latter is more stable. Also, some libraries may not have a matrix inversion routine per se because they assume people will use a factorization routine (e.g. Cholesky) and repeated solve systems of equations.

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

Sidebar

Ask A Question

Stats

  • Questions 185k
  • Answers 185k
  • Best Answers 0
  • User 1
  • Popular
  • Answers
  • Editorial Team

    How to approach applying for a job at a company ...

    • 7 Answers
  • Editorial Team

    What is a programmer’s life like?

    • 5 Answers
  • Editorial Team

    How to handle personal stress caused by utterly incompetent and ...

    • 5 Answers
  • Editorial Team
    Editorial Team added an answer No, WCF does not reserialize the message. What happens is… May 12, 2026 at 5:05 pm
  • Editorial Team
    Editorial Team added an answer This site seems to explain it quite well. Too long… May 12, 2026 at 5:05 pm
  • Editorial Team
    Editorial Team added an answer I'm not sure how to get Emacs to pick up… May 12, 2026 at 5:05 pm

Related Questions

I came across this link today that offers a ToolStripProfessionalRenderer implementation for the Office
Following up from my last question does anyone know how I can use a
I exchanged emails with Marc-André Cournoyer of RefactorMyCode.com about supporting Delphi on his site.
VStudio ASP.NET gives the following message: Attribute 'bgcolor' is considered outdated. A newer construct

Trending Tags

analytics british company computer developers django employee employer english facebook french google interview javascript language life php programmer programs salary

Top Members

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.