Empresas
Empleos
  • Sobre nosotros
  • Soluciones
    • Publicación de vacantes
      Publica tu vacante y recibe candidatos calificados en 48h.
    • Evaluación de candidatos
      500+ pruebas técnicas y psicológicas, más anti-fraude.
    • Headhunting
      Búsqueda ejecutiva a la medida de principio a fin.
    • Nómina + EOR
      Dispersión de nómina y EOR en más de 15 países de LATAM.
  • Precios
  • Empleos

0

169
Vistas
Finding Null Space of Matrix in Javascript

I am wanting to see how I can find the nullspace of a m x n matrix in javascript. In MATLAB, we can use the built-in function null(A). So I was wondering if there is something similar for javascript? I know that we could try solving the system Ax=0, but using the math.js libraries, the built-in functions come with the requirement that A is n x n or square. Which is not necessarily the case.

See for example https://mathjs.org/docs/reference/functions/lusolve.html

I'd appreciate any references to do this in javascript or how I could build such a script from scratch if needed.

Thanks!

about 4 years ago · Juan Pablo Isaza
1 Respuestas
Responde la pregunta

0

Wanting to restrict to just what's in math.js...

If you know m > n and A has full column rank and your need is just to see what part of some m-dimensional vector v is not in the column span, then math.qr and do v - (Q' * (Q * v))

Otherwise, try math.eigs on A' * A and then pick the eigenvectors corresponding to the nearly-0 eigenvalues (according to some tolerance).

about 4 years ago · Juan Pablo Isaza Denunciar
Responde la pregunta
Encuentra empleos remotos

¡Descubre la nueva forma de encontrar empleo!

Top de empleos
Top categorías de empleo
Empresas
Publicar vacante Precios Comercial
Legal
Términos y condiciones Política de privacidad
© 2026 PeakU Inc. All Rights Reserved.
Andres GPT
Recomiéndame algunas ofertas
Necesito ayuda