CGAL 5.1 - CGAL and Solvers
SvdTraits Class Reference

#include <Concepts/SvdTraits.h>

Definition

The concept SvdTraits describes the linear algebra types and algorithms needed to solve in the least square sense a linear system with a singular value decomposition.

Has Models:
CGAL::Eigen_svd

Classes

class  Matrix
 Concept of matrix type used by the concept SvdTraits. More...
 
class  Vector
 Concept of vector type used by the concept SvdTraits. More...
 

Types

typedef unspecified_type FT
 The scalar type. More...
 
typedef unspecified_type Vector
 The vector type, model of the concept SvdTraits::Vector. More...
 
typedef unspecified_type Matrix
 The matrix type, model of the concept SvdTraits::Matrix. More...
 

Operations

The concept SvdTraits has a linear solver using a singular value decomposition algorithm.

FT solve (const Matrix &M, Vector &B)
 Solves the system \( MX=B\) (in the least square sense if \( M\) is not square) using a singular value decomposition and returns the condition number of \( M\). More...
 

Member Typedef Documentation

◆ FT

typedef unspecified_type SvdTraits::FT

The scalar type.

◆ Matrix

typedef unspecified_type SvdTraits::Matrix

The matrix type, model of the concept SvdTraits::Matrix.

◆ Vector

typedef unspecified_type SvdTraits::Vector

The vector type, model of the concept SvdTraits::Vector.

Member Function Documentation

◆ solve()

FT SvdTraits::solve ( const Matrix M,
Vector B 
)

Solves the system \( MX=B\) (in the least square sense if \( M\) is not square) using a singular value decomposition and returns the condition number of \( M\).

The solution is stored in \( B\).