core
vnl
vnl_matops.h
Go to the documentation of this file.
1
// This is core/vnl/vnl_matops.h
2
#ifndef vnl_matops_h_
3
#define vnl_matops_h_
4
//:
5
// \file
6
// \brief A collection of Matrix operations
7
// \author Andrew W. Fitzgibbon, Oxford RRG
8
// \date 05 Aug 96
9
//
10
// \verbatim
11
// Modifications
12
// 23 may 97, Peter Vanroose - "NO_COMPLEX" option added
13
// LSB (Manchester) 23/3/01 Documentation tidied
14
// \endverbatim
15
//
16
//-----------------------------------------------------------------------------
17
18
#include <
vnl/vnl_vector.h
>
19
#include <
vnl/vnl_matrix.h
>
20
#include "vnl/vnl_export.h"
21
22
//: A collection of vnl_matrix operations, provided as static methods.
23
// Highlights include matrix glueing, and type conversions.
24
// matlab_print has been moved to vnl_matlab_print.h.
25
class
VNL_EXPORT
vnl_matops
26
{
27
public
:
28
static
double
homg_diff(
vnl_matrix<double>
const
& A,
vnl_matrix<double>
const
& B);
29
30
//: Laminating
31
static
vnl_matrix<double>
cat(
vnl_matrix<double>
const
& A,
vnl_matrix<double>
const
& B);
32
static
vnl_matrix<double>
cat(
vnl_matrix<double>
const
& A,
vnl_vector<double>
const
& B);
33
static
vnl_matrix<double>
cat(
vnl_vector<double>
const
& A,
vnl_matrix<double>
const
& B);
34
35
static
vnl_matrix<double>
vcat(
vnl_matrix<double>
const
& A,
vnl_matrix<double>
const
& B);
36
37
//: Conversions
38
static
vnl_matrix<double>
f2d(
vnl_matrix<float>
const
&);
39
static
vnl_vector<double>
f2d(
vnl_vector<float>
const
&);
40
static
vnl_matrix<float>
d2f(
vnl_matrix<double>
const
&);
41
static
vnl_vector<float>
d2f(
vnl_vector<double>
const
&);
42
};
43
44
#endif // vnl_matops_h_
vnl_matrix.h
An ordinary mathematical matrix.
vnl_vector.h
vnl_matrix< double >
vnl_vector< double >
vnl_matops
A collection of vnl_matrix operations, provided as static methods.
Definition:
vnl_matops.h:24
Generated by
1.8.15