CGAL 4.7 - Estimation of Local Differential Properties of Point-Sampled Surfaces
SvdTraits Concept Reference

## Definition

The concept SvdTraits describes the set of requirements to be fulfilled by any class used to instantiate the third template parameter of the class CGAL::Monge_via_jet_fitting<DataKernel,LocalKernel,SvdTraits>.

It describes the linear algebra types and algorithms needed by the class CGAL::Monge_via_jet_fitting.

Requirements

The scalar type, SvdTraits::FT, must be the same as that of the LocalKernel concept : LocalKernel::FT.

Has Models:
CGAL::Eigen_svd
LocalKernel

## Concepts

conceptMatrix
Concept of matrix type used by the concept SvdTraits. More...

conceptVector
Concept of vector type used by the concept SvdTraits. More...

## Types

typedef unspecified_type FT
The scalar type.

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

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

## 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 Function Documentation

 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$$.