Functions
vnl_ldl_cholesky.cxx File Reference

Updateable Cholesky decomposition: A=LDL'. More...

#include <cmath>
#include <cassert>
#include <iostream>
#include "vnl_ldl_cholesky.h"
#include <vnl/algo/vnl_netlib.h>

Go to the source code of this file.

Functions

double dot (const double *v1, const double *v2, unsigned n)
 Sum of v1[i]*v2i. More...
 
double dot (const double *v1, unsigned s, const double *v2, unsigned n)
 Sum of v1[i*s]*v2i. More...
 

Detailed Description

Updateable Cholesky decomposition: A=LDL'.

Author
Tim Cootes
Date
29 Mar 2006

Definition in file vnl_ldl_cholesky.cxx.

Function Documentation

◆ dot() [1/2]

double dot ( const double *  v1,
const double *  v2,
unsigned  n 
)
inline

Sum of v1[i]*v2i.

Definition at line 72 of file vnl_ldl_cholesky.cxx.

◆ dot() [2/2]

double dot ( const double *  v1,
unsigned  s,
const double *  v2,
unsigned  n 
)
inline

Sum of v1[i*s]*v2i.

Definition at line 79 of file vnl_ldl_cholesky.cxx.