fix_operators.h File Reference

Definitions of a set of operators for Fix, Fixed, CFix and CFixed classes. More...

`#include <itpp/fixed/cfix.h>`
`#include <itpp/fixed/fix_functions.h>`
`#include <itpp/itexports.h>`

Go to the source code of this file.

## Namespaces

namespace | itpp
| itpp namespace

## Functions

Fix | itpp::operator+ (const Fix &x, const Fix &y)
| Fix + Fix.
Fix | itpp::operator- (const Fix &x, const Fix &y)
| Fix - Fix.
Fix | itpp::operator* (const Fix &x, const Fix &y)
| Fix * Fix.
Fix | itpp::operator/ (const Fix &x, const Fix &y)
| Fix / Fix using quantization mode `TRN`.
Fix | itpp::operator+ (const Fix &x, const int y)
| Fix + int.
Fix | itpp::operator- (const Fix &x, const int y)
| Fix - int.
Fix | itpp::operator* (const Fix &x, const int y)
| Fix * int.
Fix | itpp::operator/ (const Fix &x, const int y)
| Fix / int using quantization mode `TRN`.
Fix | itpp::operator+ (const int x, const Fix &y)
| int + Fix
Fix | itpp::operator- (const int x, const Fix &y)
| int - Fix
Fix | itpp::operator* (const int x, const Fix &y)
| int * Fix
Fix | itpp::operator/ (const int x, const Fix &y)
| int / Fix using quantization mode `TRN`
fixvec | itpp::operator+ (const fixvec &v, const int s)
| fixvec + int
fixvec | itpp::operator+ (const int s, const fixvec &v)
| int + fixvec
fixvec | itpp::operator- (const fixvec &v, const int s)
| fixvec - int
fixvec | itpp::operator- (const int s, const fixvec &v)
| int - fixvec
fixvec | itpp::operator* (const fixvec &v, const int s)
| fixvec * int
fixvec | itpp::operator* (const int s, const fixvec &v)
| int * fixvec
fixvec | itpp::operator/ (const fixvec &v, const int s)
| fixvec / int using quantization mode `TRN`
fixmat | itpp::operator+ (const fixmat &v, const int s)
| fixmat + int
fixmat | itpp::operator+ (const int s, const fixmat &v)
| int + fixmat
fixmat | itpp::operator- (const fixmat &v, const int s)
| fixmat - int
fixmat | itpp::operator- (const int s, const fixmat &v)
| int - fixmat
fixmat | itpp::operator* (const fixmat &v, const int s)
| fixmat * int
fixmat | itpp::operator* (const int s, const fixmat &v)
| int * fixmat
fixmat | itpp::operator/ (const fixmat &v, const int s)
| fixmat / int using quantization mode `TRN`
fixvec | itpp::operator+ (const fixvec &a, const ivec &b)
| fixvec + ivec
fixvec | itpp::operator+ (const ivec &a, const fixvec &b)
| ivec + fixvec
fixvec | itpp::operator- (const fixvec &a, const ivec &b)
| fixvec - ivec
fixvec | itpp::operator- (const ivec &a, const fixvec &b)
| ivec - fixvec
Fix | itpp::operator* (const fixvec &a, const ivec &b)
| fixvec * ivec
Fix | itpp::operator* (const ivec &a, const fixvec &b)
| ivec * fixvec
fixmat | itpp::operator+ (const fixmat &a, const imat &b)
| fixmat + imat
fixmat | itpp::operator+ (const imat &a, const fixmat &b)
| imat + fixmat
fixmat | itpp::operator- (const fixmat &a, const imat &b)
| fixmat - imat
fixmat | itpp::operator- (const imat &a, const fixmat &b)
| imat - fixmat
fixmat | itpp::operator* (const fixmat &a, const imat &b)
| fixmat * imat
fixmat | itpp::operator* (const imat &a, const fixmat &b)
| imat * fixmat
CFix | itpp::operator+ (const CFix &x, const CFix &y)
| CFix + CFix.
CFix | itpp::operator- (const CFix &x, const CFix &y)
| CFix - CFix.
CFix | itpp::operator* (const CFix &x, const CFix &y)
| CFix * CFix.
CFix | itpp::operator/ (const CFix &x, const CFix &y)
| CFix / CFix using quantization mode `TRN`.
CFix | itpp::operator+ (const CFix &x, const Fix &y)
| CFix + Fix.
CFix | itpp::operator- (const CFix &x, const Fix &y)
| CFix - Fix.
CFix | itpp::operator* (const CFix &x, const Fix &y)
| CFix * Fix.
CFix | itpp::operator/ (const CFix &x, const Fix &y)
| CFix / Fix using quantization mode `TRN`.
CFix | itpp::operator+ (const Fix &x, const CFix &y)
| Fix + CFix.
CFix | itpp::operator- (const Fix &x, const CFix &y)
| Fix - CFix.
CFix | itpp::operator* (const Fix &x, const CFix &y)
| Fix * CFix.
CFix | itpp::operator/ (const Fix &x, const CFix &y)
| Fix / CFix using quantization mode `TRN`.
CFix | itpp::operator+ (const CFix &x, const int y)
| CFix + int.
CFix | itpp::operator- (const CFix &x, const int y)
| CFix - int.
CFix | itpp::operator* (const CFix &x, const int y)
| CFix * int.
CFix | itpp::operator/ (const CFix &x, const int y)
| CFix / int using quantization mode `TRN`.
CFix | itpp::operator+ (const int x, const CFix &y)
| int + CFix
CFix | itpp::operator- (const int x, const CFix &y)
| int - CFix
CFix | itpp::operator* (const int x, const CFix &y)
| int * CFix
CFix | itpp::operator/ (const int x, const CFix &y)
| int / CFix using quantization mode `TRN`
cfixvec | itpp::operator+ (const fixvec &v, const CFix &s)
| fixvec + CFix
cfixvec | itpp::operator+ (const CFix &s, const fixvec &v)
| CFix + fixvec.
cfixvec | itpp::operator- (const fixvec &v, const CFix &s)
| fixvec - CFix
cfixvec | itpp::operator- (const CFix &s, const fixvec &v)
| CFix - fixvec.
cfixvec | itpp::operator* (const fixvec &v, const CFix &s)
| fixvec * CFix
cfixvec | itpp::operator* (const CFix &s, const fixvec &v)
| CFix * fixvec.
cfixvec | itpp::operator/ (const fixvec &v, const CFix &s)
| fixvec / CFix using quantization mode `TRN`
cfixmat | itpp::operator+ (const fixmat &m, const CFix &s)
| fixmat + CFix
cfixmat | itpp::operator+ (const CFix &s, const fixmat &m)
| CFix + fixmat.
cfixmat | itpp::operator- (const fixmat &m, const CFix &s)
| fixmat - CFix
cfixmat | itpp::operator- (const CFix &s, const fixmat &m)
| CFix - fixmat.
cfixmat | itpp::operator* (const fixmat &m, const CFix &s)
| fixmat * CFix
cfixmat | itpp::operator* (const CFix &s, const fixmat &m)
| CFix * fixmat.
cfixmat | itpp::operator/ (const fixmat &m, const CFix &s)
| fixmat / CFix using quantization mode `TRN`
cfixvec | itpp::operator+ (const ivec &v, const CFix &s)
| ivec + CFix
cfixvec | itpp::operator+ (const CFix &s, const ivec &v)
| CFix + ivec.
cfixvec | itpp::operator- (const ivec &v, const CFix &s)
| ivec - CFix
cfixvec | itpp::operator- (const CFix &s, const ivec &v)
| CFix - ivec.
cfixvec | itpp::operator* (const ivec &v, const CFix &s)
| ivec * CFix
cfixvec | itpp::operator* (const CFix &s, const ivec &v)
| CFix * ivec.
cfixvec | itpp::operator/ (const ivec &v, const CFix &s)
| ivec / CFix using quantization mode `TRN`
cfixmat | itpp::operator+ (const imat &m, const CFix &s)
| imat + CFix
cfixmat | itpp::operator+ (const CFix &s, const imat &m)
| CFix + imat.
cfixmat | itpp::operator- (const imat &m, const CFix &s)
| imat - CFix
cfixmat | itpp::operator- (const CFix &s, const imat &m)
| CFix - imat.
cfixmat | itpp::operator* (const imat &m, const CFix &s)
| imat * CFix
cfixmat | itpp::operator* (const CFix &s, const imat &m)
| CFix * imat.
cfixmat | itpp::operator/ (const imat &m, const CFix &s)
| imat / CFix using quantization mode `TRN`
cfixvec | itpp::operator+ (const cfixvec &v, const Fix &s)
| cfixvec + Fix
cfixvec | itpp::operator+ (const Fix &s, const cfixvec &v)
| Fix + cfixvec.
cfixvec | itpp::operator- (const cfixvec &v, const Fix &s)
| cfixvec - Fix
cfixvec | itpp::operator- (const Fix &s, const cfixvec &v)
| Fix - cfixvec.
cfixvec | itpp::operator* (const cfixvec &v, const Fix &s)
| cfixvec * Fix
cfixvec | itpp::operator* (const Fix &s, const cfixvec &v)
| Fix * cfixvec.
cfixvec | itpp::operator/ (const cfixvec &v, const Fix &s)
| cfixvec / Fix using quantization mode `TRN`
cfixmat | itpp::operator+ (const cfixmat &m, const Fix &s)
| cfixmat + Fix
cfixmat | itpp::operator+ (const Fix &s, const cfixmat &m)
| Fix + cfixmat.
cfixmat | itpp::operator- (const cfixmat &m, const Fix &s)
| cfixmat - Fix
cfixmat | itpp::operator- (const Fix &s, const cfixmat &m)
| Fix - cfixmat.
cfixmat | itpp::operator* (const cfixmat &m, const Fix &s)
| cfixmat * Fix
cfixmat | itpp::operator* (const Fix &s, const cfixmat &m)
| Fix * cfixmat.
cfixmat | itpp::operator/ (const cfixmat &m, const Fix &s)
| cfixmat / Fix using quantization mode `TRN`
cfixvec | itpp::operator+ (const cfixvec &v, const int s)
| cfixvec + int
cfixvec | itpp::operator+ (const int s, const cfixvec &v)
| int + cfixvec
cfixvec | itpp::operator- (const cfixvec &v, const int s)
| cfixvec - int
cfixvec | itpp::operator- (const int s, const cfixvec &v)
| int - cfixvec
cfixvec | itpp::operator* (const cfixvec &v, const int s)
| cfixvec * int
cfixvec | itpp::operator* (const int s, const cfixvec &v)
| int * cfixvec
cfixvec | itpp::operator/ (const cfixvec &v, const int s)
| cfixvec / int using quantization mode `TRN`
cfixmat | itpp::operator+ (const cfixmat &m, const int s)
| cfixmat + int
cfixmat | itpp::operator+ (const int s, const cfixmat &m)
| int + cfixmat
cfixmat | itpp::operator- (const cfixmat &m, const int s)
| cfixmat - int
cfixmat | itpp::operator- (const int s, const cfixmat &m)
| int - cfixmat
cfixmat | itpp::operator* (const cfixmat &m, const int s)
| cfixmat * int
cfixmat | itpp::operator* (const int s, const cfixmat &m)
| int * cfixmat
cfixmat | itpp::operator/ (const cfixmat &m, const int s)
| cfixmat / int using quantization mode `TRN`
cfixvec | itpp::operator+ (const cfixvec &a, const fixvec &b)
| cfixvec + fixvec
cfixvec | itpp::operator+ (const fixvec &a, const cfixvec &b)
| fixvec + cfixvec
cfixvec | itpp::operator- (const cfixvec &a, const fixvec &b)
| cfixvec - fixvec
cfixvec | itpp::operator- (const fixvec &a, const cfixvec &b)
| fixvec - cfixvec
CFix | itpp::operator* (const cfixvec &a, const fixvec &b)
| cfixvec * fixvec
CFix | itpp::operator* (const fixvec &a, const cfixvec &b)
| fixvec * cfixvec
cfixmat | itpp::operator+ (const cfixmat &a, const fixmat &b)
| cfixmat + fixmat
cfixmat | itpp::operator+ (const fixmat &a, const cfixmat &b)
| fixmat + cfixmat
cfixmat | itpp::operator- (const cfixmat &a, const fixmat &b)
| cfixmat - fixmat
cfixmat | itpp::operator- (const fixmat &a, const cfixmat &b)
| fixmat - cfixmat
cfixmat | itpp::operator* (const cfixmat &a, const fixmat &b)
| cfixmat * fixmat
cfixmat | itpp::operator* (const fixmat &a, const cfixmat &b)
| fixmat * cfixmat
cfixvec | itpp::operator+ (const cfixvec &a, const ivec &b)
| cfixvec + ivec
cfixvec | itpp::operator+ (const ivec &a, const cfixvec &b)
| ivec + cfixvec
cfixvec | itpp::operator- (const cfixvec &a, const ivec &b)
| cfixvec - ivec
cfixvec | itpp::operator- (const ivec &a, const cfixvec &b)
| ivec - cfixvec
CFix | itpp::operator* (const cfixvec &a, const ivec &b)
| cfixvec * ivec
CFix | itpp::operator* (const ivec &a, const cfixvec &b)
| ivec * cfixvec
cfixmat | itpp::operator+ (const cfixmat &a, const imat &b)
| cfixmat + imat
cfixmat | itpp::operator+ (const imat &a, const cfixmat &b)
| imat + cfixmat
cfixmat | itpp::operator- (const cfixmat &a, const imat &b)
| cfixmat - imat
cfixmat | itpp::operator- (const imat &a, const cfixmat &b)
| imat - cfixmat
cfixmat | itpp::operator* (const cfixmat &a, const imat &b)
| cfixmat * imat
cfixmat | itpp::operator* (const imat &a, const cfixmat &b)
| imat * cfixmat

## Detailed Description

Definitions of a set of operators for Fix, Fixed, CFix and CFixed classes.

Author
  Johan Bergman

Copyright (C) 1995-2010 (see AUTHORS file for a list of contributors)

This file is part of IT++ - a C++ library of mathematical, signal processing, speech processing, and communications classes and functions.

IT++ is free software: you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the Free Software Foundation, either version 3 of the License, or (at your option) any later version.

IT++ is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.

You should have received a copy of the GNU General Public License along with IT++. If not, see http://www.gnu.org/licenses/.

Definition in file fix_operators.h.

Generated on Mon Jun 10 2024 11:49:27 for IT++ by Doxygen 1.9.8