encyclopegia.org

Conjugate gradient squared method

In numerical linear algebra, the conjugate gradient squared method (CGS) is an iterative algorithm for solving systems of linear equations of the form A{\bold x} = {\bold b} , particularly in cases where computing the transpose A^T is impractical.[src] The CGS method was developed as an improvement to the biconjugate gradient method.[src]

In numerical linear algebra, the conjugate gradient squared method (CGS) is an iterative algorithm for solving systems of linear equations of the form A{\bold x} = {\bold b} , particularly in cases where computing the transpose A^T is impractical.[src] The CGS method was developed as an improvement to the biconjugate gradient method.[src] A system of linear equations A{\bold x} = {\bold b} consists of a known matrix A and a known vector {\bold b} .[src] To solve the system is to find the value of the unknown vector {\bold x} .[src] A direct method for solving a system of linear equations is to take the inverse of the matrix A , then calculate \bold x = A^{-1}\bold b .[src] However, computing the inverse is computationally expensive.[src] Hence, iterative methods are commonly used.[src] Iterative methods begin with a guess \bold x^{(0)} , and on each iteration the guess is improved.[src] Once the difference between successive guesses is sufficiently small, the method has converged to a solution.[src] As with the conjugate gradient method, biconjugate gradient method, and similar iterative methods for solving systems of linear equations, the CGS method can be used to find solutions to multi-variable optimisation problems, such as power-flow analysis, hyperparameter optimisation, and facial recognition.[src] Compute the residual {\bold r}^{(0)} = {\bold b} - A{\bold x}^{(0)} Choose \tilde {\bold r} = {\bold r}^{(0)} For i = 1, 2, 3, \dots do: \rho^{(i-1)} = \tilde {\bold r}^{T}{\bold r}^{(i-1)} If \rho^{(i-1)} = 0 , the method fails.[src] If i=1 : {\bold p}^{(1)} = {\bold u}^{(1)} = {\bold r}^{(0)} Else: \beta^{(i-1)} = \rho^{(i-1)}/\rho^{(i-2)} {\bold u}^{(i)} = {\bold r}^{(i-1)} + \beta_{i-1}{\bold q}^{(i-1)} {\bold p}^{(i)} = {\bold u}^{(i)} + \beta^{(i-1)}({\bold q}^{(i-1)} + \beta^{(i-1)}{\bold p}^{(i-1)}) Solve M\hat {\bold p}={\bold p}^{(i)} , where M is a pre-conditioner.[src] \hat {\bold v} = A\hat {\bold p} \alpha^{(i)} = \rho^{(i-1)} / \tilde {\bold r}^T \hat {\bold v} {\bold q}^{(i)} = {\bold u}^{(i)} - \alpha^{(i)}\hat {\bold v} Solve M\hat {\bold u} = {\bold u}^{(i)} + {\bold q}^{(i)} {\bold x}^{(i)} = {\bold x}^{(i-1)} + \alpha^{(i)} \hat {\bold u} \hat {\bold q} = A\hat {\bold u} {\bold r}^{(i)} = {\bold r}^{(i-1)} - \alpha^{(i)}\hat {\bold q} Check for convergence: if there is convergence, end the loop and return the result[src]

15 sentences · 15 cited inline · 0 references stored

References

No reference rows published for this article.

Cite this article

MLA

"Conjugate gradient squared method." encyclopegia.org, 2026, https://encyclopegia.org/wiki/conjugate-gradient-squared-method. Accessed 01 December 2026.

Chicago

"Conjugate gradient squared method." encyclopegia.org. Accessed December 1, 2026. https://encyclopegia.org/wiki/conjugate-gradient-squared-method.

APA

encyclopegia.org. (2026). Conjugate gradient squared method. Retrieved December 1, 2026, from https://encyclopegia.org/wiki/conjugate-gradient-squared-method

Accessed December 1, 2026 · CC BY-SA 4.0 · citation page · JSON

Related articles

gradient

stub · references available

Aitken's delta-squared process

stub · references available

Hero Squared

stub · references available

M squared

stub · references available

concentration gradient

stub · references available

color gradient

stub · references available

density gradient

stub · references available

Pseudo-R-squared

stub · references available
CC BY-SA 4.0 · share-alike · https://en.wikipedia.org/w/index.php?oldid=1332921028 · 0.5 · snapshot enwiki-001332921028

Cite · JSON · Search

Related services and records

Services

  • Estate — measured countries, lanes and facts
  • Intel — live corroborated events
  • Legal — statutes, cases and citations
  • Encyclopedia — articles with inline sources
  • Space — launches, satellites and orbits
  • Search — federated search and reports
  • Pass — passport account and SSO
  • Corpora — read-only corpus origins
  • e01 — self-hosted corpora and tools
  • Careers — open roles: frontier engineers and sales partners
  • Index — every corpus, paper and record
  • Estate guide — what a public data estate is
  • Founder — Lois-Kleinner Alpasan
  • Records — DOIs and external deposits
  • Documents — one-pagers, PDFs and QR codes
  • Brand kit — logos and share images
  • Papers — plain-language briefs with citations
  • Browser — search engine, PWA and bookmarklet
  • Anticloud — the operator and its projects

As seen in Business Insider · 336 outlets · evidence DOIs · plain-language papers

Text and metadata only; each target carries its own sources. Missing data is published as no-data, never estimated.