Modifications
Peter Vanroose, 23 Nov 1996: added explicit copy constructor
LSB (Manchester) 15/03/2001: added Binary I/O and tidied up the documentation
Feb.2002 - Peter Vanroose - brief doxygen comment placed on single line
Oct.2002 - Amitha Perera - separated vnl_matrix and vnl_matrix_fixed,
removed necessity for vnl_matrix_fixed_ref
Oct.2002 - Peter Vanroose - added inplace_transpose() method
Jul.2003 - Paul Smyth - fixed end() bug, made op*=() more general
Mar.2009 - Peter Vanroose - added arg_min() and arg_max()
Definition in file vnl_matrix_fixed.h.
#include <vcl_cstring.h>
#include <vcl_cassert.h>
#include <vcl_iosfwd.h>
#include "vnl_matrix.h"
#include "vnl_matrix_ref.h"
#include <vnl/vnl_vector.h>
#include <vnl/vnl_c_vector.h>
#include <vnl/vnl_config.h>
Go to the source code of this file.
Classes | |
| class | VNL_MATRIX_FIXED_VCL60_WORKAROUND< T, num_rows, num_cols > |
| Fixed size, stack-stored, space-efficient matrix. More... | |
Defines | |
| #define | VNL_MATRIX_FIXED_VCL60_WORKAROUND |
| #define | VNL_MATRIX_FIXED_INSTANTIATE(T, M, N) extern "please include vnl/vnl_matrix_fixed.txx instead" |
Functions | |
| template<class T, unsigned M, unsigned N> | |
| vnl_vector_fixed< T, M > | vnl_matrix_fixed_mat_vec_mult (const vnl_matrix_fixed< T, M, N > &a, const vnl_vector_fixed< T, N > &b) |
| template<class T, unsigned M, unsigned N, unsigned O> | |
| vnl_matrix_fixed< T, M, O > | vnl_matrix_fixed_mat_mat_mult (const vnl_matrix_fixed< T, M, N > &a, const vnl_matrix_fixed< T, N, O > &b) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix_fixed< T, m, n > | operator+ (const vnl_matrix_fixed< T, m, n > &mat1, const vnl_matrix_fixed< T, m, n > &mat2) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix_fixed< T, m, n > | operator+ (const vnl_matrix_fixed< T, m, n > &mat, T s) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix_fixed< T, m, n > | operator+ (const T &s, const vnl_matrix_fixed< T, m, n > &mat) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix_fixed< T, m, n > | operator- (const vnl_matrix_fixed< T, m, n > &mat1, const vnl_matrix_fixed< T, m, n > &mat2) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix_fixed< T, m, n > | operator- (const vnl_matrix_fixed< T, m, n > &mat, T s) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix_fixed< T, m, n > | operator- (const T &s, const vnl_matrix_fixed< T, m, n > &mat) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix_fixed< T, m, n > | operator * (const vnl_matrix_fixed< T, m, n > &mat, T s) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix_fixed< T, m, n > | operator * (const T &s, const vnl_matrix_fixed< T, m, n > &mat) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix_fixed< T, m, n > | operator/ (const vnl_matrix_fixed< T, m, n > &mat, T s) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix_fixed< T, m, n > | element_product (const vnl_matrix_fixed< T, m, n > &mat1, const vnl_matrix_fixed< T, m, n > &mat2) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix_fixed< T, m, n > | element_quotient (const vnl_matrix_fixed< T, m, n > &mat1, const vnl_matrix_fixed< T, m, n > &mat2) |
| template<class T, unsigned M, unsigned N> | |
| vnl_vector_fixed< T, N > | vnl_matrix_fixed_vec_mat_mult (const vnl_vector_fixed< T, M > &a, const vnl_matrix_fixed< T, M, N > &b) |
| template<class T, unsigned M, unsigned N> | |
| vnl_vector_fixed< T, M > | operator * (const vnl_matrix_fixed< T, M, N > &a, const vnl_vector_fixed< T, N > &b) |
| Multiply conformant vnl_matrix_fixed (M x N) and vector_fixed (N). | |
| template<class T, unsigned M, unsigned N> | |
| vnl_vector_fixed< T, N > | operator * (const vnl_vector_fixed< T, M > &a, const vnl_matrix_fixed< T, M, N > &b) |
| Multiply conformant vector_fixed (M) and vnl_matrix_fixed (M x N). | |
| template<class T, unsigned M, unsigned N, unsigned O> | |
| vnl_matrix_fixed< T, M, O > | operator * (const vnl_matrix_fixed< T, M, N > &a, const vnl_matrix_fixed< T, N, O > &b) |
| Multiply two conformant vnl_matrix_fixed (M x N) times (N x O). | |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix< T > | operator+ (const vnl_matrix_fixed< T, m, n > &a, const vnl_matrix< T > &b) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix< T > | operator+ (const vnl_matrix< T > &a, const vnl_matrix_fixed< T, m, n > &b) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix< T > | operator- (const vnl_matrix_fixed< T, m, n > &a, const vnl_matrix< T > &b) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix< T > | operator- (const vnl_matrix< T > &a, const vnl_matrix_fixed< T, m, n > &b) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix< T > | operator * (const vnl_matrix_fixed< T, m, n > &a, const vnl_matrix< T > &b) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix< T > | operator * (const vnl_matrix< T > &a, const vnl_matrix_fixed< T, m, n > &b) |
| template<class T, unsigned m, unsigned n> | |
| vnl_vector< T > | operator * (const vnl_matrix_fixed< T, m, n > &a, const vnl_vector< T > &b) |
| template<class T, unsigned n> | |
| vnl_vector< T > | operator * (const vnl_matrix< T > &a, const vnl_vector_fixed< T, n > &b) |
| template<class T, unsigned m, unsigned n> | |
| vcl_ostream & | operator<< (vcl_ostream &os, vnl_matrix_fixed< T, m, n > const &mat) |
| template<class T, unsigned m, unsigned n> | |
| vcl_istream & | operator>> (vcl_istream &is, vnl_matrix_fixed< T, m, n > &mat) |
| template<class T, unsigned m, unsigned n> | |
| vnl_matrix_fixed< T, m, n > | outer_product (vnl_vector_fixed< T, m > const &a, vnl_vector_fixed< T, n > const &b) |
| #define VNL_MATRIX_FIXED_INSTANTIATE | ( | T, | |||
| M, | |||||
| N | ) | extern "please include vnl/vnl_matrix_fixed.txx instead" |
Definition at line 970 of file vnl_matrix_fixed.h.
Definition at line 97 of file vnl_matrix_fixed.h.
| vnl_matrix_fixed<T,m,n> element_product | ( | const vnl_matrix_fixed< T, m, n > & | mat1, | |
| const vnl_matrix_fixed< T, m, n > & | mat2 | |||
| ) | [inline] |
Definition at line 750 of file vnl_matrix_fixed.h.
| vnl_matrix_fixed<T,m,n> element_quotient | ( | const vnl_matrix_fixed< T, m, n > & | mat1, | |
| const vnl_matrix_fixed< T, m, n > & | mat2 | |||
| ) | [inline] |
Definition at line 761 of file vnl_matrix_fixed.h.
| vnl_vector<T> operator * | ( | const vnl_matrix< T > & | a, | |
| const vnl_vector_fixed< T, n > & | b | |||
| ) | [inline] |
Definition at line 907 of file vnl_matrix_fixed.h.
| vnl_vector<T> operator * | ( | const vnl_matrix_fixed< T, m, n > & | a, | |
| const vnl_vector< T > & | b | |||
| ) | [inline] |
Definition at line 901 of file vnl_matrix_fixed.h.
| vnl_matrix<T> operator * | ( | const vnl_matrix< T > & | a, | |
| const vnl_matrix_fixed< T, m, n > & | b | |||
| ) | [inline] |
Definition at line 895 of file vnl_matrix_fixed.h.
| vnl_matrix<T> operator * | ( | const vnl_matrix_fixed< T, m, n > & | a, | |
| const vnl_matrix< T > & | b | |||
| ) | [inline] |
Definition at line 889 of file vnl_matrix_fixed.h.
| vnl_matrix_fixed< T, M, O > operator * | ( | const vnl_matrix_fixed< T, M, N > & | a, | |
| const vnl_matrix_fixed< T, N, O > & | b | |||
| ) | [inline] |
Multiply two conformant vnl_matrix_fixed (M x N) times (N x O).
Definition at line 853 of file vnl_matrix_fixed.h.
| vnl_vector_fixed< T, N > operator * | ( | const vnl_vector_fixed< T, M > & | a, | |
| const vnl_matrix_fixed< T, M, N > & | b | |||
| ) | [inline] |
Multiply conformant vector_fixed (M) and vnl_matrix_fixed (M x N).
Definition at line 844 of file vnl_matrix_fixed.h.
| vnl_vector_fixed< T, M > operator * | ( | const vnl_matrix_fixed< T, M, N > & | a, | |
| const vnl_vector_fixed< T, N > & | b | |||
| ) | [inline] |
Multiply conformant vnl_matrix_fixed (M x N) and vector_fixed (N).
Definition at line 834 of file vnl_matrix_fixed.h.
| vnl_matrix_fixed<T,m,n> operator * | ( | const T & | s, | |
| const vnl_matrix_fixed< T, m, n > & | mat | |||
| ) | [inline] |
Definition at line 730 of file vnl_matrix_fixed.h.
| vnl_matrix_fixed<T,m,n> operator * | ( | const vnl_matrix_fixed< T, m, n > & | mat, | |
| T | s | |||
| ) | [inline] |
Definition at line 721 of file vnl_matrix_fixed.h.
| vnl_matrix<T> operator+ | ( | const vnl_matrix< T > & | a, | |
| const vnl_matrix_fixed< T, m, n > & | b | |||
| ) | [inline] |
Definition at line 871 of file vnl_matrix_fixed.h.
| vnl_matrix<T> operator+ | ( | const vnl_matrix_fixed< T, m, n > & | a, | |
| const vnl_matrix< T > & | b | |||
| ) | [inline] |
Definition at line 865 of file vnl_matrix_fixed.h.
| vnl_matrix_fixed<T,m,n> operator+ | ( | const T & | s, | |
| const vnl_matrix_fixed< T, m, n > & | mat | |||
| ) | [inline] |
Definition at line 683 of file vnl_matrix_fixed.h.
| vnl_matrix_fixed<T,m,n> operator+ | ( | const vnl_matrix_fixed< T, m, n > & | mat, | |
| T | s | |||
| ) | [inline] |
Definition at line 674 of file vnl_matrix_fixed.h.
| vnl_matrix_fixed<T,m,n> operator+ | ( | const vnl_matrix_fixed< T, m, n > & | mat1, | |
| const vnl_matrix_fixed< T, m, n > & | mat2 | |||
| ) | [inline] |
Definition at line 665 of file vnl_matrix_fixed.h.
| vnl_matrix<T> operator- | ( | const vnl_matrix< T > & | a, | |
| const vnl_matrix_fixed< T, m, n > & | b | |||
| ) | [inline] |
Definition at line 883 of file vnl_matrix_fixed.h.
| vnl_matrix<T> operator- | ( | const vnl_matrix_fixed< T, m, n > & | a, | |
| const vnl_matrix< T > & | b | |||
| ) | [inline] |
Definition at line 877 of file vnl_matrix_fixed.h.
| vnl_matrix_fixed<T,m,n> operator- | ( | const T & | s, | |
| const vnl_matrix_fixed< T, m, n > & | mat | |||
| ) | [inline] |
Definition at line 711 of file vnl_matrix_fixed.h.
| vnl_matrix_fixed<T,m,n> operator- | ( | const vnl_matrix_fixed< T, m, n > & | mat, | |
| T | s | |||
| ) | [inline] |
Definition at line 702 of file vnl_matrix_fixed.h.
| vnl_matrix_fixed<T,m,n> operator- | ( | const vnl_matrix_fixed< T, m, n > & | mat1, | |
| const vnl_matrix_fixed< T, m, n > & | mat2 | |||
| ) | [inline] |
Definition at line 693 of file vnl_matrix_fixed.h.
| vnl_matrix_fixed<T,m,n> operator/ | ( | const vnl_matrix_fixed< T, m, n > & | mat, | |
| T | s | |||
| ) | [inline] |
Definition at line 740 of file vnl_matrix_fixed.h.
| vcl_ostream& operator<< | ( | vcl_ostream & | os, | |
| vnl_matrix_fixed< T, m, n > const & | mat | |||
| ) | [inline] |
Definition at line 917 of file vnl_matrix_fixed.h.
| vcl_istream& operator>> | ( | vcl_istream & | is, | |
| vnl_matrix_fixed< T, m, n > & | mat | |||
| ) | [inline] |
Definition at line 925 of file vnl_matrix_fixed.h.
| vnl_matrix_fixed< T, m, n > outer_product | ( | vnl_vector_fixed< T, m > const & | a, | |
| vnl_vector_fixed< T, n > const & | b | |||
| ) |
Definition at line 739 of file vnl_matrix_fixed.txx.
| vnl_matrix_fixed< T, M, O > vnl_matrix_fixed_mat_mat_mult | ( | const vnl_matrix_fixed< T, M, N > & | a, | |
| const vnl_matrix_fixed< T, N, O > & | b | |||
| ) | [inline] |
Definition at line 811 of file vnl_matrix_fixed.h.
| vnl_vector_fixed< T, M > vnl_matrix_fixed_mat_vec_mult | ( | const vnl_matrix_fixed< T, M, N > & | a, | |
| const vnl_vector_fixed< T, N > & | b | |||
| ) | [inline] |
Definition at line 776 of file vnl_matrix_fixed.h.
| vnl_vector_fixed<T, N> vnl_matrix_fixed_vec_mat_mult | ( | const vnl_vector_fixed< T, M > & | a, | |
| const vnl_matrix_fixed< T, M, N > & | b | |||
| ) | [inline] |
Definition at line 793 of file vnl_matrix_fixed.h.
1.5.1