IT++ Logo Newcom Logo

itpp Namespace Reference


Classes

class  Array
 General array class. More...
class  bin
 Binary arithmetic (boolean) class. More...
class  bfstream_base
 Base class for binary file classes. More...
class  bofstream
 Binary Outfile Class. More...
class  bifstream
 Binary Infile Class. More...
class  bfstream
 Binary in/out-file Class. More...
class  Circular_Buffer
 General circular buffer class. More...
class  Factory
 Base class for class factories. More...
class  Fast_ICA
 Fast_ICA Fast Independent Component Analysis (Fast ICA). More...
class  Filter
 Virtual Filter Base Class. More...
class  MA_Filter
 Moving Average Filter Base Class. More...
class  AR_Filter
 Autoregressive (AR) Filter Base Class. More...
class  ARMA_Filter
 Autoregressive Moving Average (ARMA) Filter Base Class. More...
class  Freq_Filt
 Freq_Filt Frequency domain filtering using the overlap-add technique. More...
class  GF2mat
 Class for dense GF(2) matrices. More...
class  it_file_base
 Base class for it_ifile and it_file. More...
class  it_ifile
 The IT++ file format reading class. More...
class  it_file
 The IT++ file format reading and writing class. More...
class  Name
 Automatic naming when saving. More...
class  Mat
 Templated Matrix Class. More...
class  Newton_Search
 Newton Search. More...
class  Line_Search
 Line Search. More...
class  Parser
 Argument Parser Class. More...
class  Random_Generator
 Base class for random (stochastic) sources. More...
class  Bernoulli_RNG
 Bernoulli distribution. More...
class  I_Uniform_RNG
 Integer uniform distribution. More...
class  Uniform_RNG
 Uniform distribution. More...
class  Exponential_RNG
 Exponential distribution. More...
class  Normal_RNG
 Normal distribution. More...
class  Laplace_RNG
 Laplacian distribution. More...
class  Complex_Normal_RNG
 A Complex Normal Source. More...
class  AR1_Normal_RNG
 Filtered normal distribution. More...
class  Weibull_RNG
 Weibull distribution. More...
class  Rayleigh_RNG
 Rayleigh distribution. More...
class  Rice_RNG
 Rice distribution. More...
class  Sparse_Mat
 Templated Sparse Matrix Class. More...
class  Sine_Source
 A sine-wave source. More...
class  Square_Source
 A square-wave source. More...
class  Triangle_Source
 A triangle-wave source. More...
class  Sawtooth_Source
 A sawtooth-wave source. More...
class  Impulse_Source
 An impulse source. More...
class  Pattern_Source
 An pattern source. More...
class  Stack
 General stack class. More...
class  Stat
 A class for sampling a signal and calculating statistics. More...
class  Sparse_Vec
 Templated sparse vector class. More...
class  Timer
 A virtual base class for timers. More...
class  CPU_Timer
 A CPU time timer class. More...
class  Real_Timer
 A real time timer class. More...
class  Vec
 Templated vectors. More...
class  BCH
 Class for binary, narrow-sense BCH codes. More...
class  Fading_Generator
 Fading generator class. More...
class  Rice_Fading_Generator
 Rice type Fading generator class. More...
class  FIR_Fading_Generator
 FIR type Fading generator class. More...
class  IFFT_Fading_Generator
 IFFT type Fading generator class. More...
class  Channel_Specification
 General specification of a time-domain multipath channel. More...
class  TDL_Channel
 Tapped Delay Line (TDL) channel model. More...
class  BSC
 A Binary Symetric Channel with crossover probability p. More...
class  AWGN_Channel
 Ordinary AWGN Channel for cvec or vec inputs and outputs. More...
class  Channel_Code
 Generic Channel Code class. More...
class  Dummy_Code
 Dummy Channel Code class. More...
class  Convolutional_Code
 Binary Convolutional rate 1/n class. More...
class  CRC_Code
 Cyclic Redundancy Check Codes. More...
class  Extended_Golay
 Extended Golay code (24,12,8). More...
class  BERC
 Bit Error Rate Counter (BERC) Class. More...
class  BLERC
 Class for counting block error rates. More...
class  GF
 Galois Field GF(q). More...
class  GFX
 Polynomials over GF(q)[x], where q=2^m, m=1,...,16. More...
class  Hamming_Code
 Binary Hamming codes. More...
class  Block_Interleaver
 Block Interleaver Class. More...
class  Cross_Interleaver
 Cross Interleaver Class. More...
class  Sequence_Interleaver
 Sequence Interleaver Class. More...
class  LLR_calc_unit
 Log-likelihood algebra calculation unit. More...
class  Modulator
 Abstract base class for 2D modulators. More...
class  Modulator_1d
 General modulator for one dimensional (1D) signal consellations. More...
class  Modulator_2d
 General modulator for two-dimensional (2D) signal constellations. More...
class  BPSK
 BPSK Modulator Class. More...
class  PAM
 M-ary PAM modulator. More...
class  QPSK
 QPSK-modulator class. More...
class  PSK
 M-ary PSK modulator. More...
class  QAM
 Modulator class for square lattice M-ary QAM signals. More...
class  Modulator_ND
 Base class for an N-dimensional (ND) vector ("MIMO") modulator. See ND_UPAM for examples. More...
class  Modulator_NRD
 Base class for N-dimensional vector ("MIMO") channel modulator/demodulators with real-valued components. More...
class  Modulator_NCD
 Base class for vector ("MIMO") channel modulator/demodulators with complex valued components. More...
class  ND_UPAM
 Multidimensional channel with uniform PAM along each dimension. More...
class  ND_UQAM
 Complex MIMO with uniform QAM per dimension. More...
class  ND_UPSK
 Complex MIMO with uniform PSK per dimension. More...
class  OFDM
 Class for modulating and demodulation of OFDM signals using the FFT. More...
class  Pulse_Shape
 General FIR Pulse Shape. More...
class  Raised_Cosine
 Raised Cosine (RC) Pulse Shaper. More...
class  Root_Raised_Cosine
 (Square) Root Raised Cosine (RRC) Pulse Shaper More...
class  Punctured_Convolutional_Code
 Binary Punctured Convolutional Code Class. More...
class  Rec_Syst_Conv_Code
 A Recursive Systematic Convolutional Encoder/Decoder class. More...
class  Reed_Solomon
 Reed-Solomon Codes. More...
class  LFSR
 Binary Linear Feedback Shift Register (LFSR). More...
class  Gold
 Gold Sequences. More...
class  Spread_1d
 Spreading of float symbols to float output. More...
class  Spread_2d
 Spreading of complex symbols to complex output. More...
class  Multicode_Spread_1d
 Multicode spreading of float symbols. More...
class  Multicode_Spread_2d
 Multicode spreading of complex symbols to complex output. More...
class  Turbo_Codec
 Turbo encoder/decoder Class. More...
class  CFix
 Complex fixed-point data type. More...
class  CFixed
 Templated complex fixed-point data type. More...
class  Fix
 Fixed-point data type. More...
class  Fix_Base
 Base class for fixed-point data types. More...
class  Fix_Factory
 Class factory for fixed-point data types Fix and CFix. More...
class  Fixed
 Templated fixed-point data type. More...
class  Base_Event
 Base Event Class. More...
struct  Compare_Base_Event_Times
 Compare to events, Returns true if expire time of event1 is larger than the expire time of event2. More...
class  Event_Queue
 Event Queue class. More...
class  Event
 An Event class that executes a function when the event expires. More...
class  Data_Event
 An Event class that executes a function with some data as input when the event expires. More...
class  Front_Drop_Queue
class  Packet
 Packet. More...
class  L3_Packet_Info
class  Link_Packet
class  ACK
class  Packet_Channel
class  ACK_Channel
class  Packet_Generator
class  Poisson_Packet_Generator
class  Constant_Rate_Packet_Generator
class  Burst_WWW_Packet_Generator
class  Sink
class  Selective_Repeat_ARQ_Sender
class  Selective_Repeat_ARQ_Receiver
class  Signal
 Signals and slots. More...
class  Base_Slot
 Base Slot class. More...
class  Slot
 Slot Class. More...
class  ATimer
class  TTimer
class  Sequence_Number
class  TCP_Segment
class  TCP_Packet
class  TCP_Sender
class  TCP_Receiver_Buffer
class  TCP_Receiver
class  TCP_Server_Application
class  TCP_Client_Application
class  Audio_File
 Base class - do not use this one! More...
class  SND_Format
 Base class for SND reading classes (the .au format). More...
class  SND_In_File
 A class to read SND-files (the .au format). More...
class  SND_Out_File
 A class to write SND-files (the .au format). More...
class  SND_IO_File
 This class is capable of doing both input and output. More...
class  GMM
 Gaussian Mixture Model Class. More...
class  Vector_Quantizer
 Class for vector quantization. More...
class  Scalar_Quantizer
 Class for vector quantization. More...

Typedefs

typedef Sparse_Vec< binGF2vec_sparse
 Sparse GF(2) vector.
typedef Sparse_Mat< binGF2mat_sparse
 Sparse GF(2) matrix.
typedef Normal_RNG Gauss_RNG
 Gauss_RNG is the same as Normal Source.
typedef AR1_Normal_RNG AR1_Gauss_RNG
 AR1_Gauss_RNG is the same as AR1_Normal_RNG.
typedef Vec< CFixcfixvec
 Typedef for complex fixed-point vector type.
typedef Mat< CFixcfixmat
 Typedef for complex fixed-point matrix type.
typedef CFixed< 1, TC, WRAP > cfixed1
typedef CFixed< 2, TC, WRAP > cfixed2
typedef CFixed< 3, TC, WRAP > cfixed3
typedef CFixed< 4, TC, WRAP > cfixed4
typedef CFixed< 5, TC, WRAP > cfixed5
typedef CFixed< 6, TC, WRAP > cfixed6
typedef CFixed< 7, TC, WRAP > cfixed7
typedef CFixed< 8, TC, WRAP > cfixed8
typedef CFixed< 9, TC, WRAP > cfixed9
typedef CFixed< 10, TC, WRAP > cfixed10
typedef CFixed< 11, TC, WRAP > cfixed11
typedef CFixed< 12, TC, WRAP > cfixed12
typedef CFixed< 13, TC, WRAP > cfixed13
typedef CFixed< 14, TC, WRAP > cfixed14
typedef CFixed< 15, TC, WRAP > cfixed15
typedef CFixed< 16, TC, WRAP > cfixed16
typedef CFixed< 17, TC, WRAP > cfixed17
typedef CFixed< 18, TC, WRAP > cfixed18
typedef CFixed< 19, TC, WRAP > cfixed19
typedef CFixed< 20, TC, WRAP > cfixed20
typedef CFixed< 21, TC, WRAP > cfixed21
typedef CFixed< 22, TC, WRAP > cfixed22
typedef CFixed< 23, TC, WRAP > cfixed23
typedef CFixed< 24, TC, WRAP > cfixed24
typedef CFixed< 25, TC, WRAP > cfixed25
typedef CFixed< 26, TC, WRAP > cfixed26
typedef CFixed< 27, TC, WRAP > cfixed27
typedef CFixed< 28, TC, WRAP > cfixed28
typedef CFixed< 29, TC, WRAP > cfixed29
typedef CFixed< 30, TC, WRAP > cfixed30
typedef CFixed< 31, TC, WRAP > cfixed31
typedef CFixed< 32, TC, WRAP > cfixed32
typedef CFixed< 33, TC, WRAP > cfixed33
typedef CFixed< 34, TC, WRAP > cfixed34
typedef CFixed< 35, TC, WRAP > cfixed35
typedef CFixed< 36, TC, WRAP > cfixed36
typedef CFixed< 37, TC, WRAP > cfixed37
typedef CFixed< 38, TC, WRAP > cfixed38
typedef CFixed< 39, TC, WRAP > cfixed39
typedef CFixed< 40, TC, WRAP > cfixed40
typedef CFixed< 41, TC, WRAP > cfixed41
typedef CFixed< 42, TC, WRAP > cfixed42
typedef CFixed< 43, TC, WRAP > cfixed43
typedef CFixed< 44, TC, WRAP > cfixed44
typedef CFixed< 45, TC, WRAP > cfixed45
typedef CFixed< 46, TC, WRAP > cfixed46
typedef CFixed< 47, TC, WRAP > cfixed47
typedef CFixed< 48, TC, WRAP > cfixed48
typedef CFixed< 49, TC, WRAP > cfixed49
typedef CFixed< 50, TC, WRAP > cfixed50
typedef CFixed< 51, TC, WRAP > cfixed51
typedef CFixed< 52, TC, WRAP > cfixed52
typedef CFixed< 53, TC, WRAP > cfixed53
typedef CFixed< 54, TC, WRAP > cfixed54
typedef CFixed< 55, TC, WRAP > cfixed55
typedef CFixed< 56, TC, WRAP > cfixed56
typedef CFixed< 57, TC, WRAP > cfixed57
typedef CFixed< 58, TC, WRAP > cfixed58
typedef CFixed< 59, TC, WRAP > cfixed59
typedef CFixed< 60, TC, WRAP > cfixed60
typedef CFixed< 61, TC, WRAP > cfixed61
typedef CFixed< 62, TC, WRAP > cfixed62
typedef CFixed< 63, TC, WRAP > cfixed63
typedef CFixed< 64, TC, WRAP > cfixed64
typedef CFixed< 1, TC, SAT > scfixed1
typedef CFixed< 2, TC, SAT > scfixed2
typedef CFixed< 3, TC, SAT > scfixed3
typedef CFixed< 4, TC, SAT > scfixed4
typedef CFixed< 5, TC, SAT > scfixed5
typedef CFixed< 6, TC, SAT > scfixed6
typedef CFixed< 7, TC, SAT > scfixed7
typedef CFixed< 8, TC, SAT > scfixed8
typedef CFixed< 9, TC, SAT > scfixed9
typedef CFixed< 10, TC, SAT > scfixed10
typedef CFixed< 11, TC, SAT > scfixed11
typedef CFixed< 12, TC, SAT > scfixed12
typedef CFixed< 13, TC, SAT > scfixed13
typedef CFixed< 14, TC, SAT > scfixed14
typedef CFixed< 15, TC, SAT > scfixed15
typedef CFixed< 16, TC, SAT > scfixed16
typedef CFixed< 17, TC, SAT > scfixed17
typedef CFixed< 18, TC, SAT > scfixed18
typedef CFixed< 19, TC, SAT > scfixed19
typedef CFixed< 20, TC, SAT > scfixed20
typedef CFixed< 21, TC, SAT > scfixed21
typedef CFixed< 22, TC, SAT > scfixed22
typedef CFixed< 23, TC, SAT > scfixed23
typedef CFixed< 24, TC, SAT > scfixed24
typedef CFixed< 25, TC, SAT > scfixed25
typedef CFixed< 26, TC, SAT > scfixed26
typedef CFixed< 27, TC, SAT > scfixed27
typedef CFixed< 28, TC, SAT > scfixed28
typedef CFixed< 29, TC, SAT > scfixed29
typedef CFixed< 30, TC, SAT > scfixed30
typedef CFixed< 31, TC, SAT > scfixed31
typedef CFixed< 32, TC, SAT > scfixed32
typedef CFixed< 33, TC, SAT > scfixed33
typedef CFixed< 34, TC, SAT > scfixed34
typedef CFixed< 35, TC, SAT > scfixed35
typedef CFixed< 36, TC, SAT > scfixed36
typedef CFixed< 37, TC, SAT > scfixed37
typedef CFixed< 38, TC, SAT > scfixed38
typedef CFixed< 39, TC, SAT > scfixed39
typedef CFixed< 40, TC, SAT > scfixed40
typedef CFixed< 41, TC, SAT > scfixed41
typedef CFixed< 42, TC, SAT > scfixed42
typedef CFixed< 43, TC, SAT > scfixed43
typedef CFixed< 44, TC, SAT > scfixed44
typedef CFixed< 45, TC, SAT > scfixed45
typedef CFixed< 46, TC, SAT > scfixed46
typedef CFixed< 47, TC, SAT > scfixed47
typedef CFixed< 48, TC, SAT > scfixed48
typedef CFixed< 49, TC, SAT > scfixed49
typedef CFixed< 50, TC, SAT > scfixed50
typedef CFixed< 51, TC, SAT > scfixed51
typedef CFixed< 52, TC, SAT > scfixed52
typedef CFixed< 53, TC, SAT > scfixed53
typedef CFixed< 54, TC, SAT > scfixed54
typedef CFixed< 55, TC, SAT > scfixed55
typedef CFixed< 56, TC, SAT > scfixed56
typedef CFixed< 57, TC, SAT > scfixed57
typedef CFixed< 58, TC, SAT > scfixed58
typedef CFixed< 59, TC, SAT > scfixed59
typedef CFixed< 60, TC, SAT > scfixed60
typedef CFixed< 61, TC, SAT > scfixed61
typedef CFixed< 62, TC, SAT > scfixed62
typedef CFixed< 63, TC, SAT > scfixed63
typedef CFixed< 64, TC, SAT > scfixed64
typedef Vec< Fixfixvec
 Typedef for fixed-point vector type.
typedef Mat< Fixfixmat
 Typedef for fixed-point matrix type.
typedef long long int64
 Typedef for signed 64-bit integer.
typedef unsigned long long uint64
 Typedef for unsigned 64-bit integer.
typedef int64 fixrep
 Representation for fixed-point data types.
typedef Fixed< 1, TC, WRAP > fixed1
typedef Fixed< 2, TC, WRAP > fixed2
typedef Fixed< 3, TC, WRAP > fixed3
typedef Fixed< 4, TC, WRAP > fixed4
typedef Fixed< 5, TC, WRAP > fixed5
typedef Fixed< 6, TC, WRAP > fixed6
typedef Fixed< 7, TC, WRAP > fixed7
typedef Fixed< 8, TC, WRAP > fixed8
typedef Fixed< 9, TC, WRAP > fixed9
typedef Fixed< 10, TC, WRAP > fixed10
typedef Fixed< 11, TC, WRAP > fixed11
typedef Fixed< 12, TC, WRAP > fixed12
typedef Fixed< 13, TC, WRAP > fixed13
typedef Fixed< 14, TC, WRAP > fixed14
typedef Fixed< 15, TC, WRAP > fixed15
typedef Fixed< 16, TC, WRAP > fixed16
typedef Fixed< 17, TC, WRAP > fixed17
typedef Fixed< 18, TC, WRAP > fixed18
typedef Fixed< 19, TC, WRAP > fixed19
typedef Fixed< 20, TC, WRAP > fixed20
typedef Fixed< 21, TC, WRAP > fixed21
typedef Fixed< 22, TC, WRAP > fixed22
typedef Fixed< 23, TC, WRAP > fixed23
typedef Fixed< 24, TC, WRAP > fixed24
typedef Fixed< 25, TC, WRAP > fixed25
typedef Fixed< 26, TC, WRAP > fixed26
typedef Fixed< 27, TC, WRAP > fixed27
typedef Fixed< 28, TC, WRAP > fixed28
typedef Fixed< 29, TC, WRAP > fixed29
typedef Fixed< 30, TC, WRAP > fixed30
typedef Fixed< 31, TC, WRAP > fixed31
typedef Fixed< 32, TC, WRAP > fixed32
typedef Fixed< 33, TC, WRAP > fixed33
typedef Fixed< 34, TC, WRAP > fixed34
typedef Fixed< 35, TC, WRAP > fixed35
typedef Fixed< 36, TC, WRAP > fixed36
typedef Fixed< 37, TC, WRAP > fixed37
typedef Fixed< 38, TC, WRAP > fixed38
typedef Fixed< 39, TC, WRAP > fixed39
typedef Fixed< 40, TC, WRAP > fixed40
typedef Fixed< 41, TC, WRAP > fixed41
typedef Fixed< 42, TC, WRAP > fixed42
typedef Fixed< 43, TC, WRAP > fixed43
typedef Fixed< 44, TC, WRAP > fixed44
typedef Fixed< 45, TC, WRAP > fixed45
typedef Fixed< 46, TC, WRAP > fixed46
typedef Fixed< 47, TC, WRAP > fixed47
typedef Fixed< 48, TC, WRAP > fixed48
typedef Fixed< 49, TC, WRAP > fixed49
typedef Fixed< 50, TC, WRAP > fixed50
typedef Fixed< 51, TC, WRAP > fixed51
typedef Fixed< 52, TC, WRAP > fixed52
typedef Fixed< 53, TC, WRAP > fixed53
typedef Fixed< 54, TC, WRAP > fixed54
typedef Fixed< 55, TC, WRAP > fixed55
typedef Fixed< 56, TC, WRAP > fixed56
typedef Fixed< 57, TC, WRAP > fixed57
typedef Fixed< 58, TC, WRAP > fixed58
typedef Fixed< 59, TC, WRAP > fixed59
typedef Fixed< 60, TC, WRAP > fixed60
typedef Fixed< 61, TC, WRAP > fixed61
typedef Fixed< 62, TC, WRAP > fixed62
typedef Fixed< 63, TC, WRAP > fixed63
typedef Fixed< 64, TC, WRAP > fixed64
typedef Fixed< 1, US, WRAP > ufixed1
typedef Fixed< 2, US, WRAP > ufixed2
typedef Fixed< 3, US, WRAP > ufixed3
typedef Fixed< 4, US, WRAP > ufixed4
typedef Fixed< 5, US, WRAP > ufixed5
typedef Fixed< 6, US, WRAP > ufixed6
typedef Fixed< 7, US, WRAP > ufixed7
typedef Fixed< 8, US, WRAP > ufixed8
typedef Fixed< 9, US, WRAP > ufixed9
typedef Fixed< 10, US, WRAP > ufixed10
typedef Fixed< 11, US, WRAP > ufixed11
typedef Fixed< 12, US, WRAP > ufixed12
typedef Fixed< 13, US, WRAP > ufixed13
typedef Fixed< 14, US, WRAP > ufixed14
typedef Fixed< 15, US, WRAP > ufixed15
typedef Fixed< 16, US, WRAP > ufixed16
typedef Fixed< 17, US, WRAP > ufixed17
typedef Fixed< 18, US, WRAP > ufixed18
typedef Fixed< 19, US, WRAP > ufixed19
typedef Fixed< 20, US, WRAP > ufixed20
typedef Fixed< 21, US, WRAP > ufixed21
typedef Fixed< 22, US, WRAP > ufixed22
typedef Fixed< 23, US, WRAP > ufixed23
typedef Fixed< 24, US, WRAP > ufixed24
typedef Fixed< 25, US, WRAP > ufixed25
typedef Fixed< 26, US, WRAP > ufixed26
typedef Fixed< 27, US, WRAP > ufixed27
typedef Fixed< 28, US, WRAP > ufixed28
typedef Fixed< 29, US, WRAP > ufixed29
typedef Fixed< 30, US, WRAP > ufixed30
typedef Fixed< 31, US, WRAP > ufixed31
typedef Fixed< 32, US, WRAP > ufixed32
typedef Fixed< 33, US, WRAP > ufixed33
typedef Fixed< 34, US, WRAP > ufixed34
typedef Fixed< 35, US, WRAP > ufixed35
typedef Fixed< 36, US, WRAP > ufixed36
typedef Fixed< 37, US, WRAP > ufixed37
typedef Fixed< 38, US, WRAP > ufixed38
typedef Fixed< 39, US, WRAP > ufixed39
typedef Fixed< 40, US, WRAP > ufixed40
typedef Fixed< 41, US, WRAP > ufixed41
typedef Fixed< 42, US, WRAP > ufixed42
typedef Fixed< 43, US, WRAP > ufixed43
typedef Fixed< 44, US, WRAP > ufixed44
typedef Fixed< 45, US, WRAP > ufixed45
typedef Fixed< 46, US, WRAP > ufixed46
typedef Fixed< 47, US, WRAP > ufixed47
typedef Fixed< 48, US, WRAP > ufixed48
typedef Fixed< 49, US, WRAP > ufixed49
typedef Fixed< 50, US, WRAP > ufixed50
typedef Fixed< 51, US, WRAP > ufixed51
typedef Fixed< 52, US, WRAP > ufixed52
typedef Fixed< 53, US, WRAP > ufixed53
typedef Fixed< 54, US, WRAP > ufixed54
typedef Fixed< 55, US, WRAP > ufixed55
typedef Fixed< 56, US, WRAP > ufixed56
typedef Fixed< 57, US, WRAP > ufixed57
typedef Fixed< 58, US, WRAP > ufixed58
typedef Fixed< 59, US, WRAP > ufixed59
typedef Fixed< 60, US, WRAP > ufixed60
typedef Fixed< 61, US, WRAP > ufixed61
typedef Fixed< 62, US, WRAP > ufixed62
typedef Fixed< 63, US, WRAP > ufixed63
typedef Fixed< 64, US, WRAP > ufixed64
typedef Fixed< 1, TC, SAT > sfixed1
typedef Fixed< 2, TC, SAT > sfixed2
typedef Fixed< 3, TC, SAT > sfixed3
typedef Fixed< 4, TC, SAT > sfixed4
typedef Fixed< 5, TC, SAT > sfixed5
typedef Fixed< 6, TC, SAT > sfixed6
typedef Fixed< 7, TC, SAT > sfixed7
typedef Fixed< 8, TC, SAT > sfixed8
typedef Fixed< 9, TC, SAT > sfixed9
typedef Fixed< 10, TC, SAT > sfixed10
typedef Fixed< 11, TC, SAT > sfixed11
typedef Fixed< 12, TC, SAT > sfixed12
typedef Fixed< 13, TC, SAT > sfixed13
typedef Fixed< 14, TC, SAT > sfixed14
typedef Fixed< 15, TC, SAT > sfixed15
typedef Fixed< 16, TC, SAT > sfixed16
typedef Fixed< 17, TC, SAT > sfixed17
typedef Fixed< 18, TC, SAT > sfixed18
typedef Fixed< 19, TC, SAT > sfixed19
typedef Fixed< 20, TC, SAT > sfixed20
typedef Fixed< 21, TC, SAT > sfixed21
typedef Fixed< 22, TC, SAT > sfixed22
typedef Fixed< 23, TC, SAT > sfixed23
typedef Fixed< 24, TC, SAT > sfixed24
typedef Fixed< 25, TC, SAT > sfixed25
typedef Fixed< 26, TC, SAT > sfixed26
typedef Fixed< 27, TC, SAT > sfixed27
typedef Fixed< 28, TC, SAT > sfixed28
typedef Fixed< 29, TC, SAT > sfixed29
typedef Fixed< 30, TC, SAT > sfixed30
typedef Fixed< 31, TC, SAT > sfixed31
typedef Fixed< 32, TC, SAT > sfixed32
typedef Fixed< 33, TC, SAT > sfixed33
typedef Fixed< 34, TC, SAT > sfixed34
typedef Fixed< 35, TC, SAT > sfixed35
typedef Fixed< 36, TC, SAT > sfixed36
typedef Fixed< 37, TC, SAT > sfixed37
typedef Fixed< 38, TC, SAT > sfixed38
typedef Fixed< 39, TC, SAT > sfixed39
typedef Fixed< 40, TC, SAT > sfixed40
typedef Fixed< 41, TC, SAT > sfixed41
typedef Fixed< 42, TC, SAT > sfixed42
typedef Fixed< 43, TC, SAT > sfixed43
typedef Fixed< 44, TC, SAT > sfixed44
typedef Fixed< 45, TC, SAT > sfixed45
typedef Fixed< 46, TC, SAT > sfixed46
typedef Fixed< 47, TC, SAT > sfixed47
typedef Fixed< 48, TC, SAT > sfixed48
typedef Fixed< 49, TC, SAT > sfixed49
typedef Fixed< 50, TC, SAT > sfixed50
typedef Fixed< 51, TC, SAT > sfixed51
typedef Fixed< 52, TC, SAT > sfixed52
typedef Fixed< 53, TC, SAT > sfixed53
typedef Fixed< 54, TC, SAT > sfixed54
typedef Fixed< 55, TC, SAT > sfixed55
typedef Fixed< 56, TC, SAT > sfixed56
typedef Fixed< 57, TC, SAT > sfixed57
typedef Fixed< 58, TC, SAT > sfixed58
typedef Fixed< 59, TC, SAT > sfixed59
typedef Fixed< 60, TC, SAT > sfixed60
typedef Fixed< 61, TC, SAT > sfixed61
typedef Fixed< 62, TC, SAT > sfixed62
typedef Fixed< 63, TC, SAT > sfixed63
typedef Fixed< 64, TC, SAT > sfixed64
typedef Fixed< 1, US, SAT > sufixed1
typedef Fixed< 2, US, SAT > sufixed2
typedef Fixed< 3, US, SAT > sufixed3
typedef Fixed< 4, US, SAT > sufixed4
typedef Fixed< 5, US, SAT > sufixed5
typedef Fixed< 6, US, SAT > sufixed6
typedef Fixed< 7, US, SAT > sufixed7
typedef Fixed< 8, US, SAT > sufixed8
typedef Fixed< 9, US, SAT > sufixed9
typedef Fixed< 10, US, SAT > sufixed10
typedef Fixed< 11, US, SAT > sufixed11
typedef Fixed< 12, US, SAT > sufixed12
typedef Fixed< 13, US, SAT > sufixed13
typedef Fixed< 14, US, SAT > sufixed14
typedef Fixed< 15, US, SAT > sufixed15
typedef Fixed< 16, US, SAT > sufixed16
typedef Fixed< 17, US, SAT > sufixed17
typedef Fixed< 18, US, SAT > sufixed18
typedef Fixed< 19, US, SAT > sufixed19
typedef Fixed< 20, US, SAT > sufixed20
typedef Fixed< 21, US, SAT > sufixed21
typedef Fixed< 22, US, SAT > sufixed22
typedef Fixed< 23, US, SAT > sufixed23
typedef Fixed< 24, US, SAT > sufixed24
typedef Fixed< 25, US, SAT > sufixed25
typedef Fixed< 26, US, SAT > sufixed26
typedef Fixed< 27, US, SAT > sufixed27
typedef Fixed< 28, US, SAT > sufixed28
typedef Fixed< 29, US, SAT > sufixed29
typedef Fixed< 30, US, SAT > sufixed30
typedef Fixed< 31, US, SAT > sufixed31
typedef Fixed< 32, US, SAT > sufixed32
typedef Fixed< 33, US, SAT > sufixed33
typedef Fixed< 34, US, SAT > sufixed34
typedef Fixed< 35, US, SAT > sufixed35
typedef Fixed< 36, US, SAT > sufixed36
typedef Fixed< 37, US, SAT > sufixed37
typedef Fixed< 38, US, SAT > sufixed38
typedef Fixed< 39, US, SAT > sufixed39
typedef Fixed< 40, US, SAT > sufixed40
typedef Fixed< 41, US, SAT > sufixed41
typedef Fixed< 42, US, SAT > sufixed42
typedef Fixed< 43, US, SAT > sufixed43
typedef Fixed< 44, US, SAT > sufixed44
typedef Fixed< 45, US, SAT > sufixed45
typedef Fixed< 46, US, SAT > sufixed46
typedef Fixed< 47, US, SAT > sufixed47
typedef Fixed< 48, US, SAT > sufixed48
typedef Fixed< 49, US, SAT > sufixed49
typedef Fixed< 50, US, SAT > sufixed50
typedef Fixed< 51, US, SAT > sufixed51
typedef Fixed< 52, US, SAT > sufixed52
typedef Fixed< 53, US, SAT > sufixed53
typedef Fixed< 54, US, SAT > sufixed54
typedef Fixed< 55, US, SAT > sufixed55
typedef Fixed< 56, US, SAT > sufixed56
typedef Fixed< 57, US, SAT > sufixed57
typedef Fixed< 58, US, SAT > sufixed58
typedef Fixed< 59, US, SAT > sufixed59
typedef Fixed< 60, US, SAT > sufixed60
typedef Fixed< 61, US, SAT > sufixed61
typedef Fixed< 62, US, SAT > sufixed62
typedef Fixed< 63, US, SAT > sufixed63
typedef Fixed< 64, US, SAT > sufixed64
typedef double Ttype

Enumerations

enum  Newton_Search_Method { BFGS }
enum  Line_Search_Method { Soft, Exact }
enum  DOPPLER_SPECTRUM {
  Jakes = 0, J = 0, Classic = 0, C = 0,
  GaussI = 1, GI = 1, G1 = 1, GaussII = 2,
  GII = 2, G2 = 2, Rice = 3, R = 3
}
 Predefined doppler spectra. More...
enum  RICE_METHOD { MEDS }
 Methods calculation of parameters using the Rice fading generation method. More...
enum  FADING_GENERATION_METHOD { IFFT, FIR, Rice_MEDS }
 Fading generation methods. More...
enum  CHANNEL_PROFILE {
  ITU_Vehicular_A, ITU_Vehicular_B, ITU_Pedestrian_A, ITU_Pedestrian_B,
  COST207_RA, COST207_RA6, COST207_TU, COST207_TU6alt,
  COST207_TU12, COST207_TU12alt, COST207_BU, COST207_BU6alt,
  COST207_BU12, COST207_BU12alt, COST207_HT, COST207_HT6alt,
  COST207_HT12, COST207_HT12alt, COST259_TUx, COST259_RAx,
  COST259_HTx
}
 Predefined channel profiles. Includes settings for doppler spectrum. More...
enum  CONVOLUTIONAL_CODE_TYPE { MFD, ODS }
 Type of Convolutional Code. More...
enum  CONVOLUTIONAL_CODE_METHOD { Trunc, Tail, Tailbite }
 Encoding and decoding methods for Convolutional codes. More...
enum  e_mode { TC, US }
 Sign encoding modes (aligned with SystemC). More...
enum  o_mode {
  SAT, SAT_ZERO, SAT_SYM, WRAP,
  WRAP_SM
}
 Overflow modes (aligned with SystemC). More...
enum  q_mode {
  RND, RND_ZERO, RND_MIN_INF, RND_INF,
  RND_CONV, RND_CONV_ODD, TRN, TRN_ZERO
}
 Quantization modes (aligned with SystemC). More...
enum  output_mode { OUTPUT_FIX, OUTPUT_FIX_SHIFT, OUTPUT_FLOAT, OUTPUT_FLOAT_SHIFT }
 Output modes. More...

Functions

bin mxArray2bin (const mxArray *in)
 Convert the matlab-format mxArray to bin.
short mxArray2short (const mxArray *in)
 Convert the matlab-format mxArray to short.
int mxArray2int (const mxArray *in)
 Convert the matlab-format mxArray to int.
double mxArray2double (const mxArray *in)
 Convert the matlab-format mxArray to double.
std::complex< double > mxArray2double_complex (const mxArray *in)
 Convert the matlab-format mxArray to complex<double>.
bvec mxArray2bvec (const mxArray *in)
 Convert the matlab-format mxArray to bvec.
svec mxArray2svec (const mxArray *in)
 Convert the matlab-format mxArray to svec.
ivec mxArray2ivec (const mxArray *in)
 Convert the matlab-format mxArray to ivec.
vec mxArray2vec (const mxArray *in)
 Convert the matlab-format mxArray to vec.
cvec mxArray2cvec (const mxArray *in)
 Convert the matlab-format mxArray to cvec.
bmat mxArray2bmat (const mxArray *in)
 Convert the matlab-format mxArray to bmat.
smat mxArray2smat (const mxArray *in)
 Convert the matlab-format mxArray to smat.
imat mxArray2imat (const mxArray *in)
 Convert the matlab-format mxArray to imat.
mat mxArray2mat (const mxArray *in)
 Convert the matlab-format mxArray to mat.
cmat mxArray2cmat (const mxArray *in)
 Convert the matlab-format mxArray to cmat.
void bin2mxArray (const bin &in, mxArray *out)
 Convert bin to the matlab-format mxArray.
void short2mxArray (const short &in, mxArray *out)
 Convert short to the matlab-format mxArray.
void int2mxArray (const int &in, mxArray *out)
 Convert int to the matlab-format mxArray.
void double2mxArray (const double &in, mxArray *out)
 Convert double to the matlab-format mxArray.
void double_complex2mxArray (const std::complex< double > &in, mxArray *out)
 Convert complex<double> to the matlab-format mxArray.
void bvec2mxArray (const bvec &in, mxArray *out)
 Convert bvec to the matlab-format mxArray.
void svec2mxArray (const svec &in, mxArray *out)
 Convert svec to the matlab-format mxArray.
void ivec2mxArray (const ivec &in, mxArray *out)
 Convert ivec to the matlab-format mxArray.
void vec2mxArray (const vec &in, mxArray *out)
 Convert vec to the matlab-format mxArray.
void cvec2mxArray (const cvec &in, mxArray *out)
 Convert cvec to the matlab-format mxArray.
void bmat2mxArray (const bmat &in, mxArray *out)
 Convert bmat to the matlab-format mxArray.
void smat2mxArray (const smat &in, mxArray *out)
 Convert smat to the matlab-format mxArray.
void imat2mxArray (const imat &in, mxArray *out)
 Convert imat to the matlab-format mxArray.
void mat2mxArray (const mat &in, mxArray *out)
 Convert mat to the matlab-format mxArray.
void cmat2mxArray (const cmat &in, mxArray *out)
 Convert cmat to the matlab-format mxArray.
void mxArray2Csvec (const mxArray *in, short *out)
 Convert the matlab-format mxArray to C-format pointer to short.
void mxArray2Civec (const mxArray *in, int *out)
 Convert the matlab-format mxArray to C-format pointer to int.
void mxArray2Cvec (const mxArray *in, double *out)
 Convert the matlab-format mxArray to C-format pointer to double.
void mxArray2Ccvec (const mxArray *in, double *out_real, double *out_imag)
 Convert the matlab-format mxArray to C-format pointers to double (real and imaginary parts).
void mxArray2Csmat (const mxArray *in, short **out)
 Convert the matlab-format mxArray to C-format pointer to pointer to short.
void mxArray2Cimat (const mxArray *in, int **out)
 Convert the matlab-format mxArray to C-format pointer to pointer to int.
void mxArray2Cmat (const mxArray *in, double **out)
 Convert the matlab-format mxArray to C-format pointer to pointer to double.
void mxArray2Ccmat (const mxArray *in, double **out_real, double **out_imag)
 Convert the matlab-format mxArray to C-format pointer to pointer to double (real and imaginary parts).
void Csvec2mxArray (short *in, mxArray *out)
 Convert C-format pointer to short to matlab-format mxArray.
void Civec2mxArray (int *in, mxArray *out)
 Convert C-format pointer to int to matlab-format mxArray.
void Cvec2mxArray (double *in, mxArray *out)
 Convert C-format pointer to double to matlab-format mxArray.
void Ccvec2mxArray (double *in_real, double *in_imag, mxArray *out)
 Convert C-format pointers to double (real and imaginary parts) to matlab-format mxArray.
void Csmat2mxArray (short **in, mxArray *out)
 Convert C-format pointer to pointer to short to matlab-format mxArray.
void Cimat2mxArray (int **in, mxArray *out)
 Convert C-format pointer to pointer to int to matlab-format mxArray.
void Cmat2mxArray (double **in, mxArray *out)
 Convert C-format pointer to pointer to double to matlab-format mxArray.
void Ccmat2mxArray (double **in_real, double **in_imag, mxArray *out)
 Convert C-format pointer to pointer to double (real and imaginary parts) to matlab-format mxArray.
template<class T>
const Array< T > concat (const Array< T > &a, const T e)
template<class T>
const Array< T > concat (const T e, const Array< T > &a)
template<class T>
const Array< T > concat (const Array< T > &a1, const Array< T > &a2)
template<class T>
const Array< T > concat (const Array< T > &a1, const Array< T > &a2, const Array< T > &a3)
double besselj (int nu, double x)
 Bessel function of first kind of order nu for nu integer.
vec besselj (int nu, const vec &x)
 Bessel function of first kind of order nu for nu integer.
double besselj (double nu, double x)
 Bessel function of first kind of order nu. nu is real.
vec besselj (double nu, const vec &x)
 Bessel function of first kind of order nu. nu is real.
double bessely (int nu, double x)
 Bessel function of second kind of order nu. nu is integer.
vec bessely (int nu, const vec &x)
 Bessel function of second kind of order nu. nu is integer.
double bessely (double nu, double x)
 Bessel function of second kind of order nu. nu is real.
vec bessely (double nu, const vec &x)
 Bessel function of second kind of order nu. nu is real.
double besseli (double nu, double x)
 Modified Bessel function of first kind of order nu. nu is double. x is double.
vec besseli (double nu, const vec &x)
 Modified Bessel function of first kind of order nu. nu is double. x is double.
double besselk (int nu, double x)
 Modified Bessel function of second kind of order nu. nu is double. x is double.
vec besselk (int nu, const vec &x)
 Modified Bessel function of second kind of order nu. nu is double. x is double.
std::ostream & operator<< (std::ostream &output, const bin &inbin)
std::istream & operator>> (std::istream &input, bin &outbin)
bool exist (const std::string &name)
 Checks if a filename already exists on the disk.
bool chol (const mat &X, mat &F)
 Cholesky factorisation of real symmetric and positive definite matrix.
bool chol (const cmat &X, cmat &F)
 Cholesky factorisation of complex hermitian and positive-definite matrix.
cmat chol (const cmat &X)
 Cholesky factorisation of complex hermitian and positive-definite matrix.
mat chol (const mat &X)
 Cholesky factorisation of real symmetric and positive definite matrix.
template<class T>
bvec to_bvec (const Vec< T > &v)
template<class T>
svec to_svec (const Vec< T > &v)
template<class T>
ivec to_ivec (const Vec< T > &v)
template<class T>
vec to_vec (const Vec< T > &v)
template<class T>
cvec to_cvec (const Vec< T > &v)
cvec to_cvec (const bvec &v)
ivec to_ivec (int s)
vec to_vec (double s)
cvec to_cvec (double real, double imag)
template<class T>
bmat to_bmat (const Mat< T > &m)
template<class T>
smat to_smat (const Mat< T > &m)
template<class T>
imat to_imat (const Mat< T > &m)
template<class T>
mat to_mat (const Mat< T > &m)
template<class T>
cmat to_cmat (const Mat< T > &m)
cmat to_cmat (const bmat &m)
template<class T>
cvec to_cvec (const Vec< T > &real, const Vec< T > &imag)
template<class T>
cmat to_cmat (const Mat< T > &real, const Mat< T > &imag)
bvec dec2bin (int length, int index)
 Convert a decimal int index to bvec using length bits in the representation.
bvec dec2bin (int index, bool msb_first=true)
 Convert a decimal int index to bvec with the first bit as MSB if msb_first == true.
void dec2bin (int index, bvec &v)
 Convert a decimal int index to bvec. Value returned in v.
int bin2dec (const bvec &inbvec, bool msb_first=true)
 Convert a bvec to decimal int with the first bit as MSB if msb_first == true.
bvec oct2bin (const ivec &octalindex, short keepzeros=0)
 Convert ivec of octal form to bvec.
ivec bin2oct (const bvec &inbits)
 Convert bvec to octal ivec.
ivec bin2pol (const bvec &inbvec)
 Convert bvec to polar binary representation as ivec.
bvec pol2bin (const ivec &inpol)
 Convert binary polar ivec to bvec.
std::string to_str (const double &i, const int precision)
 Convert double to string.
template bvec to_bvec (const svec &v)
 Template instantiation of to_bvec.
template bvec to_bvec (const Vec< int > &v)
 Template instantiation of to_bvec.
template svec to_svec (const bvec &v)
 Template instantiation of to_svec.
template svec to_svec (const ivec &v)
 Template instantiation of to_svec.
template svec to_svec (const svec &v)
 Template instantiation of to_svec.
template svec to_svec (const vec &v)
template ivec to_ivec (const bvec &v)
 Template instantiation of to_ivec.
template ivec to_ivec (const svec &v)
 Template instantiation of to_ivec.
template ivec to_ivec (const ivec &v)
 Template instantiation of to_ivec.
template ivec to_ivec (const vec &v)
 Template instantiation of to_ivec.
template vec to_vec (const bvec &v)
 Template instantiation of to_vec.
template vec to_vec (const svec &v)
 Template instantiation of to_vec.
template vec to_vec (const ivec &v)
 Template instantiation of to_vec.
template vec to_vec (const vec &v)
 Template instantiation of to_vec.
template cvec to_cvec (const svec &v)
 Template instantiation of to_cvec.
template cvec to_cvec (const ivec &v)
 Template instantiation of to_cvec.
template cvec to_cvec (const vec &v)
 Template instantiation of to_cvec.
template cvec to_cvec (const cvec &v)
 Template instantiation of to_cvec.
template cvec to_cvec (const bvec &real, const bvec &imag)
 Template instantiation of to_cvec.
template cvec to_cvec (const svec &real, const svec &imag)
 Template instantiation of to_cvec.
template cvec to_cvec (const ivec &real, const ivec &imag)
 Template instantiation of to_cvec.
template cvec to_cvec (const vec &real, const vec &imag)
 Template instantiation of to_cvec.
template bmat to_bmat (const smat &m)
 Template instantiation of to_bmat.
template bmat to_bmat (const imat &m)
 Template instantiation of to_bmat.
template smat to_smat (const bmat &m)
 Template instantiation of to_bmat.
template smat to_smat (const imat &m)
 Template instantiation of to_bmat.
template imat to_imat (const bmat &m)
 Template instantiation of to_imat.
template imat to_imat (const smat &m)
 Template instantiation of to_imat.
template imat to_imat (const imat &m)
 Template instantiation of to_imat.
template imat to_imat (const mat &m)
template mat to_mat (const bmat &m)
 Template instantiation of to_mat.
template mat to_mat (const smat &m)
 Template instantiation of to_mat.
template mat to_mat (const imat &m)
 Template instantiation of to_mat.
template mat to_mat (const mat &m)
 Template instantiation of to_mat.
template cmat to_cmat (const smat &m)
 Template instantiation of to_cmat.
template cmat to_cmat (const imat &m)
 Template instantiation of to_cmat.
template cmat to_cmat (const mat &m)
 Template instantiation of to_cmat.
template cmat to_cmat (const cmat &m)
 Template instantiation of to_cmat.
template cmat to_cmat (const bmat &real, const bmat &imag)
 Template instantiation of to_cmat.
template cmat to_cmat (const smat &real, const smat &imag)
 Template instantiation of to_cmat.
template cmat to_cmat (const imat &real, const imat &imag)
 Template instantiation of to_cmat.
template cmat to_cmat (const mat &real, const mat &imag)
 Template instantiation of to_cmat.
template<typename T>
std::string to_str (const T &i)
 Convert anything to string.
double det (const mat &X)
 Determinant of real square matrix.
std::complex< double > det (const cmat &X)
 Determinant of complex square matrix.
bool eig_sym (const mat &A, vec &d, mat &V)
 Calculates the eigenvalues and eigenvectors of a symmetric real matrix.
bool eig_sym (const mat &A, vec &d)
 Calculates the eigenvalues of a symmetric real matrix.
bool eig_sym (const cmat &A, vec &d, cmat &V)
 Calculates the eigenvalues and eigenvectors of a hermitian complex matrix.
bool eig_sym (const cmat &A, vec &d)
 Calculates the eigenvalues of a hermitian complex matrix.
bool eig (const mat &A, cvec &d, cmat &V)
 Caclulates the eigenvalues and eigenvectors of a real non-symmetric matrix.
bool eig (const mat &A, cvec &d)
 Caclulates the eigenvalues of a real non-symmetric matrix.
bool eig (const cmat &A, cvec &d, cmat &V)
 Calculates the eigenvalues and eigenvectors of a complex non-hermitian matrix.
bool eig (const cmat &A, cvec &d)
 Calculates the eigenvalues of a complex non-hermitian matrix.
vec eig_sym (const mat &A)
 Calculates the eigenvalues of a symmetric real matrix.
vec eig_sym (const cmat &A)
 Calculates the eigenvalues of a hermitian complex matrix.
cvec eig (const mat &A)
 Caclulates the eigenvalues of a real non-symmetric matrix.
cvec eig (const cmat &A)
 Calculates the eigenvalues of a complex non-hermitian matrix.
vec sqr (const cvec &x)
 Square of elements.
mat sqr (const cmat &x)
 Square of elements.
ivec abs (const ivec &x)
 Absolute value.
imat abs (const imat &x)
 Absolute value.
vec abs (const cvec &x)
 Absolute value.
mat abs (const cmat &x)
 Absolute value.
vec real (const cvec &x)
 Real part of complex values.
mat real (const cmat &x)
 Real part of complex values.
vec imag (const cvec &x)
 Imaginary part of complex values.
mat imag (const cmat &x)
 Imaginary part of complex values.
vec arg (const cvec &x)
 Argument (angle).
mat arg (const cmat &x)
 Argument (angle).
cvec conj (const cvec &x)
 Conjugate of complex value.
cmat conj (const cmat &x)
 Conjugate of complex value.
bool all (const Vec< bin > &testvec)
 Returns true if all elements are ones and false otherwise.
bool any (const Vec< bin > &testvec)
 Returns true if any element is one and false otherwise.
cvec round_to_zero (const cvec &x, double threshold=1e-14)
 Round each element to zero if element < threshold.
cmat round_to_zero (const cmat &x, double threshold=1e-14)
 Round each element to zero if element < threshold.
itpp::vec gamma (const itpp::vec &x)
 The gamma function.
itpp::mat gamma (const itpp::mat &x)
 The gamma function.
vec exp (const vec &x)
 Exp of the elements.
cvec exp (const cvec &x)
 Exp of cvec.
mat exp (const mat &x)
 Exp of the elements.
cmat exp (const cmat &x)
 Exp of cmat.
vec pow (const double x, const vec &y)
 Calculates x to the power of y (x^y).
mat pow (const double x, const mat &y)
 Calculates x to the power of y (x^y).
vec pow (const vec &x, const double y)
 Calculates x to the power of y (x^y).
mat pow (const mat &x, const double y)
 Calculates x to the power of y (x^y).
vec pow2 (const vec &x)
 Calculates two to the power of x (2^x).
mat pow2 (const mat &x)
 Calculates two to the power of x (2^x).
vec pow10 (const vec &x)
 Calculates ten to the power of x (10^x).
mat pow10 (const mat &x)
 Calculates ten to the power of x (10^x).
vec log (const vec &x)
 The natural logarithm of the elements.
mat log (const mat &x)
 The natural logarithm of the elements.
cvec log (const cvec &x)
 The natural logarithm of the elements.
cmat log (const cmat &x)
 The natural logarithm of the elements.
vec log2 (const vec &x)
 log-2 of the elements
mat log2 (const mat &x)
 log-2 of the elements
vec log10 (const vec &x)
 log-10 of the elements
mat log10 (const mat &x)
 log-10 of the elements
vec logb (const short b, const vec &x)
 log-b of x
mat logb (const short b, const mat &x)
 log-b of x
vec dB (const vec &x)
 Calculates 10*log10(x).
mat dB (const mat &x)
 Calculates 10*log10(x).
vec inv_dB (const vec &x)
 Calulates the inverse of dB, 10^(x/10).
mat inv_dB (const mat &x)
 Calculates the inverse of dB, 10^(x/10).
vec erf (const vec &x)
 Error function.
mat erf (const mat &x)
 Error function.
cvec erf (const cvec &x)
 Error function.
cmat erf (const cmat &x)
 Error function.
vec erfinv (const vec &x)
 Inverse of error function.
mat erfinv (const mat &x)
 Inverse of error function.
vec erfc (const vec &x)
 Complementary error function.
mat erfc (const mat &x)
 Complementary error function.
vec Qfunc (const vec &x)
 Q-function.
mat Qfunc (const mat &x)
 Q-function.
vec sin (const vec &x)
 Sine function.
mat sin (const mat &x)
 Sine function.
vec cos (const vec &x)
 Cosine function.
mat cos (const mat &x)
 Cosine function.
vec tan (const vec &x)
 Tan function.
mat tan (const mat &x)
 Tan function.
vec asin (const vec &x)
 Inverse sine function.
mat asin (const mat &x)
 Inverse sine function.
vec acos (const vec &x)
 Inverse cosine function.
mat acos (const mat &x)
 Inverse cosine function.
vec atan (const vec &x)
 Inverse tan function.
mat atan (const mat &x)
 Inverse tan function.
vec sinc (const vec &x)
 Sinc function, sin(pi*x)/(pi*x).
mat sinc (const mat &x)
 Sinc function, sin(pi*x)/(pi*x).
vec sinh (const vec &x)
 Sine hyperbolic function.
mat sinh (const mat &x)
 Sine hyperbolic function.
vec cosh (const vec &x)
 Cosine hyperbolic function.
mat cosh (const mat &x)
 Cosine hyperbolic function.
vec tanh (const vec &x)
 Tan hyperbolic function.
mat tanh (const mat &x)
 Tan hyperbolic function.
vec asinh (const vec &x)
 Inverse sine hyperbolic function.
mat asinh (const mat &x)
 Inverse sine hyperbolic function.
vec acosh (const vec &x)
 Inverse cosine hyperbolic function.
mat acosh (const mat &x)
 Inverse cosine hyperbolic function.
vec atanh (const vec &x)
 Inverse tan hyperbolic function.
mat atanh (const mat &x)
 Inverse tan hyperbolic function.
vec ceil (const vec &x)
 Round to nearest upper integer.
mat ceil (const mat &x)
 Round to nearest upper integer.
vec floor (const vec &x)
 Round to nearest lower integer.
mat floor (const mat &x)
 Round to nearest lower integer.
vec round (const vec &x)
 Round to nearest integer.
mat round (const mat &x)
 Round to nearest integer.
ivec round_i (const vec &x)
 Round to nearest integer and return ivec.
imat round_i (const mat &x)
 Round to nearest integer and return imat.
vec abs (const vec &x)
 Absolute value.
mat abs (const mat &x)
 Absolute value.
vec sqr (const vec &x)
 Square of elements.
mat sqr (const mat &x)
 Square of elements.
vec sign (const vec &x)
 Signum function.
mat sign (const mat &x)
 Signum function.
vec sqrt (const vec &x)
 Square root of the elements.
mat sqrt (const mat &x)
 Square root of the elements.
vec rem (const vec &x, const double &y)
 Elementwise reminder of the division x/y for vec and double.
vec rem (const double &x, const vec &y)
 Elementwise reminder of the division x/y for double and vec.
mat rem (const mat &x, const double &y)
 Elementwise reminder of the division x/y for mat and double.
mat rem (const double &x, const mat &y)
 Elementwise reminder of the division x/y for double and mat.
vec angle (const cvec &x)
 Angle.
mat angle (const cmat &x)
 Angle.
vec round_to_zero (const vec &x, double threshold=1e-14)
 Round each element to zero if element < threshold.
mat round_to_zero (const mat &x, double threshold=1e-14)
 Round each element to zero if element < threshold.
template<class T>
void create_elements (T *&ptr, const int n, const Factory &)
 Create an n-length array of T to be used as Array, Vec or Mat elements.
template<class T>
void create_elements (Array< T > *&ptr, const int n, const Factory &f)
 Create an n-length array of Array<T> to be used as Array elements.
template<class T>
void create_elements (Mat< T > *&ptr, const int n, const Factory &f)
 Create an n-length array of Mat<T> to be used as Array elements.
template<class T>
void create_elements (Vec< T > *&ptr, const int n, const Factory &f)
 Create an n-length array of Vec<T> to be used as Array elements.
void sub_v_vT_m (mat &m, const vec &v)
void sub_m_v_vT (mat &m, const vec &v)
vec filter (const vec &b, const vec &a, const vec &input)
 ARMA filter function.
cvec filter (const vec &b, const vec &a, const cvec &input)
cvec filter (const cvec &b, const cvec &a, const cvec &input)
cvec filter (const cvec &b, const cvec &a, const vec &input)
vec filter (const vec &b, const int one, const vec &input)
cvec filter (const vec &b, const int one, const cvec &input)
cvec filter (const cvec &b, const int one, const cvec &input)
cvec filter (const cvec &b, const int one, const vec &input)
vec filter (const int one, const vec &a, const vec &input)
cvec filter (const int one, const vec &a, const cvec &input)
cvec filter (const int one, const cvec &a, const cvec &input)
cvec filter (const int one, const cvec &a, const vec &input)
vec filter (const vec &b, const vec &a, const vec &input, const vec &state_in, vec &state_out)
cvec filter (const vec &b, const vec &a, const cvec &input, const cvec &state_in, cvec &state_out)
cvec filter (const cvec &b, const cvec &a, const cvec &input, const cvec &state_in, cvec &state_out)
cvec filter (const cvec &b, const cvec &a, const vec &input, const cvec &state_in, cvec &state_out)
vec filter (const vec &b, const int one, const vec &input, const vec &state_in, vec &state_out)
cvec filter (const vec &b, const int one, const cvec &input, const cvec &state_in, cvec &state_out)
cvec filter (const cvec &b, const int one, const cvec &input, const cvec &state_in, cvec &state_out)
cvec filter (const cvec &b, const int one, const vec &input, const cvec &state_in, cvec &state_out)
vec filter (const int one, const vec &a, const vec &input, const vec &state_in, vec &state_out)
cvec filter (const int one, const vec &a, const cvec &input, const cvec &state_in, cvec &state_out)
cvec filter (const int one, const cvec &a, const cvec &input, const cvec &state_in, cvec &state_out)
cvec filter (const int one, const cvec &a, const vec &input, const cvec &state_in, cvec &state_out)
vec fir1 (int N, double cutoff)
 Design a Nth order FIR filter with cut-off frequency cutoff using the window method.
void polystab (const vec &a, vec &out)
 Polynomial Stabilization.
void polystab (const cvec &a, cvec &out)
void filter_design_autocorrelation (const int N, const vec &f, const vec &m, vec &R)
 Calculate autocorrelation from the specified frequency-response (suitable for filter design).
void modified_yule_walker (const int m, const int n, const int N, const vec &R, vec &a)
 Estimation of AR-part in an ARMA model given the autocorrelation.
void arma_estimator (const int m, const int n, const vec &R, vec &b, vec &a)
 Estimation of ARMA model given the autocorrelation.
void yulewalk (const int N, const vec &f, const vec &m, vec &b, vec &a)
 ARMA filter design using a least-squares fit to the specified frequency-response.
vec polystab (const vec &a)
cvec polystab (const cvec &a)
GF2mat gf2dense_eye (int m)
GF2mat operator * (const GF2mat &X, const GF2mat &Y)
bvec operator * (const GF2mat &X, const bvec &y)
GF2mat mult_trans (const GF2mat &X, const GF2mat &Y)
GF2mat operator+ (const GF2mat &X, const GF2mat &Y)
std::ostream & operator<< (std::ostream &os, const GF2mat &X)
it_fileoperator<< (it_file &f, const GF2mat &X)
it_ifileoperator>> (it_ifile &f, GF2mat &X)
vec vec_function (double(*f)(double), const vec &x)
 Help function to call for a function: vec function(vec).
cvec cvec_function (std::complex< double >(*f)(const std::complex< double > &), const cvec &x)
 Help function to call for a function: cvec function(cvec).
mat mat_function (double(*f)(double), const mat &x)
 Help function to call for a function: mat function(mat).
cmat cmat_function (std::complex< double >(*f)(const std::complex< double > &), const cmat &x)
 Help function to call for a function: cmat function(cmat).
vec double_vec_function (double(*f)(double, double), const double x, const vec &y)
 Help function to call for a function: vec function(double,vec).
mat double_mat_function (double(*f)(double, double), const double x, const mat &y)
 Help function to call for a function: mat function(double,mat).
vec vec_double_function (double(*f)(double, double), const vec &x, const double y)
 Help function to call for a function: vec function(vec,double).
mat mat_double_function (double(*f)(double, double), const mat &x, const double y)
 Help function to call for a function: mat function(mat,double).
double quadstep (double(*f)(double), const double a, const double b, const double fa, const double fm, const double fb, const double is)
double quad (double(*f)(double), const double a, const double b, const double tol)
double quadlstep (double(*f)(double), const double a, const double b, const double fa, const double fb, const double is)
double quadl (double(*f)(double), const double a, const double b, const double tol)
bool inv (const mat &X, mat &Y)
 Inverse of real square matrix.
bool inv (const cmat &X, cmat &Y)
 Inverse of complex square matrix.
cmat inv (const cmat &X)
 Inverse of real square matrix.
mat inv (const mat &X)
 Inverse of real square matrix.
void it_assert_f (std::string ass, std::string msg, std::string file, int line)
 Helper function for the it_assert functions.
void it_error_f (std::string msg, std::string file, int line)
 Helper function for the it_error functions.
void it_warning_f (std::string msg, std::string file, int line)
 Helper function for the it_warning functions.
void it_enable_exceptions (bool on)
 Enable/disable using exceptions for error handling.
void it_enable_warnings ()
 Enable warnings.
void it_disable_warnings ()
 Disable warnings.
void it_redirect_warnings (std::ostream *warn_stream)
 Redirect warnings to the ostream warn_stream.
it_ifileoperator>> (it_ifile &f, bin &v)
 Read the binary variable v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, short &v)
 Read the short variable v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, int &v)
 Read the integer variable v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, double &v)
 Read the double variable v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, float &v)
 Read the float variable v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, std::complex< float > &v)
 Read the float complex variable v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, std::complex< double > &v)
 Read the double complex variable v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, vec &v)
 Read the vec v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, ivec &v)
 Read the ivec v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, bvec &v)
 Read the bvec v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, cvec &v)
 Read the cvec v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, std::string &str)
 Read the string str from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, mat &m)
 Read the mat m from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, imat &m)
 Read the imat m from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, bmat &m)
 Read the bmat m from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, cmat &m)
 Read the cmat m from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, Array< float > &v)
 Read the float Array v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, Array< double > &v)
 Read the double Array v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, Array< int > &v)
 Read the integer Array v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, Array< bin > &v)
 Read the binary Array v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, Array< std::complex< float > > &v)
 Read the float complex Array v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, Array< std::complex< double > > &v)
 Read the double complex Array v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, Array< vec > &v)
 Read the vec Array v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, Array< ivec > &v)
 Read the ivec Array v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, Array< bvec > &v)
 Read the bvec Array v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, Array< cvec > &v)
 Read the cvec Array v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, Array< std::string > &v)
 Read the string Array v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, Array< mat > &v)
 Read the mat Array v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, Array< imat > &v)
 Read the imat Array v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, Array< bmat > &v)
 Read the bmat Array v from the it_ifile pointer.
it_ifileoperator>> (it_ifile &f, Array< cmat > &v)
 Read the cmat Array v from the it_ifile pointer.
it_fileoperator<< (it_file &f, bin x)
 Write the binary variable x to the it_file pointer.
it_fileoperator<< (it_file &f, short x)
 Write the short variable x to the it_file pointer.
it_fileoperator<< (it_file &f, int x)
 Write the integer variable x to the it_file pointer.
it_fileoperator<< (it_file &f, float x)
 Write the float variable x to the it_file pointer.
it_fileoperator<< (it_file &f, double x)
 Write the double variable x to the it_file pointer.
it_fileoperator<< (it_file &f, std::complex< float > x)
 Write the float complex variable x to the it_file pointer.
it_fileoperator<< (it_file &f, std::complex< double > x)
 Write the double complex variable x to the it_file pointer.
it_fileoperator<< (it_file &f, const vec &v)
 Write the vec v to the it_file pointer.
it_fileoperator<< (it_file &f, const ivec &v)
 Write the ivec v to the it_file pointer.
it_fileoperator<< (it_file &f, const bvec &v)
 Write the bvec v to the it_file pointer.
it_fileoperator<< (it_file &f, const cvec &v)
 Write the cvec v to the it_file pointer.
it_fileoperator<< (it_file &f, const std::string &str)
 Write the string str to the it_file pointer.
it_fileoperator<< (it_file &f, const mat &m)
 Write the mat m to the it_file pointer.
it_fileoperator<< (it_file &f, const imat &m)
 Write the imat m to the it_file pointer.
it_fileoperator<< (it_file &f, const bmat &m)
 Write the bmat m to the it_file pointer.
it_fileoperator<< (it_file &f, const cmat &m)
 Write the cmat m to the it_file pointer.
it_fileoperator<< (it_file &f, const Array< float > &v)
 Write the float Array v to the it_file pointer.
it_fileoperator<< (it_file &f, const Array< double > &v)
 Write the double Array v to the it_file pointer.
it_fileoperator<< (it_file &f, const Array< int > &v)
 Write the int Array v to the it_file pointer.
it_fileoperator<< (it_file &f, const Array< bin > &v)
 Write the bin Array v to the it_file pointer.
it_fileoperator<< (it_file &f, const Array< std::complex< float > > &v)
 Write the float complex Array v to the it_file pointer.
it_fileoperator<< (it_file &f, const Array< std::complex< double > > &v)
 Write the double complex Array v to the it_file pointer.
it_fileoperator<< (it_file &f, const Array< vec > &v)
 Write the vec Array v to the it_file pointer.
it_fileoperator<< (it_file &f, const Array< ivec > &v)
 Write the ivec Array v to the it_file pointer.
it_fileoperator<< (it_file &f, const Array< bvec > &v)
 Write the bvec Array v to the it_file pointer.
it_fileoperator<< (it_file &f, const Array< cvec > &v)
 Write the cvec Array v to the it_file pointer.
it_fileoperator<< (it_file &f, const Array< std::string > &v)
 Write the string Array v to the it_file pointer.
it_fileoperator<< (it_file &f, const Array< mat > &v)
 Write the mat Array v to the it_file pointer.
it_fileoperator<< (it_file &f, const Array< imat > &v)
 Write the imat Array v to the it_file pointer.
it_fileoperator<< (it_file &f, const Array< bmat > &v)
 Write the bmat Array v to the it_file pointer.
it_fileoperator<< (it_file &f, const Array< cmat > &v)
 Write the cmat Array v to the it_file pointer.
it_fileflush (it_file &f)
 Flush operator.
it_ifileoperator>> (it_ifile &f, const Name &s)
 Finds the variable Name in the it_ifile. Returns file pointer for reading.
it_fileoperator<< (it_file &f, const Name &s)
 Finds the variable Name in the it_file. Returns file pointer for writing.
template<class T>
void it_save_var_as (const T &v, const std::string &name)
 Save the variable v in the file name.it as the name name.
template<class T>
void it_load_var_as (T &v, const std::string &name)
 Load the variable v from the file name.it as the name name.
std::string itpp_version (void)
 Return IT++ version.
bool ls_solve_chol (const mat &A, const vec &b, vec &x)
 Solve linear equation system by Cholesky factorisation.
bool ls_solve_chol (const mat &A, const mat &B, mat &X)
 Solve linear equation system by Cholesky factorisation.
bool ls_solve_chol (const cmat &A, const cvec &b, cvec &x)
 Solve linear equation system by Cholesky factorisation.
bool ls_solve_chol (const cmat &A, const cmat &B, cmat &X)
 Solve linear equation system by Cholesky factorisation.
vec ls_solve_chol (const mat &A, const vec &b)
 Solve linear equation system by Cholesky factorisation.
mat ls_solve_chol (const mat &A, const mat &B)
 Solve linear equation system by Cholesky factorisation.
cvec ls_solve_chol (const cmat &A, const cvec &b)
 Solve linear equation system by Cholesky factorisation.
cmat ls_solve_chol (const cmat &A, const cmat &B)
 Solve linear equation system by Cholesky factorisation.
bool ls_solve (const mat &A, const vec &b, vec &x)
 Solve linear equation system by LU factorisation.
bool ls_solve (const mat &A, const mat &B, mat &X)
 Solve multiple linear equations by LU factorisation.
bool ls_solve (const cmat &A, const cvec &b, cvec &x)
 Solve linear equation system by LU factorisation.
bool ls_solve (const cmat &A, const cmat &B, cmat &X)
 Solve multiple linear equations by LU factorisation.
vec ls_solve (const mat &A, const vec &b)
 Solve linear equation system by LU factorisation.
mat ls_solve (const mat &A, const mat &B)
 Solve multiple linear equations by LU factorisation.
cvec ls_solve (const cmat &A, const cvec &b)
 Solve linear equation system by LU factorisation.
cmat ls_solve (const cmat &A, const cmat &B)
 Solve multiple linear equations by LU factorisation.
bool ls_solve_od (const mat &A, const vec &b, vec &x)
 Solves overdetermined linear equation systems.
bool ls_solve_od (const mat &A, const mat &B, mat &X)
 Solves overdetermined linear equation systems.
bool ls_solve_od (const cmat &A, const cvec &b, cvec &x)
 Solves overdetermined linear equation systems.
bool ls_solve_od (const cmat &A, const cmat &B, cmat &X)
vec ls_solve_od (const mat &A, const vec &b)
 Solves overdetermined linear equation systems.
mat ls_solve_od (const mat &A, const mat &B)
 Solves overdetermined linear equation systems.
cvec ls_solve_od (const cmat &A, const cvec &b)
 Solves overdetermined linear equation systems.
cmat ls_solve_od (const cmat &A, const cmat &B)
 Solves overdetermined linear equation systems.
bool ls_solve_ud (const mat &A, const vec &b, vec &x)
 Solves underdetermined linear equation systems.
bool ls_solve_ud (const mat &A, const mat &B, mat &X)
 Solves underdetermined linear equation systems.
bool ls_solve_ud (const cmat &A, const cvec &b, cvec &x)
 Solves underdetermined linear equation systems.
bool ls_solve_ud (const cmat &A, const cmat &B, cmat &X)
vec ls_solve_ud (const mat &A, const vec &b)
 Solves overdetermined linear equation systems.
mat ls_solve_ud (const mat &A, const mat &B)
 Solves underdetermined linear equation systems.
cvec ls_solve_ud (const cmat &A, const cvec &b)
 Solves overdetermined linear equation systems.
cmat ls_solve_ud (const cmat &A, const cmat &B)
 Solves underdetermined linear equation systems.
bool backslash (const mat &A, const vec &b, vec &x)
 A general linear equation system solver.
vec backslash (const mat &A, const vec &b)
 A general linear equation system solver.
bool backslash (const mat &A, const mat &B, mat &X)
 A general linear equation system solver.
mat backslash (const mat &A, const mat &B)
 A general linear equation system solver.
bool backslash (const cmat &A, const cvec &b, cvec &x)
 A general linear equation system solver.
cvec backslash (const cmat &A, const cvec &b)
 A general linear equation system solver.
bool backslash (const cmat &A, const cmat &B, cmat &X)
 A general linear equation system solver.
cmat backslash (const cmat &A, const cmat &B)
 A general linear equation system solver.
vec forward_substitution (const mat &L, const vec &b)
 Forward substitution of square matrix.
void forward_substitution (const mat &L, const vec &b, vec &x)
 Forward substitution of square matrix.
vec forward_substitution (const mat &L, int p, const vec &b)
 Forward substitution of band matricies.
void forward_substitution (const mat &L, int p, const vec &b, vec &x)
 Forward substitution of band matricies.
vec backward_substitution (const mat &U, const vec &b)
 Backward substitution of square matrix.
void backward_substitution (const mat &U, const vec &b, vec &x)
 Backward substitution of square matrix.
vec backward_substitution (const mat &U, int q, const vec &b)
 Backward substitution of band matrix.
void backward_substitution (const mat &U, int q, const vec &b, vec &x)
 Backward substitution of band matrix.
bool ls_solve_od (const cmat &A, const cmat &B, mat &X)
 Solves overdetermined linear equation systems.
bool ls_solve_ud (const cmat &A, const cmat &B, mat &X)
 Solves underdetermined linear equation systems.
bool lu (const mat &X, mat &L, mat &U, ivec &p)
 LU factorisation of real matrix.
bool lu (const cmat &X, cmat &L, cmat &U, ivec &p)
 LU factorisation of real matrix.
void interchange_permutations (vec &b, const ivec &p)
 Makes swapping of vector b according to the inerchange permutation vector p.
bmat permutation_matrix (const ivec &p)
 Make permutation matrix P from the interchange permutation vector p.
template<>
const mat operator * (const mat &m1, const mat &m2)
template<>
const cmat operator * (const cmat &m1, const cmat &m2)
template<>
const Vec< double > operator * (const mat &m, const Vec< double > &v)
template<>
const Vec< std::complex< double > > operator * (const cmat &m, const Vec< std::complex< double > > &v)
template const mat operator+ (const mat &m1, const mat &m2)
 Template instantiation of operator+.
template const cmat operator+ (const cmat &m1, const cmat &m2)
 Template instantiation of operator+.
template const imat operator+ (const imat &m1, const imat &m2)
 Template instantiation of operator+.
template const smat operator+ (const smat &m1, const smat &m2)
 Template instantiation of operator+.
template const bmat operator+ (const bmat &m1, const bmat &m2)
 Template instantiation of operator+.
template const mat operator+ (const mat &m, double t)
 Template instantiation of operator+.
template const cmat operator+ (const cmat &m, std::complex< double > t)
 Template instantiation of operator+.
template const imat operator+ (const imat &m, int t)
 Template instantiation of operator+.
template const smat operator+ (const smat &m, short t)
 Template instantiation of operator+.
template const bmat operator+ (const bmat &m, bin t)
 Template instantiation of operator+.
template const mat operator+ (double t, const mat &m)
 Template instantiation of operator+.
template const cmat operator+ (std::complex< double > t, const cmat &m)
 Template instantiation of operator+.
template const imat operator+ (int t, const imat &m)
 Template instantiation of operator+.
template const smat operator+ (short t, const smat &m)
 Template instantiation of operator+.
template const bmat operator+ (bin t, const bmat &m)
 Template instantiation of operator+.
template const mat operator- (const mat &m1, const mat &m2)
 Template instantiation of operator-.
template const cmat operator- (const cmat &m1, const cmat &m2)
 Template instantiation of operator-.
template const imat operator- (const imat &m1, const imat &m2)
 Template instantiation of operator-.
template const smat operator- (const smat &m1, const smat &m2)
 Template instantiation of operator-.
template const bmat operator- (const bmat &m1, const bmat &m2)
 Template instantiation of operator-.
template const mat operator- (const mat &m, double t)
 Template instantiation of operator-.
template const cmat operator- (const cmat &m, std::complex< double > t)
 Template instantiation of operator-.
template const imat operator- (const imat &m, int t)
 Template instantiation of operator-.
template const smat operator- (const smat &m, short t)
 Template instantiation of operator-.
template const bmat operator- (const bmat &m, bin t)
 Template instantiation of operator-.
template const mat operator- (double t, const mat &m)
 Template instantiation of operator-.
template const cmat operator- (std::complex< double > t, const cmat &m)
 Template instantiation of operator-.
template const imat operator- (int t, const imat &m)
 Template instantiation of operator-.
template const smat operator- (short t, const smat &m)
 Template instantiation of operator-.
template const bmat operator- (bin t, const bmat &m)
 Template instantiation of operator-.
template const mat operator- (const mat &m)
 Template instantiation of operator-.
template const cmat operator- (const cmat &m)
 Template instantiation of operator-.
template const imat operator- (const imat &m)
 Template instantiation of operator-.
template const smat operator- (const smat &m)
 Template instantiation of operator-.
template const bmat operator- (const bmat &m)
 Template instantiation of operator-.
template const imat operator * (const imat &m1, const imat &m2)
 Template instantiation of operator*.
template const smat operator * (const smat &m1, const smat &m2)
 Template instantiation of operator*.
template const bmat operator * (const bmat &m1, const bmat &m2)
 Template instantiation of operator*.
template const ivec operator * (const imat &m, const ivec &v)
 Template instantiation of operator*.
template const svec operator * (const smat &m, const svec &v)
 Template instantiation of operator*.
template const bvec operator * (const bmat &m, const bvec &v)
 Template instantiation of operator*.
template const mat operator * (const vec &v, const mat &m)
 Template instantiation of operator*.
template const cmat operator * (const cvec &v, const cmat &m)
 Template instantiation of operator*.
template const imat operator * (const ivec &v, const imat &m)
 Template instantiation of operator*.
template const smat operator * (const svec &v, const smat &m)
 Template instantiation of operator*.
template const bmat operator * (const bvec &v, const bmat &m)
 Template instantiation of operator*.
template const mat operator * (const mat &m, double t)
 Template instantiation of operator*.
template const cmat operator * (const cmat &m, std::complex< double > t)
 Template instantiation of operator*.
template const imat operator * (const imat &m, int t)
 Template instantiation of operator*.
template const smat operator * (const smat &m, short t)
 Template instantiation of operator*.
template const bmat operator * (const bmat &m, bin t)
 Template instantiation of operator*.
template const mat operator * (double t, const mat &m)
 Template instantiation of operator*.
template const cmat operator * (std::complex< double > t, const cmat &m)
 Template instantiation of operator*.
template const imat operator * (int t, const imat &m)
 Template instantiation of operator*.
template const smat operator * (short t, const smat &m)
 Template instantiation of operator*.
template const bmat operator * (bin t, const bmat &m)
 Template instantiation of operator*.
template const mat elem_mult (const mat &m1, const mat &m2)
 Template instantiation of elem_mult.
template const cmat elem_mult (const cmat &m1, const cmat &m2)
 Template instantiation of elem_mult.
template const imat elem_mult (const imat &m1, const imat &m2)
 Template instantiation of elem_mult.
template const smat elem_mult (const smat &m1, const smat &m2)
 Template instantiation of elem_mult.
template const bmat elem_mult (const bmat &m1, const bmat &m2)
 Template instantiation of elem_mult.
template const mat operator/ (const mat &m, double t)
 Template instantiation of operator/.
template const cmat operator/ (const cmat &m, std::complex< double > t)
 Template instantiation of operator/.
template const imat operator/ (const imat &m, int t)
 Template instantiation of operator/.
template const smat operator/ (const smat &m, short t)
 Template instantiation of operator/.
template const bmat operator/ (const bmat &m, bin t)
 Template instantiation of operator/.
template const mat elem_div (const mat &m1, const mat &m2)
 Template instantiation of elem_div.
template const cmat elem_div (const cmat &m1, const cmat &m2)
 Template instantiation of elem_div.
template const imat elem_div (const imat &m1, const imat &m2)
 Template instantiation of elem_div.
template const smat elem_div (const smat &m1, const smat &m2)
 Template instantiation of elem_div.
template const bmat elem_div (const bmat &m1, const bmat &m2)
 Template instantiation of elem_div.
template const mat concat_horizontal (const mat &m1, const mat &m2)
 Template instantiation of concat_horizontal.
template const cmat concat_horizontal (const cmat &m1, const cmat &m2)
 Template instantiation of concat_horizontal.
template const imat concat_horizontal (const imat &m1, const imat &m2)
 Template instantiation of concat_horizontal.
template const smat concat_horizontal (const smat &m1, const smat &m2)
 Template instantiation of concat_horizontal.
template const bmat concat_horizontal (const bmat &m1, const bmat &m2)
 Template instantiation of concat_horizontal.
template const mat concat_vertical (const mat &m1, const mat &m2)
 Template instantiation of concat_vertical.
template const cmat concat_vertical (const cmat &m1, const cmat &m2)
 Template instantiation of concat_vertical.
template const imat concat_vertical (const imat &m1, const imat &m2)
 Template instantiation of concat_vertical.
template const smat concat_vertical (const smat &m1, const smat &m2)
 Template instantiation of concat_vertical.
template const bmat concat_vertical (const bmat &m1, const bmat &m2)
 Template instantiation of concat_vertical.
template std::ostream & operator<< (std::ostream &os, const mat &m)
 Template instantiation of output stream.
template std::ostream & operator<< (std::ostream &os, const cmat &m)
 Template instantiation of output stream.
template std::ostream & operator<< (std::ostream &os, const imat &m)
 Template instantiation of output stream.
template std::ostream & operator<< (std::ostream &os, const smat &m)
 Template instantiation of output stream.
template std::ostream & operator<< (std::ostream &os, const bmat &m)
 Template instantiation of output stream.
template std::istream & operator>> (std::istream &is, mat &m)
 Template instantiation of input stream.
template std::istream & operator>> (std::istream &is, cmat &m)
 Template instantiation of input stream.
template std::istream & operator>> (std::istream &is, imat &m)
 Template instantiation of input stream.
template std::istream & operator>> (std::istream &is, smat &m)
 Template instantiation of input stream.
template std::istream & operator>> (std::istream &is, bmat &m)
 Template instantiation of input stream.
template<class Num_T>
const Mat< Num_T > concat_horizontal (const Mat< Num_T > &m1, const Mat< Num_T > &m2)
 Concatenate the matrices m1 and m2 horizontally.
template<class Num_T>
const Mat< Num_T > concat_vertical (const Mat< Num_T > &m1, const Mat< Num_T > &m2)
 Concatenate the matrices m1 and m2 vertically.
template<class Num_T>
const Mat< Num_T > operator+ (const Mat< Num_T > &m1, const Mat< Num_T > &m2)
 Addition of two matrices.
template<class Num_T>
const Mat< Num_T > operator+ (const Mat< Num_T > &m, Num_T t)
 Addition of matrix and scalar.
template<class Num_T>
const Mat< Num_T > operator+ (Num_T t, const Mat< Num_T > &m)
 Addition of scalar and matrix.
template<class Num_T>
const Mat< Num_T > operator- (const Mat< Num_T > &m1, const Mat< Num_T > &m2)
 Subtraction of m2 from m1.
template<class Num_T>
const Mat< Num_T > operator- (const Mat< Num_T > &m, Num_T t)
 Subraction of scalar from matrix.
template<class Num_T>
const Mat< Num_T > operator- (Num_T t, const Mat< Num_T > &m)
 Subtract matrix from scalar.
template<class Num_T>
const Mat< Num_T > operator- (const Mat< Num_T > &m)
 Subraction of matrix.
template<class Num_T>
const Mat< Num_T > operator * (const Mat< Num_T > &m1, const Mat< Num_T > &m2)
 Multiplication of two matrices.
template<class Num_T>
const Vec< Num_T > operator * (const Mat< Num_T > &m, const Vec< Num_T > &v)
 Multiplication of matrix m and vector v (column vector).
template<class Num_T>
const Mat< Num_T > operator * (const Vec< Num_T > &v, const Mat< Num_T > &m)
 Multiplication of transposed vector v and matrix m.
template<class Num_T>
const Mat< Num_T > operator * (const Mat< Num_T > &m, Num_T t)
 Multiplication of matrix and scalar.
template<class Num_T>
const Mat< Num_T > operator * (Num_T t, const Mat< Num_T > &m)
 Multiplication of scalar and matrix.
template<class Num_T>
const Mat< Num_T > elem_mult (const Mat< Num_T > &m1, const Mat< Num_T > &m2)
 Elementwise multiplication of two matrices.
template<class Num_T>
const Mat< Num_T > operator/ (const Mat< Num_T > &m, Num_T t)
 Division of matrix with scalar.
template<class Num_T>
const Mat< Num_T > elem_div (const Mat< Num_T > &m1, const Mat< Num_T > &m2)
 Elementwise division of matrix m1 with matrix m2.
template<>
const vec operator * (const mat &m, const vec &v)
template<>
const cvec operator * (const cmat &m, const cvec &v)
template<class Num_T>
std::ostream & operator<< (std::ostream &os, const Mat< Num_T > &m)
template<class Num_T>
std::istream & operator>> (std::istream &is, Mat< Num_T > &m)
cmat sqrtm (const mat &A)
 Square root of the real square matrix A.
cmat sqrtm (const cmat &A)
 Square root of the complex square matrix A.
template int length (const vec &v)
 Extern Template instantiation of length.
template int length (const cvec &v)
 Extern Template instantiation of length.
template int length (const svec &v)
 Extern Template instantiation of length.
template int length (const ivec &v)
 Extern Template instantiation of length.
template int length (const bvec &v)
 Extern Template instantiation of length.
template double sum (const vec &v)
 Extern Template instantiation of sum.
template std::complex< double > sum (const cvec &v)
 Extern Template instantiation of sum.
template short sum (const svec &v)
 Extern Template instantiation of sum.
template int sum (const ivec &v)
 Extern Template instantiation of sum.
template bin sum (const bvec &v)
 Extern Template instantiation of sum.
template double sum_sqr (const vec &v)
 Extern Template instantiation of sum_sqr.
template std::complex< double > sum_sqr (const cvec &v)
 Extern Template instantiation of sum_sqr.
template short sum_sqr (const svec &v)
 Extern Template instantiation of sum_sqr.
template int sum_sqr (const ivec &v)
 Extern Template instantiation of sum_sqr.
template bin sum_sqr (const bvec &v)
 Extern Template instantiation of sum_sqr.
template vec cumsum (const vec &v)
 Extern Template instantiation of cumsum.
template cvec cumsum (const cvec &v)
 Extern Template instantiation of cumsum.
template svec cumsum (const svec &v)
 Extern Template instantiation of cumsum.
template ivec cumsum (const ivec &v)
 Extern Template instantiation of cumsum.
template bvec cumsum (const bvec &v)
 Extern Template instantiation of cumsum.
template double prod (const vec &v)
 Extern Template instantiation of product.
template std::complex< double > prod (const cvec &v)
 Extern Template instantiation of product.
template short prod (const svec &v)
 Extern Template instantiation of product.
template int prod (const ivec &v)
 Extern Template instantiation of product.
template bin prod (const bvec &v)
 Extern Template instantiation of product.
template vec cross (const vec &v1, const vec &v2)
 Extern Template instantiation of cross.
template ivec cross (const ivec &v1, const ivec &v2)
 Extern Template instantiation of cross.
template svec cross (const svec &v1, const svec &v2)
 Extern Template instantiation of cross.
template vec reverse (const vec &in)
 Extern Template instantiation of reverse.
template cvec reverse (const cvec &in)
 Extern Template instantiation of reverse.
template svec reverse (const svec &in)
 Extern Template instantiation of reverse.
template ivec reverse (const ivec &in)
 Extern Template instantiation of reverse.
template bvec reverse (const bvec &in)
 Extern Template instantiation of reverse.
template vec repeat (const vec &v, int norepeats)
 Extern Template instantiation of repeat.
template cvec repeat (const cvec &v, int norepeats)
 Extern Template instantiation of repeat.
template svec repeat (const svec &v, int norepeats)
 Extern Template instantiation of repeat.
template ivec repeat (const ivec &v, int norepeats)
 Extern Template instantiation of repeat.
template bvec repeat (const bvec &v, int norepeats)
 Extern Template instantiation of repeat.
template vec apply_function (float(*f)(float), const vec &data)
 Extern Template instantiation of apply_function.
template vec apply_function (double(*f)(double), const vec &data)
 Extern Template instantiation of apply_function.
template cvec apply_function (std::complex< double >(*f)(std::complex< double >), const cvec &data)
 Extern Template instantiation of apply_function.
template svec apply_function (short(*f)(short), const svec &data)
 Extern Template instantiation of apply_function.
template ivec apply_function (int(*f)(int), const ivec &data)
 Extern Template instantiation of apply_function.
template bvec apply_function (bin(*f)(bin), const bvec &data)
 Extern Template instantiation of apply_function.
template ivec zero_pad (const ivec &v, int n)
 Extern Template instantiation of zero_pad.
template vec zero_pad (const vec &v, int n)
 Extern Template instantiation of zero_pad.
template cvec zero_pad (const cvec &v, int n)
 Extern Template instantiation of zero_pad.
template bvec zero_pad (const bvec &v, int n)
 Extern Template instantiation of zero_pad.
template ivec zero_pad (const ivec &v)
 Extern Template instantiation of zero_pad.
template vec zero_pad (const vec &v)
 Extern Template instantiation of zero_pad.
template cvec zero_pad (const cvec &v)
 Extern Template instantiation of zero_pad.
template bvec zero_pad (const bvec &v)
 Extern Template instantiation of zero_pad.
template mat zero_pad (const mat &, int, int)
 Extern Template instantiation of zero_pad.
template cmat zero_pad (const cmat &, int, int)
 Extern Template instantiation of zero_pad.
template imat zero_pad (const imat &, int, int)
 Extern Template instantiation of zero_pad.
template bmat zero_pad (const bmat &, int, int)
 Extern Template instantiation of zero_pad.
template vec sum (const mat &m, int dim)
 Extern Template instantiation of sum.
template cvec sum (const cmat &m, int dim)
 Extern Template instantiation of sum.
template svec sum (const smat &m, int dim)
 Extern Template instantiation of sum.
template ivec sum (const imat &m, int dim)
 Extern Template instantiation of sum.
template bvec sum (const bmat &m, int dim)
 Extern Template instantiation of sum.
template vec sum_sqr (const mat &m, int dim)
 Extern Template instantiation of sum_sqr.
template cvec sum_sqr (const cmat &m, int dim)
 Extern Template instantiation of sum_sqr.
template svec sum_sqr (const smat &m, int dim)
 Extern Template instantiation of sum_sqr.
template ivec sum_sqr (const imat &m, int dim)
 Extern Template instantiation of sum_sqr.
template bvec sum_sqr (const bmat &m, int dim)
 Extern Template instantiation of sum_sqr.
template mat cumsum (const mat &m, int dim)
 Extern Template instantiation of cumsum.
template cmat cumsum (const cmat &m, int dim)
 Extern Template instantiation of cumsum.
template smat cumsum (const smat &m, int dim)
 Extern Template instantiation of cumsum.
template imat cumsum (const imat &m, int dim)
 Extern Template instantiation of cumsum.
template bmat cumsum (const bmat &m, int dim)
 Extern Template instantiation of cumsum.
template vec prod (const mat &m, int dim)
 Extern Template instantiation of product.
template cvec prod (const cmat &v, int dim)
template svec prod (const smat &m, int dim)
 Extern Template instantiation of product.
template ivec prod (const imat &m, int dim)
 Extern Template instantiation of product.
template vec diag (const mat &in)
 Extern Template instantiation of diag.
template cvec diag (const cmat &in)
 Extern Template instantiation of diag.
template void diag (const vec &in, mat &m)
 Extern Template instantiation of diag.
template void diag (const cvec &in, cmat &m)
 Extern Template instantiation of diag.
template mat diag (const vec &v, const int K)
 Extern Template instantiation of diag.
template cmat diag (const cvec &v, const int K)
 Extern Template instantiation of diag.
template mat bidiag (const vec &, const vec &)
 Extern Template instantiation of bidiag.
template cmat bidiag (const cvec &, const cvec &)
 Extern Template instantiation of bidiag.
template void bidiag (const vec &, const vec &, mat &)
 Extern Template instantiation of bidiag.
template void bidiag (const cvec &, const cvec &, cmat &)
 Extern Template instantiation of bidiag.
template void bidiag (const mat &, vec &, vec &)
 Extern Template instantiation of bidiag.
template void bidiag (const cmat &, cvec &, cvec &)
 Extern Template instantiation of bidiag.
template mat tridiag (const vec &main, const vec &, const vec &)
 Extern Template instantiation of tridiag.
template cmat tridiag (const cvec &main, const cvec &, const cvec &)
 Extern Template instantiation of tridiag.
template void tridiag (const vec &main, const vec &, const vec &, mat &)
 Extern Template instantiation of tridiag.
template void tridiag (const cvec &main, const cvec &, const cvec &, cmat &)
 Extern Template instantiation of tridiag.
template void tridiag (const mat &m, vec &, vec &, vec &)
 Extern Template instantiation of tridiag.
template void tridiag (const cmat &m, cvec &, cvec &, cvec &)
 Extern Template instantiation of tridiag.
template double trace (const mat &in)
 Extern Template instantiation of trace.
template std::complex< double > trace (const cmat &in)
 Extern Template instantiation of trace.
template short trace (const smat &in)
 Extern Template instantiation of trace.
template int trace (const imat &in)
 Extern Template instantiation of trace.
template bin trace (const bmat &in)
 Extern Template instantiation of trace.
template void transpose (const mat &m, mat &out)
 Extern Template instantiation of transpose.
template void transpose (const cmat &m, cmat &out)
 Extern Template instantiation of transpose.
template void transpose (const smat &m, smat &out)
 Extern Template instantiation of transpose.
template void transpose (const imat &m, imat &out)
 Extern Template instantiation of transpose.
template void transpose (const bmat &m, bmat &out)
 Extern Template instantiation of transpose.
template mat transpose (const mat &m)
 Extern Template instantiation of transpose.
template cmat transpose (const cmat &m)
 Extern Template instantiation of transpose.
template smat transpose (const smat &m)
 Extern Template instantiation of transpose.
template imat transpose (const imat &m)
 Extern Template instantiation of transpose.
template bmat transpose (const bmat &m)
 Extern Template instantiation of transpose.
template void hermitian_transpose (const mat &m, mat &out)
 Extern Template instantiation of hermitian transpose.
template void hermitian_transpose (const cmat &m, cmat &out)
 Extern Template instantiation of hermitian transpose.
template void hermitian_transpose (const smat &m, smat &out)
 Extern Template instantiation of hermitian transpose.
template void hermitian_transpose (const imat &m, imat &out)
 Extern Template instantiation of hermitian transpose.
template void hermitian_transpose (const bmat &m, bmat &out)
 Extern Template instantiation of hermitian transpose.
template mat hermitian_transpose (const mat &m)
 Extern Template instantiation of hermitian transpose.
template cmat hermitian_transpose (const cmat &m)
 Extern Template instantiation of hermitian transpose.
template smat hermitian_transpose (const smat &m)
 Extern Template instantiation of hermitian transpose.
template imat hermitian_transpose (const imat &m)
 Extern Template instantiation of hermitian transpose.
template bmat hermitian_transpose (const bmat &m)
 Extern Template instantiation of hermitian transpose.
template mat repeat (const mat &m, int norepeats)
 Extern Template instantiation of repeat.
template cmat repeat (const cmat &m, int norepeats)
 Extern Template instantiation of repeat.
template smat repeat (const smat &m, int norepeats)
 Extern Template instantiation of repeat.
template imat repeat (const imat &m, int norepeats)
 Extern Template instantiation of repeat.
template bmat repeat (const bmat &m, int norepeats)
 Extern Template instantiation of repeat.
template mat apply_function (float(*f)(float), const mat &data)
 Extern Template instantiation of apply_function.
template mat apply_function (double(*f)(double), const mat &data)
 Extern Template instantiation of apply_function.
template cmat apply_function (std::complex< double >(*f)(std::complex< double >), const cmat &data)
 Extern Template instantiation of apply_function.
template smat apply_function (short(*f)(short), const smat &data)
 Extern Template instantiation of apply_function.
template imat apply_function (int(*f)(int), const imat &data)
 Extern Template instantiation of apply_function.
template bmat apply_function (bin(*f)(bin), const bmat &data)
 Extern Template instantiation of apply_function.
template vec rvectorize (const mat &m)
 Extern Template instantiation of rvectorize.
template cvec rvectorize (const cmat &m)
 Extern Template instantiation of rvectorize.
template ivec rvectorize (const imat &m)
 Extern Template instantiation of rvectorize.
template bvec rvectorize (const bmat &m)
 Extern Template instantiation of rvectorize.
template vec cvectorize (const mat &m)
 Extern Template instantiation of cvectorize.
template cvec cvectorize (const cmat &m)
 Extern Template instantiation of cvectorize.
template ivec cvectorize (const imat &m)
 Extern Template instantiation of cvectorize.
template bvec cvectorize (const bmat &m)
 Extern Template instantiation of cvectorize.
template mat reshape (const mat &m, int rows, int cols)
 Extern Template instantiation of reshape.
template cmat reshape (const cmat &m, int rows, int cols)
 Extern Template instantiation of reshape.
template imat reshape (const imat &m, int rows, int cols)
 Extern Template instantiation of reshape.
template bmat reshape (const bmat &m, int rows, int cols)
 Extern Template instantiation of reshape.
template mat reshape (const vec &m, int rows, int cols)
 Extern Template instantiation of reshape.
template cmat reshape (const cvec &m, int rows, int cols)
 Extern Template instantiation of reshape.
template imat reshape (const ivec &m, int rows, int cols)
 Extern Template instantiation of reshape.
template bmat reshape (const bvec &m, int rows, int cols)
 Extern Template instantiation of reshape.
template vec upsample (const vec &v, int usf)
 Extern Template instantiation of upsample.
template cvec upsample (const cvec &v, int usf)
 Extern Template instantiation of upsample.
template svec upsample (const svec &v, int usf)
 Extern Template instantiation of upsample.
template ivec upsample (const ivec &v, int usf)
 Extern Template instantiation of upsample.
template bvec upsample (const bvec &v, int usf)
 Extern Template instantiation of upsample.
template mat upsample (const mat &v, int usf)
 Extern Template instantiation of upsample.
template cmat upsample (const cmat &v, int usf)
 Extern Template instantiation of upsample.
template smat upsample (const smat &v, int usf)
 Extern Template instantiation of upsample.
template imat upsample (const imat &v, int usf)
 Extern Template instantiation of upsample.
template bmat upsample (const bmat &v, int usf)
 Extern Template instantiation of upsample.
template void upsample (const vec &v, int usf, vec &u)
 Extern Template instantiation of upsample.
template void upsample (const cvec &v, int usf, cvec &u)
 Extern Template instantiation of upsample.
template void upsample (const svec &v, int usf, svec &u)
 Extern Template instantiation of upsample.
template void upsample (const ivec &v, int usf, ivec &u)
 Extern Template instantiation of upsample.
template void upsample (const bvec &v, int usf, bvec &u)
 Extern Template instantiation of upsample.
template void upsample (const mat &v, int usf, mat &u)
 Extern Template instantiation of upsample.
template void upsample (const cmat &v, int usf, cmat &u)
 Extern Template instantiation of upsample.
template void upsample (const smat &v, int usf, smat &u)
 Extern Template instantiation of upsample.
template void upsample (const imat &v, int usf, imat &u)
 Extern Template instantiation of upsample.
template void upsample (const bmat &v, int usf, bmat &u)
 Extern Template instantiation of upsample.
template vec lininterp (const vec &v, int usf)
 Extern Template instantiation of liniterp.
template cvec lininterp (const cvec &v, int usf)
 Extern Template instantiation of liniterp.
template mat lininterp (const mat &v, int usf)
 Extern Template instantiation of liniterp.
template cmat lininterp (const cmat &v, int usf)
 Extern Template instantiation of liniterp.
template void lininterp (const vec &v, int usf, vec &u)
 Extern Template instantiation of liniterp.
template void lininterp (const cvec &v, int usf, cvec &u)
 Extern Template instantiation of liniterp.
template void lininterp (const mat &v, int usf, mat &u)
 Extern Template instantiation of liniterp.
template void lininterp (const cmat &v, int usf, cmat &u)
 Extern Template instantiation of liniterp.
template mat lininterp (const mat &m, const double f_base, const double f_ups, const int nrof_samples, const double t_start)
 Extern Template instantiation of liniterp.
template cmat lininterp (const cmat &m, const double f_base, const double f_ups, const int nrof_samples, const double t_start)
 Extern Template instantiation of liniterp.
template vec lininterp (const vec &v, const double f_base, const double f_ups, const int nrof_samples, const double t_start)
 Extern Template instantiation of liniterp.
template cvec lininterp (const cvec &v, const double f_base, const double f_ups, const int nrof_samples, const double t_start)
 Extern Template instantiation of liniterp.
template<class T>
int length (const Vec< T > &v)
 Length of vector.
template<class T>
int size (const Vec< T > &v)
 Length of vector.
template<class T>
sum (const Vec< T > &v)
 Sum of all elements in the vector.
template<class T>
Vec< T > sum (const Mat< T > &m, int dim=1)
 Sum of elements in the matrix m.
template<class T>
sum_sqr (const Vec< T > &v)
 Sum of square of the elements in a vector.
template<class T>
Vec< T > sum_sqr (const Mat< T > &m, int dim=1)
 Sum of the square of elements in the matrix m.
template<class T>
Vec< T > cumsum (const Vec< T > &v)
 Cumulative sum of all elements in the vector.
template<class T>
Mat< T > cumsum (const Mat< T > &m, int dim=1)
 Cumulative sum of elements in the matrix m.
template<class T>
prod (const Vec< T > &v)
 The product of all elements in the vector.
template<class T>
Vec< T > prod (const Mat< T > &m, int dim=1)
 Product of elements in the matrix m.
template<class T>
Vec< T > cross (const Vec< T > &v1, const Vec< T > &v2)
 Vector cross product. Vectors need to be of size 3.
template<class T, class fT>
Vec< T > apply_function (fT(*f)(fT), const Vec< T > &data)
 Apply arbitrary function to a vector.
template<class T, class fT>
Mat< T > apply_function (fT(*f)(fT), const Mat< T > &data)
 Apply arbitrary functions to a matrix.
template<class T>
Vec< T > zero_pad (const Vec< T > &v, int n)
 Zero-pad a vector to size n.
template<class T>
Vec< T > zero_pad (const Vec< T > &v)
 Zero-pad a vector to the nearest greater power of two.
template<class T>
Mat< T > zero_pad (const Mat< T > &m, int rows, int cols)
 Zero-pad a matrix to size rows x cols.
template<class T>
index_zero_pad (const Vec< T > &v, const int index)
template<class T>
void transpose (const Mat< T > &m, Mat< T > &out)
 Transposition of the matrix m returning the transposed matrix in out.
template<class T>
Mat< T > transpose (const Mat< T > &m)
 Transposition of the matrix m.
template<class T>
void hermitian_transpose (const Mat< T > &m, Mat< T > &out)
template<class T>
Mat< T > hermitian_transpose (const Mat< T > &m)
 Hermitian transpose (complex conjugate transpose) of the matrix m.
template<class Num_T>
bool is_hermitian (const Mat< Num_T > &X)
 Returns true if matrix X is hermitian, false otherwise.
template<class Num_T>
bool is_unitary (const Mat< Num_T > &X)
 Returns true if matrix X is unitary, false otherwise.
template<class Num_T>
Mat< Num_T > kron (const Mat< Num_T > &X, const Mat< Num_T > &Y)
 Computes the Kronecker product of two matrices.
template<class T>
Mat< T > diag (const Vec< T > &v, const int K=0)
 Returns a diagonal matrix whith the elements of the vector v on the diagonal and zeros elsewhere.
template<class T>
void diag (const Vec< T > &v, Mat< T > &m)
 Returns in the output wariable m a diagonal matrix whith the elements of the vector v on the diagonal and zeros elsewhere.
template<class T>
Vec< T > diag (const Mat< T > &m)
 Returns the diagonal elements of the input matrix m.
template<class T>
Mat< T > bidiag (const Vec< T > &main, const Vec< T > &sup)
 Returns a matrix with the elements of the input vector main on the diagonal and the elements of the input vector sup on the diagonal row above.
template<class T>
void bidiag (const Vec< T > &main, const Vec< T > &sup, Mat< T > &m)
 Returns in the output variable m a matrix with the elements of the input vector main on the diagonal and the elements of the input vector sup on the diagonal row above.
template<class T>
void bidiag (const Mat< T > &m, Vec< T > &main, Vec< T > &sup)
 Returns the main diagonal and the diagonal row above in the two output vectors main and sup.
template<class T>
Mat< T > tridiag (const Vec< T > &main, const Vec< T > &sup, const Vec< T > &sub)
 Returns a matrix with the elements of main on the diagonal, the elements of sup on the diagonal row above, and the elements of sub on the diagonal row below.
template<class T>
void tridiag (const Vec< T > &main, const Vec< T > &sup, const Vec< T > &sub, Mat< T > &m)
 Returns in the output matrix m a matrix with the elements of main on the diagonal, the elements of sup on the diagonal row above, and the elements of sub on the diagonal row below.
template<class T>
void tridiag (const Mat< T > &m, Vec< T > &main, Vec< T > &sup, Vec< T > &sub)
 Returns the main diagonal, the diagonal row above, and the diagonal row below int the output vectors main, sup, and sub.
template<class T>
trace (const Mat< T > &m)
 The trace of the matrix m, i.e. the sum of the diagonal elements.
template<class T>
Vec< T > reverse (const Vec< T > &in)
 Reverse the input vector.
template<class T>
Vec< T > rvectorize (const Mat< T > &m)
 Row vectorize the matrix [(0,0) (0,1) ... (N-1,N-2) (N-1,N-1)].
template<class T>
Vec< T > cvectorize (const Mat< T > &m)
 Column vectorize the matrix [(0,0) (1,0) ... (N-2,N-1) (N-1,N-1)].
template<class T>
Mat< T > reshape (const Mat< T > &m, int rows, int cols)
 Reshape the matrix into an rows*cols matrix.
template<class T>
Mat< T > reshape (const Vec< T > &v, int rows, int cols)
 Reshape the vector into an rows*cols matrix.
template<class T>
Vec< T > repeat (const Vec< T > &v, int norepeats)
 Repeat each element in the vector norepeats times in sequence.
template<class T>
Mat< T > repeat (const Mat< T > &m, int norepeats)
 Repeats each column norepeats times in sequence.
template<class T>
void upsample (const Vec< T > &v, int usf, Vec< T > &u)
 Upsample a vector by inserting (usf-1) zeros after each sample.
template<class T>
Vec< T > upsample (const Vec< T > &v, int usf)
 Upsample a vector by incerting (usf-1) zeros after each sample.
template<class T>
void upsample (const Mat< T > &v, int usf, Mat< T > &u)
 Upsample each column by incerting (usf-1) zeros after each column.
template<class T>
Mat< T > upsample (const Mat< T > &v, int usf)
 Upsample each column by incerting (usf-1) zeros after each column.
template<class T>
void lininterp (const Mat< T > &m, int usf, Mat< T > &u)
 Upsample each column by a factor of (usf-1) by linear interpolation.
template<class T>
Mat< T > lininterp (const Mat< T > &m, const double f_base, const double f_ups, const int nrof_samples, const double t_start=0)
 Upsample each column of matrix m to achieve f_ups frequency using linear interpolation.
template<class T>
Mat< T > lininterp (const Mat< T > &m, int usf)
 Upsample each column by a factor of (usf-1) by linear interpolation.
template<class T>
void lininterp (const Vec< T > &v, int usf, Vec< T > &u)
 Upsample by a factor of (usf-1) by linear interpolation.
template<class T>
Vec< T > lininterp (const Vec< T > &v, int usf)
 Upsample by a factor of (usf-1) by linear interpolation.
template<class T>
Vec< T > lininterp (const Vec< T > &v, const double f_base, const double f_ups, const int nrof_samples, const double t_start=0)
 Upsample each sample of vector v to achieve f_ups frequency using linear interpolation.
template bool is_hermitian (const mat &X)
 Extern Template instantiation of is_hermitian.
template bool is_hermitian (const cmat &X)
 Extern Template instantiation of is_hermitian.
template bool is_unitary (const mat &X)
 Extern Template instantiation of is_unitary.
template bool is_unitary (const cmat &X)
 Extern Template instantiation of is_unitary.
vec fminunc (double(*function)(const vec &), vec(*gradient)(const vec &), const vec &x0)
 Unconstrained minimization.
vec operator+ (const double &s, const ivec &v)
vec operator- (const double &s, const ivec &v)
vec operator * (const double &s, const ivec &v)
vec operator/ (const double &s, const ivec &v)
vec operator/ (const ivec &v, const double &s)
cvec operator+ (const std::complex< double > &s, const ivec &v)
cvec operator- (const std::complex< double > &s, const ivec &v)
cvec operator * (const std::complex< double > &s, const ivec &v)
cvec operator/ (const std::complex< double > &s, const ivec &v)
cvec operator/ (const ivec &v, const std::complex< double > &s)
cvec operator+ (const double &s, const cvec &v)
cvec operator- (const double &s, const cvec &v)
cvec operator * (const double &s, const cvec &v)
cvec operator/ (const cvec &v, const double &s)
cvec operator/ (const double &s, const cvec &v)
cmat operator+ (const double &s, const cmat &m)
cmat operator- (const double &s, const cmat &m)
cmat operator * (const double &s, const cmat &m)
cmat operator * (const std::complex< double > &s, const mat &m)
cmat operator/ (const cmat &m, const double &s)
cvec operator * (const std::complex< double > &s, const vec &v)
cvec operator * (const vec &v, const std::complex< double > &s)
vec operator+ (const bvec &a, const vec &b)
vec operator+ (const svec &a, const vec &b)
vec operator+ (const ivec &a, const vec &b)
cvec operator+ (const bvec &a, const cvec &b)
cvec operator+ (const svec &a, const cvec &b)
cvec operator+ (const ivec &a, const cvec &b)
double operator * (const bvec &a, const vec &b)
double operator * (const svec &a, const vec &b)
double operator * (const ivec &a, const vec &b)
std::complex< double > operator * (const bvec &a, const cvec &b)
std::complex< double > operator * (const svec &a, const cvec &b)
std::complex< double > operator * (const ivec &a, const cvec &b)
mat operator+ (const bmat &a, const mat &b)
mat operator+ (const smat &a, const mat &b)
mat operator+ (const imat &a, const mat &b)
cmat operator+ (const bmat &a, const cmat &b)
cmat operator+ (const smat &a, const cmat &b)
cmat operator+ (const imat &a, const cmat &b)
cmat operator+ (const mat &a, const cmat &b)
std::complex< double > operator+ (const int &x, const std::complex< double > &y)
std::complex< double > operator+ (const float &x, const std::complex< double > &y)
std::complex< double > operator+ (const std::complex< double > &x, const int &y)
std::complex< double > operator+ (const std::complex< double > &x, const float &y)
std::complex< double > operator- (const int &x, const std::complex< double > &y)
std::complex< double > operator- (const float &x, const std::complex< double > &y)
std::complex< double > operator- (const std::complex< double > &x, const int &y)
std::complex< double > operator- (const std::complex< double > &x, const float &y)
std::complex< double > operator * (const int &x, const std::complex< double > &y)
std::complex< double > operator * (const float &x, const std::complex< double > &y)
std::complex< double > operator * (const std::complex< double > &x, const int &y)
std::complex< double > operator * (const std::complex< double > &x, const float &y)
std::complex< double > operator/ (const std::complex< double > &x, const int &y)
std::complex< double > operator/ (const std::complex< double > &x, const float &y)
void poly (const vec &r, vec &p)
void poly (const cvec &r, cvec &p)
void roots (const vec &p, cvec &r)
void roots (const cvec &p, cvec &r)
vec polyval (const vec &p, const vec &x)
cvec polyval (const vec &p, const cvec &x)
cvec polyval (const cvec &p, const vec &x)
cvec polyval (const cvec &p, const cvec &x)
vec poly (const vec &r)
cvec poly (const cvec &r)
cvec roots (const vec &p)
cvec roots (const cvec &p)
bool qr (const mat &A, mat &Q, mat &R)
 QR factorisation of real matrix.
bool qr (const mat &A, mat &Q, mat &R, bmat &P)
 QR factorisation of real matrix with pivoting.
bool qr (const cmat &A, cmat &Q, cmat &R)
 QR factorisation of a complex matrix.
bool qr (const cmat &A, cmat &Q, cmat &R, bmat &P)
 QR factorisation of a complex matrix with pivoting.
void RNG_reset (unsigned long seed)
 Set the seed of the Global Random Number Generator.
void RNG_reset ()
 Set the seed of the Global Random Number Generator to the same as last reset/init.
void RNG_randomize ()
 Set a random seed for the Global Random Number Generator.
void RNG_get_state (ivec &state)
 Save current full state of generator in memory.
void RNG_set_state (ivec &state)
 Resume the state saved in memory.
bin randb (void)
 Generates a random bit (equally likely 0s and 1s).
void randb (int size, bvec &out)
 Generates a random bit vector (equally likely 0s and 1s).
bvec randb (int size)
 Generates a random bit vector (equally likely 0s and 1s).
void randb (int rows, int cols, bmat &out)
 Generates a random bit matrix (equally likely 0s and 1s).
bmat randb (int rows, int cols)
 Generates a random bit matrix (equally likely 0s and 1s).
double randu (void)
 Generates a random uniform (0,1) number.
void randu (int size, vec &out)
 Generates a random uniform (0,1) vector.
vec randu (int size)
 Generates a random uniform (0,1) vector.
void randu (int rows, int cols, mat &out)
 Generates a random uniform (0,1) matrix.
mat randu (int rows, int cols)
 Generates a random uniform (0,1) matrix.
int randi (int low, int high)
 Generates a random integer in the interval [low,high].
ivec randi (int size, int low, int high)
 Generates a random ivec with elements in the interval [low,high].
imat randi (int rows, int cols, int low, int high)
 Generates a random imat with elements in the interval [low,high].
vec randray (int size, double sigma=1.0)
 Generates a random Rayleigh vector.
vec randrice (int size, double sigma=1.0, double s=1.0)
 Generates a random Rice vector (See J.G. Poakis, "Digital Communications, 3rd ed." p.47).
vec randexp (int size, double lambda=1.0)
 Generates a random complex Gaussian vector.
double randn (void)
 Generates a random Gaussian (0,1) variable.
void randn (int size, vec &out)
 Generates a random Gaussian (0,1) vector.
vec randn (int size)
 Generates a random Gaussian (0,1) vector.
void randn (int rows, int cols, mat &out)
 Generates a random Gaussian (0,1) matrix.
mat randn (int rows, int cols)
 Generates a random Gaussian (0,1) matrix.
std::complex< double > randn_c (void)
 Generates a random complex Gaussian (0,1) variable.
void randn_c (int size, cvec &out)
 Generates a random complex Gaussian (0,1) vector.
cvec randn_c (int size)
 Generates a random complex Gaussian (0,1) vector.
void randn_c (int rows, int cols, cmat &out)
 Generates a random complex Gaussian (0,1) matrix.
cmat randn_c (int rows, int cols)
 Generates a random complex Gaussian (0,1) matrix.
double gamma (double x)
 Gamma function.
double Qfunc (double x)
 Q-function.
double erfinv (double x)
 Inverse of error function.
std::complex< double > cerfc_continued_fraction (const std::complex< double > &z)
std::complex< double > cerf_continued_fraction (const std::complex< double > &z)
std::complex< double > cerf_series (const std::complex< double > &z)
std::complex< double > cerf_rybicki (const std::complex< double > &z)
std::complex< double > erf (const std::complex< double > &z)
 Error function for complex argument.
double fact (int index)
 Calculates factorial coefficient for index <= 170.
long mod (long k, long n)
 Calculates the modulus, i.e. the signed reminder after division.
long gcd (long a, long b)
 returns the greatest common divisor (GCD) g of the elements a and b.
double binom (int n, int k)
 Compute the binomial coefficient "n over k" as a float.
int binom_i (int n, int k)
 Compute the binomial coefficient "n over k" as an integer.
double log_binom (int n, int k)
 Compute the base 10 logarithm of the binomial coefficient "n over k".
std::complex< double > round_to_zero (const std::complex< double > &x, double threshold=1e-14)
 Round each part of x smaller than threshold to zero.
double trunc_log (double x)
 Truncated natural logarithm function.
double trunc_exp (double x)
 Truncated exponential function.
double log2 (double x)
 Base-2 logarithm.
double logb (double b, double x)
 Base-b logarithm.
double sinc (double x)
 Sinc function. sinc(x) = sin(pi*x)/pi*x.
int round_i (double x)
 Round to nearest integer.
int ceil_i (double x)
 The nearest larger integer.
int floor_i (double x)
 The nearest smaller integer.
double round (double x)
 Round to nearest integer, return result in double.
bool is_int (double x)
 Return true if x is an integer.
bool is_even (int x)
 Return true if x is an even integer.
int int2bits (int n)
 Calculate the number of bits needed to represent an inteager n.
int levels2bits (int n)
 Calculate the number of bits needed to represent n different values (levels).
int needed_bits (int n)
 Deprecated function. Might be removed in future releases. Please use int2bits() or levels2bits() instead.
int needed_bits (double n)
 Deprecated function. Might be removed in future releases. Please use int2bits() or levels2bits() instead.
int pow2i (int x)
 Integer 2^x.
int pow2 (int x)
 Calculate two to the power of x (2^x).
double pow2 (double x)
 Calculate two to the power of x (2^x).
double pow10 (double x)
 Calculate ten to the power of x (10^x).
double dB (double x)
 Decibel of x (10*log10(x)).
double inv_dB (double x)
 Inverse of decibel.
int gray_code (int x)
 Convert to Gray Code.
double rad_to_deg (double x)
 Convert radians to degrees.
double deg_to_rad (double x)
 Convert degrees to radians.
double sqr (double x)
 Square of x.
double sqr (std::complex< double > x)
 Square of complex-valued x, ||x||^2.
double rem (double x, double y)
 The reminder of the division x/y.
double sign (double x)
 The sign of x.
double sgn (double x)
 The sign of x.
signed char abs (signed char x)
 Absolute value.
short abs (short x)
 Absolute value.
int abs (int x)
 Absolute value.
double round_to_zero (double x, double threshold=1e-14)
 Round x to zero if abs(x) is smaller than threshold.
bool schur (const mat &A, mat &U, mat &T)
 Schur decomposition of a real matrix.
bool schur (const cmat &A, cmat &U, cmat &T)
 Schur decomposition of a complex matrix.
mat schur (const mat &A)
 Schur decomposition of a real matrix.
cmat schur (const cmat &A)
 Schur decomposition of a complex matrix.
vec xcorr_old (const vec &x, const int max_lag=-1, const std::string scaleopt="none")
 Auto-correlation calculation.
vec xcorr (const vec &x, const int max_lag, const std::string scaleopt)
cvec xcorr (const cvec &x, const int max_lag=-1, const std::string scaleopt="none")
 Cross Correlation.
vec xcorr (const vec &x, const vec &y, const int max_lag, const std::string scaleopt)
cvec xcorr (const cvec &x, const cvec &y, const int max_lag=-1, const std::string scaleopt="none")
 Cross Correlation.
void xcorr (const vec &x, const vec &y, vec &out, const int max_lag, const std::string scaleopt)
void xcorr_old (const vec &x, const vec &y, vec &out, const int max_lag=-1, const std::string scaleopt="none")
 Cross-correlation calculation.
vec xcorr_old (const vec &x, const vec &y, const int max_lag=-1, const std::string scaleopt="none")
 Cross-correlation calculation.
void xcorr (const cvec &x, const cvec &y, cvec &out, const int max_lag=-1, const std::string scaleopt="none", bool autoflag=true)
 Cross Correlation.
mat cov (const mat &X, bool is_zero_mean=false)
 Covariance matrix calculation.
vec spectrum (const vec &v, int nfft=256, int noverlap=0)
 Power spectrum calculation.
vec spectrum (const vec &v, const vec &w, int noverlap=0)
 Power spectrum calculation.
vec filter_spectrum (const vec &a, int nfft=256)
 Power spectrum calculation of a filter.
vec filter_spectrum (const vec &a, const vec &b, int nfft=256)
 Power spectrum calculation of a filter.
template sparse_imat operator+ (const sparse_imat &, const sparse_imat &)
 Template instantiation of operator+.
template sparse_mat operator+ (const sparse_mat &, const sparse_mat &)
 Template instantiation of operator+.
template sparse_cmat operator+ (const sparse_cmat &, const sparse_cmat &)
 Template instantiation of operator+.
template sparse_imat operator * (const sparse_imat &, const sparse_imat &)
 Template instantiation of operator*.
template sparse_mat operator * (const sparse_mat &, const sparse_mat &)
 Template instantiation of operator*.
template sparse_cmat operator * (const sparse_cmat &, const sparse_cmat &)
 Template instantiation of operator*.
template ivec operator * (const ivec &, const sparse_imat &)
 Template instantiation of operator*.
template vec operator * (const vec &, const sparse_mat &)
 Template instantiation of operator*.
template cvec operator * (const cvec &, const sparse_cmat &)
 Template instantiation of operator*.
template ivec operator * (const sparse_imat &, const ivec &)
 Template instantiation of operator*.
template vec operator * (const sparse_mat &, const vec &)
 Template instantiation of operator*.
template cvec operator * (const sparse_cmat &, const cvec &)
 Template instantiation of operator*.
template imat trans_mult (const sparse_imat &)
 Template instantiation of trans_mult.
template mat trans_mult (const sparse_mat &)
 Template instantiation of trans_mult.
template cmat trans_mult (const sparse_cmat &)
 Template instantiation of trans_mult.
template sparse_imat trans_mult_s (const sparse_imat &)
 Template instantiation of trans_mult_s.
template sparse_mat trans_mult_s (const sparse_mat &)
 Template instantiation of trans_mult_s.
template sparse_cmat trans_mult_s (const sparse_cmat &)
 Template instantiation of trans_mult_s.
template sparse_imat trans_mult (const sparse_imat &, const sparse_imat &)
 Template instantiation of trans_mult.
template sparse_mat trans_mult (const sparse_mat &, const sparse_mat &)
 Template instantiation of trans_mult.
template sparse_cmat trans_mult (const sparse_cmat &, const sparse_cmat &)
 Template instantiation of trans_mult.
template ivec trans_mult (const sparse_imat &, const ivec &)
 Template instantiation of trans_mult.
template vec trans_mult (const sparse_mat &, const vec &)
 Template instantiation of trans_mult.
template cvec trans_mult (const sparse_cmat &, const cvec &)
 Template instantiation of trans_mult.
template sparse_imat mult_trans (const sparse_imat &, const sparse_imat &)
 Template instantiation of mult_trans.
template sparse_mat mult_trans (const sparse_mat &, const sparse_mat &)
 Template instantiation of mult_trans.
template sparse_cmat mult_trans (const sparse_cmat &, const sparse_cmat &)
 Template instantiation of mult_trans.
template<class T>
Sparse_Mat< T > operator+ (const Sparse_Mat< T > &m1, const Sparse_Mat< T > &m2)
 Addition m1+m2 where m1 and m2 are sparse matrices.
template<class T>
Sparse_Mat< T > operator * (const T &c, const Sparse_Mat< T > &m)
 Multiplication c*m where c is a scalar and m is a sparse matrix.
template<class T>
Sparse_Mat< T > operator * (const Sparse_Mat< T > &m1, const Sparse_Mat< T > &m2)
 Multiplication m1*m2 where m1 and m2 are sparse matrices.
template<class T>
Sparse_Vec< T > operator * (const Sparse_Mat< T > &m, const Sparse_Vec< T > &v)
 Multiplication m*v where m is a sparse matrix and v is a sparse vector.
template<class T>
Vec< T > operator * (const Sparse_Mat< T > &m, const Vec< T > &v)
 Multiplication m*v where m is a sparse matrix and v is a full column vector.
template<class T>
Vec< T > operator * (const Vec< T > &v, const Sparse_Mat< T > &m)
 Multiplication v'*m where m is a sparse matrix and v is a full column vector.
template<class T>
Mat< T > trans_mult (const Sparse_Mat< T > &m)
 Multiplication m'*m where m is a sparse matrix. Returns a full, dense matrix.
template<class T>
Sparse_Mat< T > trans_mult_s (const Sparse_Mat< T > &m)
 Multiplication m'*m where m is a sparse matrix, Returns a sparse matrix.
template<class T>
Sparse_Mat< T > trans_mult (const Sparse_Mat< T > &m1, const Sparse_Mat< T > &m2)
 Multiplication m1'*m2 where m1 and m2 are sparse matrices.
template<class T>
Vec< T > trans_mult (const Sparse_Mat< T > &m, const Vec< T > &v)
 Multiplication m'*v where m is a sparse matrix and v is a full column vector.
template<class T>
Sparse_Mat< T > mult_trans (const Sparse_Mat< T > &m1, const Sparse_Mat< T > &m2)
 Multiplication m1*m2' where m1 and m2 are sparse matrices.
template<class T>
Sparse_Mat< T > sparse (const Mat< T > &m, T epsilon)
template<class T>
Mat< T > full (const Sparse_Mat< T > &s)
template<class T>
Sparse_Mat< T > transpose (const Sparse_Mat< T > &s)
ivec find (const bvec &invector)
 Return a integer vector with indicies where bvec == 1.
vec impulse (int size)
 Impulse vector.
vec linspace (double from, double to, int length=100)
 Linspace (works in the same way as the matlab version).
imat hadamard (int size)
 A 2^size by 2^size Hadamard matrix.
imat jacobsthal (int p)
 Jacobsthal matrix.
imat conference (int n)
 Conference matrix.
cmat toeplitz (const cvec &c, const cvec &r)
 Computes the Hermitian Toeplitz matrix.
cmat toeplitz (const cvec &c)
 Computes the Hermitian Toeplitz matrix.
mat toeplitz (const vec &c, const vec &r)
 Computes the Hermitian Toeplitz matrix.
mat toeplitz (const vec &c)
 Computes the Hermitian Toeplitz matrix.
mat rotation_matrix (int dim, int plane1, int plane2, double angle)
 Create a rotation matrix that rotates the given plane angle radians. Note that the order of the planes are important!
void house (const vec &x, vec &v, double &beta)
 Calcualte the Householder vector.
void givens (double a, double b, double &c, double &s)
 Calculate the Givens rotation values.
void givens (double a, double b, mat &m)
 Calculate the Givens rotation matrix.
mat givens (double a, double b)
 Calculate the Givens rotation matrix.
void givens_t (double a, double b, mat &m)
 Calculate the transposed Givens rotation matrix.
mat givens_t (double a, double b)
 Calculate the transposed Givens rotation matrix.
template void eye (int, mat &)
 Template instantiation of eye.
template void eye (int, bmat &)
 Template instantiation of eye.
template void eye (int, imat &)
 Template instantiation of eye.
template void eye (int, cmat &)
 Template instantiation of eye.
vec ones (int size)
 A float vector of ones.
bvec ones_b (int size)
 A Binary vector of ones.
ivec ones_i (int size)
 A Int vector of ones.
cvec ones_c (int size)
 A float Complex vector of ones.
mat ones (int rows, int cols)
 A float (rows,cols)-matrix of ones.
bmat ones_b (int rows, int cols)
 A Binary (rows,cols)-matrix of ones.
imat ones_i (int rows, int cols)
 A Int (rows,cols)-matrix of ones.
cmat ones_c (int rows, int cols)
 A Double Complex (rows,cols)-matrix of ones.
vec zeros (int size)
 A Double vector of zeros.
bvec zeros_b (int size)
 A Binary vector of zeros.
ivec zeros_i (int size)
 A Int vector of zeros.
cvec zeros_c (int size)
 A Double Complex vector of zeros.
mat zeros (int rows, int cols)
 A Double (rows,cols)-matrix of zeros.
bmat zeros_b (int rows, int cols)
 A Binary (rows,cols)-matrix of zeros.
imat zeros_i (int rows, int cols)
 A Int (rows,cols)-matrix of zeros.
cmat zeros_c (int rows, int cols)
 A Double Complex (rows,cols)-matrix of zeros.
mat eye (int size)
 A Double (size,size) unit matrix.
bmat eye_b (int size)
 A Binary (size,size) unit matrix.
imat eye_i (int size)
 A Int (size,size) unit matrix.
cmat eye_c (int size)
 A Double Complex (size,size) unit matrix.
template<class T>
void eye (int size, Mat< T > &m)
 A non-copying version of the eye function.
double mean (const vec &v)
 The mean value.
std::complex< double > mean (const cvec &v)
 The mean value.
double mean (const svec &v)
 The mean value.
double mean (const ivec &v)
 The mean value.
double mean (const mat &m)
 The mean value.
std::complex< double > mean (const cmat &m)
 The mean value.
double mean (const smat &m)
 The mean value.
double mean (const imat &m)
double norm (const cvec &v)
 Calculate the 2-norm: norm(v)=sqrt(sum(abs(v).^2)).
double norm (const cvec &v, int p)
 Calculate the p-norm: norm(v,p)=sum(abs(v).^2)^(1/p).
double norm (const cvec &v, const std::string &s)
 Calculate the frobeniuos norm for s = "fro" (equal to 2-norm).
double norm (const mat &m, int p)
double norm (const cmat &m, int p)
double norm (const mat &m, const std::string &s)
 Calculate the frobeniuos norm of a matrix for s = "fro".
double norm (const cmat &m, const std::string &s)
 Calculate the frobeniuos norm of a matrix for s = "fro".
double variance (const cvec &v)
 The variance of the elements in the vector. Normalized with N-1 to be unbiased.
double moment (const vec &x, const int r)
 Calculate the central moment of vector x.
double skewness (const vec &x)
 Calculate the skewness excess of the input vector x.
double kurtosisexcess (const vec &x)
 Calculate the kurtosis excess of the input vector x.
template<class T>
max (const Vec< T > &v)
 Maximum value of vector.
template<class T>
max (const Vec< T > &v, int &index)
 Maximum value of vector, also returns the index position of max value.
template<class T>
Vec< T > max (const Mat< T > &m, int dim=1)
template<class T>
Vec< T > max (const Mat< T > &m, ivec &index, int dim=1)
template<class T>
min (const Vec< T > &in)
 Minimum value of vector.
template<class T>
min (const Vec< T > &in, int &index)
 Minimum value of vector, also returns the index position of min value.
template<class T>
Vec< T > min (const Mat< T > &m, int dim=1)
template<class T>
Vec< T > min (const Mat< T > &m, ivec &index, int dim=1)
template<class T>
int max_index (const Vec< T > &in)
 Return the postion of the maximum element in the vector.
template<class T>
void max_index (const Mat< T > &m, int &row, int &col)
 Return the postion of the maximum element in the matrix.
template<class T>
int min_index (const Vec< T > &in)
 Return the postion of the minimum element in the vector.
template<class T>
void min_index (const Mat< T > &m, int &row, int &col)
 Return the postion of the minimum element in the matrix.
template<class T>
double geometric_mean (const Vec< T > &v)
 The geometric mean value.
template<class T>
double median (const Vec< T > &v)
 The median.
template<class T>
double norm (const Vec< T > &v)
 Calculate the 2-norm: norm(v)=sqrt(sum(abs(v).^2)).
template<class T>
double norm (const Vec< T > &v, int p)
 Calculate the p-norm: norm(v,p)=sum(abs(v).^2)^(1/p).
template<class T>
double norm (const Vec< T > &v, const std::string &s)
 Calculate the frobeniuos norm for s = "fro" (equal to 2-norm).
template<class T>
double variance (const Vec< T > &v)
 The variance of the elements in the vector. Normalized with N-1 to be unbiased.
template<class T>
double energy (const Vec< T > &v)
 Calculate the energy: squared 2-norm. energy(v)=sum(abs(v).^2).
bool within_tolerance (double x, double xref, double tol=1e-14)
 Return true if the input value x is within the tolerance tol of the reference value xref.
bool within_tolerance (std::complex< double > x, std::complex< double > xref, double tol=1e-14)
 Return true if the input value x is within the tolerance tol of the reference value xref.
bool within_tolerance (const vec &x, const vec &xref, double tol=1e-14)
 Return true if the input vector x is elementwise within the tolerance tol of the reference vector xref.
bool within_tolerance (const cvec &x, const cvec &xref, double tol=1e-14)
 Return true if the input vector x is elementwise within the tolerance tol of the reference vector xref.
bool within_tolerance (const mat &X, const mat &Xref, double tol=1e-14)
 Return true if the input matrix X is elementwise within the tolerance tol of the reference matrix Xref.
bool within_tolerance (const cmat &X, const cmat &Xref, double tol=1e-14)
 Return true if the input matrix X is elementwise within the tolerance tol of the reference matrix Xref.
double kurtosis (const vec &x)
 Calculate the kurtosis of the input vector x.
bool svd (const mat &A, vec &S)
 Singular Value Decomposition (SVD).
bool svd (const cmat &A, vec &S)
 Singular Value Decomposition (SVD).
bool svd (const mat &A, mat &U, vec &S, mat &V)
 Singular Value Decomposition (SVD).
bool svd (const cmat &A, cmat &U, vec &S, cmat &V)
 Singular Value Decomposition (SVD).
vec svd (const mat &A)
 Singular Value Decomposition (SVD).
vec svd (const cmat &A)
 Singular Value Decomposition (SVD).
template sparse_ivec operator+ (const sparse_ivec &, const sparse_ivec &)
 Template instantiation of operator+.
template sparse_vec operator+ (const sparse_vec &, const sparse_vec &)
 Template instantiation of operator+.
template sparse_cvec operator+ (const sparse_cvec &, const sparse_cvec &)
 Template instantiation of operator+.
template int operator * (const sparse_ivec &, const sparse_ivec &)
 Template instantiation of operator*.
template double operator * (const sparse_vec &, const sparse_vec &)
 Template instantiation of operator*.
template std::complex< double > operator * (const sparse_cvec &, const sparse_cvec &)
 Template instantiation of operator*.
template int operator * (const sparse_ivec &, const ivec &)
 Template instantiation of operator*.
template double operator * (const sparse_vec &, const vec &)
 Template instantiation of operator*.
template std::complex< double > operator * (const sparse_cvec &, const cvec &)
 Template instantiation of operator*.
template int operator * (const ivec &, const sparse_ivec &)
 Template instantiation of operator*.
template double operator * (const vec &, const sparse_vec &)
 Template instantiation of operator*.
template std::complex< double > operator * (const cvec &, const sparse_cvec &)
 Template instantiation of operator*.
template sparse_ivec elem_mult (const sparse_ivec &, const sparse_ivec &)
 Template instantiation of elem_mult.
template sparse_vec elem_mult (const sparse_vec &, const sparse_vec &)
 Template instantiation of elem_mult.
template sparse_cvec elem_mult (const sparse_cvec &, const sparse_cvec &)
 Template instantiation of elem_mult.
template ivec elem_mult (const sparse_ivec &, const ivec &)
 Template instantiation of elem_mult.
template vec elem_mult (const sparse_vec &, const vec &)
 Template instantiation of elem_mult.
template cvec elem_mult (const sparse_cvec &, const cvec &)
 Template instantiation of elem_mult.
template sparse_ivec elem_mult_s (const sparse_ivec &, const ivec &)
 Template instantiation of elem_mult_s.
template sparse_vec elem_mult_s (const sparse_vec &, const vec &)
 Template instantiation of elem_mult_s.
template sparse_cvec elem_mult_s (const sparse_cvec &, const cvec &)
 Template instantiation of elem_mult_s.
template ivec elem_mult (const ivec &, const sparse_ivec &)
 Template instantiation of elem_mult.
template vec elem_mult (const vec &, const sparse_vec &)
 Template instantiation of elem_mult.
template cvec elem_mult (const cvec &, const sparse_cvec &)
 Template instantiation of elem_mult.
template sparse_ivec elem_mult_s (const ivec &, const sparse_ivec &)
 Template instantiation of elem_mult_s.
template sparse_vec elem_mult_s (const vec &, const sparse_vec &)
 Template instantiation of elem_mult_s.
template sparse_cvec elem_mult_s (const cvec &, const sparse_cvec &)
 Template instantiation of elem_mult_s.
template<class T>
Sparse_Vec< T > operator+ (const Sparse_Vec< T > &v1, const Sparse_Vec< T > &v2)
 Addition v1+v2 where v1 and v2 are sparse vector.
template<class T>
operator * (const Sparse_Vec< T > &v1, const Sparse_Vec< T > &v2)
 Scalar product v1*v2 where v1 and v2 are sparse vectors.
template<class T>
operator * (const Sparse_Vec< T > &v1, const Vec< T > &v2)
 Scalar product v1*v2 where v1 is a sparse vector and v2 is a dense vector.
template<class T>
operator * (const Vec< T > &v1, const Sparse_Vec< T > &v2)
 Scalar product v1*v2 where v1 is a dense vector and v2 is a sparse vector.
template<class T>
Sparse_Vec< T > elem_mult (const Sparse_Vec< T > &v1, const Sparse_Vec< T > &v2)
 Element wise multiplication of two sparse vectors.
template<class T>
Vec< T > elem_mult (const Sparse_Vec< T > &v1, const Vec< T > &v2)
 Element wise multiplication of a sparse vector and a dense vector.
template<class T>
Sparse_Vec< T > elem_mult_s (const Sparse_Vec< T > &v1, const Vec< T > &v2)
 Element wise multiplication of a sparse vector and a dense vector returning a sparse vector.
template<class T>
Vec< T > elem_mult (const Vec< T > &v1, const Sparse_Vec< T > &v2)
 Element wise multiplication of a a dense vector and a sparse vector.
template<class T>
Sparse_Vec< T > elem_mult_s (const Vec< T > &v1, const Sparse_Vec< T > &v2)
 Element wise multiplication of a a dense vector and a sparse vector returning a sparse vector.
template<class T>
Sparse_Vec< T > sparse (const Vec< T > &v)
template<class T>
Sparse_Vec< T > sparse (const Vec< T > &v, T epsilon)
template<class T>
Vec< T > full (const Sparse_Vec< T > &s)
void tic ()
 Reset and start timer.
double toc ()
 Returns the elapsed time since last tic().
void toc_print ()
 Prints the elapsed time since last tic().
void pause (double t=-1)
 pause
void fft (const cvec &in, cvec &out)
 Fast Fourier Transform.
void ifft (const cvec &in, cvec &out)
 Inverse Fast Fourier Transform.
void fft_real (const vec &in, cvec &out)
 Real Fast Fourier Transform.
void ifft_real (const cvec &in, vec &out)
 Inverse Real Fast Fourier Transform. Assumes even size.
void dct (const vec &in, vec &out)
 Discrete Cosine Transform (DCT).
void idct (const vec &in, vec &out)
 Inverse Discrete Cosine Transform (IDCT).
cvec fft (const cvec &in)
 Fast Fourier Transform.
cvec fft (const cvec &in, const int N)
 Fast Fourier Transform, with zero-padding up to size N.
cvec ifft (const cvec &in)
 Inverse Fast Fourier Transform.
cvec ifft (const cvec &in, const int N)
 Inverse Fast Fourier Transform, with zero-padding up to size N.
cvec fft_real (const vec &in)
 Real Fast Fourier Transform.
cvec fft_real (const vec &in, const int N)
 Real Fast Fourier Transform, with zero-padding up to size N.
vec ifft_real (const cvec &in)
 Inverse Real Fast Fourier Transform. Assumes even size.
vec ifft_real (const cvec &in, const int N)
 Inverse Real Fast Fourier Transform, with zero-padding up to size N.
vec dct (const vec &in)
 Discrete Cosine Transform (DCT).
vec idct (const vec &in)
 Inverse Discrete Cosine Transform (IDCT).
template<class T>
Vec< T > dht (const Vec< T > &v)
 Fast Hadamard Transform.
template<class T>
void bitrv (Vec< T > &out)
template<class T>
void dht (const Vec< T > &vin, Vec< T > &vout)
 Fast Hadamard Transform.
template<class T>
void self_dht (Vec< T > &v)
 Fast Hadamard Transform - memory efficient. Stores the result in v.
template<class T>
Vec< T > dwht (const Vec< T > &v)
 Fast Walsh Hadamard Transform.
template<class T>
void dwht (const Vec< T > &vin, Vec< T > &vout)
 Fast Walsh Hadamard Transform.
template<class T>
void self_dwht (Vec< T > &v)
 Fast Walsh Hadamard Transform - memory efficient (result in v).
template<class T>
Mat< T > dht2 (const Mat< T > &m)
 Fast 2D Hadamard Transform.
template<class T>
Mat< T > dwht2 (const Mat< T > &m)
 Fast 2D Walsh Hadamard Transform.
template vec dht (const vec &v)
 Template instantiation of dht.
template cvec dht (const cvec &v)
 Template instantiation of dht.
template void dht (const vec &vin, vec &vout)
 Template instantiation of dht.
template void dht (const cvec &vin, cvec &vout)
 Template instantiation of dht.
template void self_dht (vec &v)
 Template instantiation of self_dht.
template void self_dht (cvec &v)
 Template instantiation of self_dht.
template vec dwht (const vec &v)
 Template instantiation of dwht.
template cvec dwht (const cvec &v)
 Template instantiation of dwht.
template void dwht (const vec &vin, vec &vout)
 Template instantiation of dwht.
template void dwht (const cvec &vin, cvec &vout)
 Template instantiation of dwht.
template void self_dwht (vec &v)
 Template instantiation of self_dwht.
template void self_dwht (cvec &v)
 Template instantiation of self_dwht.
template mat dht2 (const mat &m)
 Template instantiation of dht2.
template cmat dht2 (const cmat &m)
 Template instantiation of dht2.
template mat dwht2 (const mat &m)
 Template instantiation of dht2.
template cmat dwht2 (const cmat &m)
 Template instantiation of dht2.
template<>
double dot (const vec &v1, const vec &v2)
template<>
std::complex< double > dot (const cvec &v1, const cvec &v2)
template const vec operator+ (const vec &v1, const vec &v2)
 Template instantiation of operator+.
template const cvec operator+ (const cvec &v1, const cvec &v2)
 Template instantiation of operator+.
template const ivec operator+ (const ivec &v1, const ivec &v2)
 Template instantiation of operator+.
template const svec operator+ (const svec &v1, const svec &v2)
 Template instantiation of operator+.
template const bvec operator+ (const bvec &v1, const bvec &v2)
 Template instantiation of operator+.
template const vec operator+ (const vec &v1, const double t)
 Template instantiation of operator+.
template const cvec operator+ (const cvec &v1, std::complex< double > t)
 Template instantiation of operator+.
template const ivec operator+ (const ivec &v1, const int t)
 Template instantiation of operator+.
template const svec operator+ (const svec &v1, const short t)
 Template instantiation of operator+.
template const bvec operator+ (const bvec &v1, const bin t)
 Template instantiation of operator+.
template const vec operator+ (const double t, const vec &v1)
 Template instantiation of operator+.
template const cvec operator+ (std::complex< double > t, const cvec &v1)
 Template instantiation of operator+.
template const ivec operator+ (const int t, const ivec &v1)
 Template instantiation of operator+.
template const svec operator+ (const short t, const svec &v1)
 Template instantiation of operator+.
template const bvec operator+ (const bin t, const bvec &v1)
 Template instantiation of operator+.
template const vec operator- (const vec &v1, const vec &v2)
 Template instantiation of operator-.
template const cvec operator- (const cvec &v1, const cvec &v2)
 Template instantiation of operator-.
template const ivec operator- (const ivec &v1, const ivec &v2)
 Template instantiation of operator-.
template const svec operator- (const svec &v1, const svec &v2)
 Template instantiation of operator-.
template const bvec operator- (const bvec &v1, const bvec &v2)
 Template instantiation of operator-.
template const vec operator- (const vec &v, const double t)
 Template instantiation of operator-.
template const cvec operator- (const cvec &v, std::complex< double > t)
 Template instantiation of operator-.
template const ivec operator- (const ivec &v, const int t)
 Template instantiation of operator-.
template const svec operator- (const svec &v, const short t)
 Template instantiation of operator-.
template const bvec operator- (const bvec &v, const bin t)
 Template instantiation of operator-.
template const vec operator- (const double t, const vec &v)
 Template instantiation of operator-.
template const cvec operator- (std::complex< double > t, const cvec &v)
 Template instantiation of operator-.
template const ivec operator- (const int t, const ivec &v)
 Template instantiation of operator-.
template const svec operator- (const short t, const svec &v)
 Template instantiation of operator-.
template const bvec operator- (const bin t, const bvec &v)
 Template instantiation of operator-.
template const vec operator- (const vec &v)
 Template instantiation of operator-.
template const cvec operator- (const cvec &v)
 Template instantiation of operator-.
template const ivec operator- (const ivec &v)
 Template instantiation of operator-.
template const svec operator- (const svec &v)
 Template instantiation of operator-.
template const bvec operator- (const bvec &v)
 Template instantiation of operator-.
template int dot (const ivec &v1, const ivec &v2)
 Template instantiation of dot.
template short dot (const svec &v1, const svec &v2)
 Template instantiation of dot.
template bin dot (const bvec &v1, const bvec &v2)
 Template instantiation of dot.
template int operator * (const ivec &v1, const ivec &v2)
 Template instantiation of operator*.
template short operator * (const svec &v1, const svec &v2)
 Template instantiation of operator*.
template bin operator * (const bvec &v1, const bvec &v2)
 Template instantiation of operator*.
template const mat outer_product (const vec &v1, const vec &v2)
 Template instantiation of outer_product.
template const cmat outer_product (const cvec &v1, const cvec &v2)
 Template instantiation of outer_product.
template const imat outer_product (const ivec &v1, const ivec &v2)
 Template instantiation of outer_product.
template const smat outer_product (const svec &v1, const svec &v2)
 Template instantiation of outer_product.
template const bmat outer_product (const bvec &v1, const bvec &v2)
 Template instantiation of outer_product.
template const vec operator * (const vec &v, const double t)
 Template instantiation of operator*.
template const cvec operator * (const cvec &v, std::complex< double > t)
 Template instantiation of operator*.
template const ivec operator * (const ivec &v, const int t)
 Template instantiation of operator*.
template const svec operator * (const svec &v, const short t)
 Template instantiation of operator*.
template const bvec operator * (const bvec &v, const bin t)
 Template instantiation of operator*.
template const vec operator * (const double t, const vec &v)
 Template instantiation of operator*.
template const cvec operator * (std::complex< double > t, const cvec &v)
 Template instantiation of operator*.
template const ivec operator * (const int t, const ivec &v)
 Template instantiation of operator*.
template const svec operator * (const short t, const svec &v)
 Template instantiation of operator*.
template const bvec operator * (const bin t, const bvec &v)
 Template instantiation of operator*.
template const vec elem_mult (const vec &v1, const vec &v2)
 Template instantiation of elem_mult.
template const cvec elem_mult (const cvec &v1, const cvec &v2)
 Template instantiation of elem_mult.
template const ivec elem_mult (const ivec &v1, const ivec &v2)
 Template instantiation of elem_mult.
template const svec elem_mult (const svec &v1, const svec &v2)
 Template instantiation of elem_mult.
template const bvec elem_mult (const bvec &v1, const bvec &v2)
 Template instantiation of elem_mult.
template const vec elem_mult (const vec &v1, const vec &v2, const vec &v3)
 Template instantiation of elem_mult.
template const cvec elem_mult (const cvec &v1, const cvec &v2, const cvec &v3)
 Template instantiation of elem_mult.
template const ivec elem_mult (const ivec &v1, const ivec &v2, const ivec &v3)
 Template instantiation of elem_mult.
template const svec elem_mult (const svec &v1, const svec &v2, const svec &v3)
 Template instantiation of elem_mult.
template const bvec elem_mult (const bvec &v1, const bvec &v2, const bvec &v3)
 Template instantiation of elem_mult.
template const vec elem_mult (const vec &v1, const vec &v2, const vec &v3, const vec &v4)
 Template instantiation of elem_mult.
template const cvec elem_mult (const cvec &v1, const cvec &v2, const cvec &v3, const cvec &v4)
 Template instantiation of elem_mult.
template const ivec elem_mult (const ivec &v1, const ivec &v2, const ivec &v3, const ivec &v4)
 Template instantiation of elem_mult.
template const svec elem_mult (const svec &v1, const svec &v2, const svec &v3, const svec &v4)
 Template instantiation of elem_mult.
template const bvec elem_mult (const bvec &v1, const bvec &v2, const bvec &v3, const bvec &v4)
 Template instantiation of elem_mult.
template const vec operator/ (const vec &v, const double t)
 Template instantiation of operator/.
template const cvec operator/ (const cvec &v, std::complex< double > t)
 Template instantiation of operator/.
template const ivec operator/ (const ivec &v, const int t)
 Template instantiation of operator/.
template const svec operator/ (const svec &v, const short t)
 Template instantiation of operator/.
template const bvec operator/ (const bvec &v, const bin t)
 Template instantiation of operator/.
template const vec operator/ (const double t, const vec &v)
 Template instantiation of operator/.
template const cvec operator/ (const std::complex< double > t, const cvec &v)
 Template instantiation of operator/.
template const ivec operator/ (const int t, const ivec &v)
 Template instantiation of operator/.
template const svec operator/ (const short t, const svec &v)
 Template instantiation of operator/.
template const bvec operator/ (const bin t, const bvec &v)
 Template instantiation of operator/.
template const vec elem_div (const vec &v1, const vec &v2)
 Template instantiation of elem_div.
template const cvec elem_div (const cvec &v1, const cvec &v2)
 Template instantiation of elem_div.
template const ivec elem_div (const ivec &v1, const ivec &v2)
 Template instantiation of elem_div.
template const svec elem_div (const svec &v1, const svec &v2)
 Template instantiation of elem_div.
template const bvec elem_div (const bvec &v1, const bvec &v2)
 Template instantiation of elem_div.
template const vec elem_div (const double t, const vec &v)
 Template instantiation of elem_div.
template const cvec elem_div (const std::complex< double > t, const cvec &v)
 Template instantiation of elem_div.
template const ivec elem_div (const int t, const ivec &v)
 Template instantiation of elem_div.
template const svec elem_div (const short t, const svec &v)
 Template instantiation of elem_div.
template const bvec elem_div (const bin t, const bvec &v)
 Template instantiation of elem_div.
template const vec concat (const vec &v, const double a)
 Template instantiation of concat.
template const cvec concat (const cvec &v, const std::complex< double > a)
 Template instantiation of concat.
template const ivec concat (const ivec &v, const int a)
 Template instantiation of concat.
template const svec concat (const svec &v, const short a)
 Template instantiation of concat.
template const bvec concat (const bvec &v, const bin a)
 Template instantiation of concat.
template const vec concat (const double a, const vec &v)
 Template instantiation of concat.
template const cvec concat (const std::complex< double > a, const cvec &v)
 Template instantiation of concat.
template const ivec concat (const int a, const ivec &v)
 Template instantiation of concat.
template const svec concat (const short a, const svec &v)
 Template instantiation of concat.
template const bvec concat (const bin a, const bvec &v)
 Template instantiation of concat.
template const vec concat (const vec &v1, const vec &v2)
 Template instantiation of concat.
template const cvec concat (const cvec &v1, const cvec &v2)
 Template instantiation of concat.
template const ivec concat (const ivec &v1, const ivec &v2)
 Template instantiation of concat.
template const svec concat (const svec &v1, const svec &v2)
 Template instantiation of concat.
template const bvec concat (const bvec &v1, const bvec &v2)
 Template instantiation of concat.
template const vec concat (const vec &v1, const vec &v2, const vec &v3)
 Template instantiation of concat.
template const cvec concat (const cvec &v1, const cvec &v2, const cvec &v3)
 Template instantiation of concat.
template const ivec concat (const ivec &v1, const ivec &v2, const ivec &v3)
 Template instantiation of concat.
template const svec concat (const svec &v1, const svec &v2, const svec &v3)
 Template instantiation of concat.
template const bvec concat (const bvec &v1, const bvec &v2, const bvec &v3)
 Template instantiation of concat.
template const vec concat (const vec &v1, const vec &v2, const vec &v3, const vec &v4)
 Template instantiation of concat.
template const cvec concat (const cvec &v1, const cvec &v2, const cvec &v3, const cvec &v4)
 Template instantiation of concat.
template const ivec concat (const ivec &v1, const ivec &v2, const ivec &v3, const ivec &v4)
 Template instantiation of concat.
template const svec concat (const svec &v1, const svec &v2, const svec &v3, const svec &v4)
 Template instantiation of concat.
template const bvec concat (const bvec &v1, const bvec &v2, const bvec &v3, const bvec &v4)
 Template instantiation of concat.
template const vec concat (const vec &v1, const vec &v2, const vec &v3, const vec &v4, const vec &v5)
 Template instantiation of concat.
template const cvec concat (const cvec &v1, const cvec &v2, const cvec &v3, const cvec &v4, const cvec &v5)
 Template instantiation of concat.
template const ivec concat (const ivec &v1, const ivec &v2, const ivec &v3, const ivec &v4, const ivec &v5)
 Template instantiation of concat.
template const svec concat (const svec &v1, const svec &v2, const svec &v3, const svec &v4, const svec &v5)
 Template instantiation of concat.
template const bvec concat (const bvec &v1, const bvec &v2, const bvec &v3, const bvec &v4, const bvec &v5)
 Template instantiation of concat.
template std::ostream & operator<< (std::ostream &os, const vec &vect)
 Template instantiation of output stream.
template std::ostream & operator<< (std::ostream &os, const cvec &vect)
 Template instantiation of output stream.
template std::ostream & operator<< (std::ostream &os, const svec &vect)
 Template instantiation of output stream.
template std::ostream & operator<< (std::ostream &os, const ivec &vect)
 Template instantiation of output stream.
template std::ostream & operator<< (std::ostream &os, const bvec &vect)
 Template instantiation of output stream.
template std::istream & operator>> (std::istream &is, vec &vect)
 Template instantiation of input stream.
template std::istream & operator>> (std::istream &is, cvec &vect)
 Template instantiation of input stream.
template std::istream & operator>> (std::istream &is, svec &vect)
 Template instantiation of input stream.
template std::istream & operator>> (std::istream &is, ivec &vect)
 Template instantiation of input stream.
template std::istream & operator>> (std::istream &is, bvec &vect)
 Template instantiation of input stream.
template<class Num_T>
const Vec< Num_T > operator+ (const Vec< Num_T > &v1, const Vec< Num_T > &v2)
 Addition of two vectors.
template<class Num_T>
const Vec< Num_T > operator+ (const Vec< Num_T > &v, const Num_T t)
 Addition of a vector and a scalar.
template<class Num_T>
const Vec< Num_T > operator+ (const Num_T t, const Vec< Num_T > &v)
 Addition of a scalar and a vector.
template<class Num_T>
const Vec< Num_T > operator- (const Vec< Num_T > &v1, const Vec< Num_T > &v2)
 Subtraction of v2 from v1.
template<class Num_T>
const Vec< Num_T > operator- (const Vec< Num_T > &v, const Num_T t)
 Subtraction of scalar from vector.
template<class Num_T>
const Vec< Num_T > operator- (const Num_T t, const Vec< Num_T > &v)
 Sutraction of vector from scalar.
template<class Num_T>
const Vec< Num_T > operator- (const Vec< Num_T > &v)
 Negation of vector.
template<class Num_T>
Num_T dot (const Vec< Num_T > &v1, const Vec< Num_T > &v2)
 Inner (dot) product.
template<class Num_T>
Num_T operator * (const Vec< Num_T > &v1, const Vec< Num_T > &v2)
 Inner (dot) product.
template<class Num_T>
const Mat< Num_T > outer_product (const Vec< Num_T > &v1, const Vec< Num_T > &v2)
 Outer product of two vectors v1 and v2.
template<class Num_T>
const Vec< Num_T > operator * (const Vec< Num_T > &v, const Num_T t)
 Elementwise multiplication of vector and scalar.
template<class Num_T>
const Vec< Num_T > operator * (const Num_T t, const Vec< Num_T > &v)
 Elementwise multiplication of vector and scalar.
template<class Num_T>
const Vec< Num_T > elem_mult (const Vec< Num_T > &v1, const Vec< Num_T > &v2)
 Elementwise multiplication.
template<class Num_T>
const Vec< Num_T > elem_mult (const Vec< Num_T > &v1, const Vec< Num_T > &v2, const Vec< Num_T > &v3)
 Elementwise multiplication of three vectors.
template<class Num_T>
const Vec< Num_T > elem_mult (const Vec< Num_T > &v1, const Vec< Num_T > &v2, const Vec< Num_T > &v3, const Vec< Num_T > &v4)
 Elementwise multiplication of four vectors.
template<class Num_T>
const Vec< Num_T > operator/ (const Vec< Num_T > &v, const Num_T t)
 Elementwise division.
template<class Num_T>
const Vec< Num_T > operator/ (const Num_T t, const Vec< Num_T > &v)
 Elementwise division.
template<class Num_T>
const Vec< Num_T > elem_div (const Vec< Num_T > &v1, const Vec< Num_T > &v2)
 Elementwise division.
template<class Num_T>
const Vec< Num_T > elem_div (const Num_T t, const Vec< Num_T > &v)
 Elementwise division.
template<class Num_T>
const Vec< Num_T > concat (const Vec< Num_T > &v, const Num_T a)
 Append element a to the end of the vector v.
template<class Num_T>
const Vec< Num_T > concat (const Num_T a, const Vec< Num_T > &v)
 Concat element a to the beginning of the vector v.
template<class Num_T>
const Vec< Num_T > concat (const Vec< Num_T > &v1, const Vec< Num_T > &v2)
 Concat vectors v1 and v2.
template<class Num_T>
const Vec< Num_T > concat (const Vec< Num_T > &v1, const Vec< Num_T > &v2, const Vec< Num_T > &v3)
 Concat vectors v1, v2 and v3.
template<class Num_T>
const Vec< Num_T > concat (const Vec< Num_T > &v1, const Vec< Num_T > &v2, const Vec< Num_T > &v3, const Vec< Num_T > &v4)
 Concat vectors v1, v2, v3 and v4.
template<class Num_T>
const Vec< Num_T > concat (const Vec< Num_T > &v1, const Vec< Num_T > &v2, const Vec< Num_T > &v3, const Vec< Num_T > &v4, const Vec< Num_T > &v5)
 Concat vectors v1, v2 v3, v4 and v5.
template<class Num_T>
std::ostream & operator<< (std::ostream &os, const Vec< Num_T > &v)
template<class Num_T>
std::istream & operator>> (std::istream &is, Vec< Num_T > &v)
vec hamming (int size)
 Hamming window.
vec hanning (int n)
 Hanning window.
vec hann (int n)
 Hanning window compatible with matlab.
vec blackman (int n)
 Blackman window.
vec triang (int n)
 Triangular window.
vec sqrt_win (int n)
 Square root window.
vec jake_filter (double NormFDopp, int order=100)
 Jakes spectrum filter.
bmat graycode (int m)
 Generate gray code of blocklength m.
int hamming_distance (const bvec &a, const bvec &b)
 Calculate the Hamming distance between a and b.
int weight (const bvec &a)
 Calculate the Hamming weight of a.
int reverse_int (int length, int in)
int weight_int (int length, int in)
int compare_spectra (ivec v1, ivec v2)
int compare_spectra (ivec v1, ivec v2, vec weight_profile)
std::ostream & operator<< (std::ostream &os, const GF &ingf)
 Output stream for GF(q).
std::ostream & operator<< (std::ostream &os, const GFX &ingfx)
 Output stream.
GFX divgfx (const GFX &c, const GFX &g)
 Division of two GFX (local help function).
GFX modgfx (const GFX &a, const GFX &b)
 Modulo function of two GFX (local help function).
GFX operator * (const GF &ingf, const GFX &ingfx)
 Multiply a GF element with a GF(q)[x].
GFX operator * (const GFX &ingfx, const GF &ingf)
 Multiply a GF(q)[x] with a GF element.
GFX operator/ (const GFX &ingfx, const GF &ingf)
 Divide a GF(q)[x] with a GF element.
std::ostream & operator<< (std::ostream &os, const LLR_calc_unit &lcu)
std::ostream & operator<< (std::ostream &os, const Modulator_NRD &mod)
std::ostream & operator<< (std::ostream &os, const Modulator_NCD &mod)
double com_logmap (double x, double y)
 Branc metric calculation function for MAP decoding in the log-domain.
double com_logmax (double x, double y)
 Branc metric calculation function for MAP decoding in the log-domain using a MAX approximation (default).
GFX formal_derivate (const GFX &f)
 Local help function.
smat wcdma_spreading_codes (int SF)
 Generates the OVSF (orthogonal variable spreading factor) spreading codes used in WCDMA.
ivec wcdma_turbo_interleaver_sequence (int interleaver_size)
int assert_shifts (const CFix &x, const CFix &y)
int assert_shifts (const CFix &x, const Fix &y)
int assert_shifts (const CFix &x, int y)
std::istream & operator>> (std::istream &is, CFix &x)
 Input bit representation and, optionally, the shift.
std::ostream & operator<< (std::ostream &os, const CFix &x)
 Output bit representation and, optionally, the shift.
int assert_shifts (const Fix &x, const Fix &y)
int assert_shifts (const Fix &x, int y)
std::istream & operator>> (std::istream &is, Fix &x)
 Input bit representation and, optionally, the shift.
std::ostream & operator<< (std::ostream &os, const Fix &x)
 Output bit representation and, optionally, the shift.
std::ostream & operator<< (std::ostream &os, const output_mode &o)
 Set output mode.
template<>
void create_elements< Fix > (Fix *&ptr, const int n, const Factory &f)
 Create an n-length array of Fix using Fix_Factory f.
template<>
void create_elements< CFix > (CFix *&ptr, const int n, const Factory &f)
 Create an n-length array of CFix using Fix_Factory f.
vec to_vec (const fixvec &v)
 Converts a fixvec to vec.
cvec to_cvec (const cfixvec &v)
 Converts a cfixvec to cvec.
mat to_mat (const fixmat &m)
 Converts a fixmat to mat.
cmat to_cmat (const cfixmat &m)
 Converts a cfixmat to cmat.
Fix abs (const Fix &x)
 Absolute value.
Fix real (const CFix &x)
 Real part of complex value.
Fix imag (const CFix &x)
 Imaginary part of complex value.
CFix conj (const CFix &x)
 Conjugate of complex value.
template<class T>
bool is_fix (const T &x)
 Return true only if argument is of type Fix or CFix (or an Array/Vec/Mat of Fix or CFix).
template<>
bool is_fix (const Fix &x)
 Return true only if argument is of type Fix or CFix (or an Array/Vec/Mat of Fix or CFix).
template<>
bool is_fix (const fixvec &x)
 Return true only if argument is of type Fix or CFix (or an Array/Vec/Mat of Fix or CFix).
template<>
bool is_fix (const fixmat &x)
 Return true only if argument is of type Fix or CFix (or an Array/Vec/Mat of Fix or CFix).
template<>
bool is_fix (const CFix &x)
 Return true only if argument is of type Fix or CFix (or an Array/Vec/Mat of Fix or CFix).
template<>
bool is_fix (const cfixvec &x)
 Return true only if argument is of type Fix or CFix (or an Array/Vec/Mat of Fix or CFix).
template<>
bool is_fix (const cfixmat &x)
 Return true only if argument is of type Fix or CFix (or an Array/Vec/Mat of Fix or CFix).
template<class T>
bool is_fix (const Array< T > &x)
 Return true only if argument is of type Fix or CFix (or an Array/Vec/Mat of Fix or CFix).
void set_fix (Fix &y, double x, int n)
 Set y = x * pow2(n) using the quantization mode of y.
void set_fix (Fix &y, double x, int n, q_mode q)
 Set y = x * pow2(n) using the specified quantization mode q.
void set_fix (fixvec &y, const vec &x, int n)
 Set y = x * pow2(n) using the quantization mode of y.
void set_fix (fixvec &y, const vec &x, int n, q_mode q)
 Set y = x * pow2(n) using the specified quantization mode q.
void set_fix (fixmat &y, const mat &x, int n)
 Set y = x * pow2(n) using the quantization mode of y.
void set_fix (fixmat &y, const mat &x, int n, q_mode q)
 Set y = x * pow2(n) using the specified quantization mode q.
void set_fix (double &y, double x, int n)
 Set y = x. Useful in templated code.
void set_fix (double &y, double x, int n, q_mode q)
 Set y = x. Useful in templated code.
void set_fix (vec &y, const vec &x, int n)
 Set y = x. Useful in templated code.
void set_fix (vec &y, const vec &x, int n, q_mode q)
 Set y = x. Useful in templated code.
void set_fix (mat &y, const mat &x, int n)
 Set y = x. Useful in templated code.
void set_fix (mat &y, const mat &x, int n, q_mode q)
 Set y = x. Useful in templated code.
void set_fix (CFix &y, complex< double > x, int n)
 Set y = x * pow2(n) using the quantization mode of y.
void set_fix (CFix &y, double real, double imag, int n)
 Set y = (real + i*imag) * pow2(n) using the quantization mode of y.
void set_fix (CFix &y, complex< double > x, int n, q_mode q)
 Set y = x * pow2(n) using the specified quantization mode q.
void set_fix (CFix &y, double real, double imag, int n, q_mode q)
 Set y = (real + i*imag) * pow2(n) using the specified quantization mode q.
void set_fix (cfixvec &y, const cvec &x, int n)
 Set y = x * pow2(n) using the quantization mode of y.
void set_fix (cfixvec &y, const vec &real, const vec &imag, int n)
 Set y = (real + i*imag) * pow2(n) using the quantization mode of y.
void set_fix (cfixvec &y, const cvec &x, int n, q_mode q)
 Set y = x * pow2(n) using the specified quantization mode q.
void set_fix (cfixvec &y, const vec &real, const vec &imag, int n, q_mode q)
 Set y = (real + i*imag) * pow2(n) using the specified quantization mode q.
void set_fix (cfixmat &y, const cmat &x, int n)
 Set y = x * pow2(n) using the quantization mode of y.
void set_fix (cfixmat &y, const mat &real, const mat &imag, int n)
 Set y = (real + i*imag) * pow2(n) using the quantization mode of y.
void set_fix (cfixmat &y, const cmat &x, int n, q_mode q)
 Set y = x * pow2(n) using the specified quantization mode q.
void set_fix (cfixmat &y, const mat &real, const mat &imag, int n, q_mode q)
 Set y = (real + i*imag) * pow2(n) using the specified quantization mode q.
void set_fix (complex< double > &y, const complex< double > &x, int n)
 Set y = x. Useful in templated code.
void set_fix (complex< double > &y, double real, double imag, int n)
 Set y = real + i*imag. Useful in templated code.
void set_fix (complex< double > &y, const complex< double > &x, int n, q_mode q)
 Set y = x. Useful in templated code.
void set_fix (complex< double > &y, double real, double imag, int n, q_mode q)
 Set y = real + i*imag. Useful in templated code.
void set_fix (cvec &y, const cvec &x, int n)
 Set y = x. Useful in templated code.
void set_fix (cvec &y, const vec &real, const vec &imag, int n)
 Set y = real + i*imag. Useful in templated code.
void set_fix (cvec &y, const cvec &x, int n, q_mode q)
 Set y = x. Useful in templated code.
void set_fix (cvec &y, const vec &real, const vec &imag, int n, q_mode q)
 Set y = real + i*imag. Useful in templated code.
void set_fix (cmat &y, const cmat &x, int n)
 Set y = x. Useful in templated code.
void set_fix (cmat &y, const mat &real, const mat &imag, int n)
 Set y = real + i*imag. Useful in templated code.
void set_fix (cmat &y, const cmat &x, int n, q_mode q)
 Set y = x. Useful in templated code.
void set_fix (cmat &y, const mat &real, const mat &imag, int n, q_mode q)
 Set y = real + i*imag. Useful in templated code.
template<class T1, class T2>
void set_fix (Array< T1 > &y, const Array< T2 > &x, int n)
 Call set_fix for each Array element.
template<class T1, class T2>
void set_fix (Array< T1 > &y, const Array< T2 > &real, const Array< T2 > &imag, int n)
 Call set_fix for each Array element.
template<class T1, class T2>
void set_fix (Array< T1 > &y, const Array< T2 > &x, int n, q_mode q)
 Call set_fix for each Array element.
template<class T1, class T2>
void set_fix (Array< T1 > &y, const Array< T2 > &real, const Array< T2 > &imag, int n, q_mode q)
 Call set_fix for each Array element.
void lshift_fix (Fix &y, int n)
 Left shift n bits.
void rshift_fix (Fix &y, int n)
 Right shift n bits using the quantization mode of y.
void rshift_fix (Fix &y, int n, q_mode q)
 Right shift n bits using the specified quantization mode q.
void lshift_fix (fixvec &y, int n)
 Left shift n bits.
void rshift_fix (fixvec &y, int n)
 Right shift n bits using the quantization mode of y.
void rshift_fix (fixvec &y, int n, q_mode q)
 Right shift n bits using the specified quantization mode q.
void lshift_fix (fixmat &y, int n)
 Left shift n bits.
void rshift_fix (fixmat &y, int n)
 Right shift n bits using the quantization mode of y.
void rshift_fix (fixmat &y, int n, q_mode q)
 Right shift n bits using the specified quantization mode q.
void lshift_fix (double &y, int n)
 Dummy function useful in templated code.
void rshift_fix (double &y, int n)
 Dummy function useful in templated code.
void rshift_fix (double &y, int n, q_mode q)
 Dummy function useful in templated code.
void lshift_fix (vec &y, int n)
 Dummy function useful in templated code.
void rshift_fix (vec &y, int n)
 Dummy function useful in templated code.
void rshift_fix (vec &y, int n, q_mode q)
 Dummy function useful in templated code.
void lshift_fix (mat &y, int n)
 Dummy function useful in templated code.
void rshift_fix (mat &y, int n)
 Dummy function useful in templated code.
void rshift_fix (mat &y, int n, q_mode q)
 Dummy function useful in templated code.
void lshift_fix (CFix &y, int n)
 Left shift n bits.
void rshift_fix (CFix &y, int n)
 Right shift n bits using the quantization mode of y.
void rshift_fix (CFix &y, int n, q_mode q)
 Right shift n bits using the specified quantization mode q.
void lshift_fix (cfixvec &y, int n)
 Left shift n bits.
void rshift_fix (cfixvec &y, int n)
 Right shift n bits using the quantization mode of y.
void rshift_fix (cfixvec &y, int n, q_mode q)
 Right shift n bits using the specified quantization mode q.
void lshift_fix (cfixmat &y, int n)
 Left shift n bits.
void rshift_fix (cfixmat &y, int n)
 Right shift n bits using the quantization mode of y.
void rshift_fix (cfixmat &y, int n, q_mode q)
 Right shift n bits using the specified quantization mode q.
void lshift_fix (complex< double > &y, int n)
 Dummy function useful in templated code.
void rshift_fix (complex< double > &y, int n)
 Dummy function useful in templated code.
void rshift_fix (complex< double > &y, int n, q_mode q)
 Dummy function useful in templated code.
void lshift_fix (cvec &y, int n)
 Dummy function useful in templated code.
void rshift_fix (cvec &y, int n)
 Dummy function useful in templated code.
void rshift_fix (cvec &y, int n, q_mode q)
 Dummy function useful in templated code.
void lshift_fix (cmat &y, int n)
 Dummy function useful in templated code.
void rshift_fix (cmat &y, int n)
 Dummy function useful in templated code.
void rshift_fix (cmat &y, int n, q_mode q)
 Dummy function useful in templated code.
template<class T>
void lshift_fix (Array< T > &y, int n)
 Call lshift_fix for each Array element.
template<class T>
void rshift_fix (Array< T > &y, int n)
 Call rshift_fix for each Array element.
template<class T>
void rshift_fix (Array< T > &y, int n, q_mode q)
 Call rshift_fix for each Array element.
void assert_fixshift (const double x, const int shift)
 If x is a fixed-point variable, assert that x has the specified shift value, otherwise do nothing.
void assert_fixshift (const complex< double > &x, const int shift)
 If x is a fixed-point variable, assert that x has the specified shift value, otherwise do nothing.
void assert_fixshift (const Fix &x, const int shift)
 If x is a fixed-point variable, assert that x has the specified shift value, otherwise do nothing.
void assert_fixshift (const CFix &x, const int shift)
 If x is a fixed-point variable, assert that x has the specified shift value, otherwise do nothing.
template<class T>
to (const double x)
 Convert double to T.
template<class T>
to (const Fix &x)
 Convert Fix to T.
template<class T>
to (const complex< double > &x)
 Convert complex<double> to T.
template<class T>
to (const CFix &x)
 Convert CFix to T.
template<class T>
to (const double real, const double imag)
 Convert double (real and imaginary parts) to T.
template<class T>
to (const Fix &real, const Fix &imag)
 Convert Fix (real and imaginary parts) to T.
template<class T, class U>
Vec< T > to (const Vec< U > &x)
 Convert Vec<U> to Vec<T>.
template<>
vec to< double > (const vec &x)
 Convert vec to vec.
template<>
cvec to< complex< double > > (const cvec &x)
 Convert cvec to cvec.
template<>
fixvec to< Fix > (const fixvec &x)
 Convert fixvec to fixvec.
template<>
cfixvec to< CFix > (const cfixvec &x)
 Convert cfixvec to cfixvec.
template<class T, class U>
Vec< T > to (const Vec< U > &real, const Vec< U > &imag)
 Convert Vec<U> (real and imaginary parts) to Vec<T>.
template<class T, class U>
Mat< T > to (const Mat< U > &x)
 Convert Mat<U> to Mat<T>.
template<>
mat to< double > (const mat &x)
 Convert mat to mat.
template<>
cmat to< complex< double > > (const cmat &x)
 Convert cmat to cmat.
template<>
fixmat to< Fix > (const fixmat &x)
 Convert fixmat to fixmat.
template<>
cfixmat to< CFix > (const cfixmat &x)
 Convert cfixmat to cfixmat.
template<class T, class U>
Mat< T > to (const Mat< U > &real, const Mat< U > &imag)
 Convert Mat<U> (real and imaginary parts) to Mat<T>.
template<class T, class U>
Array< typename ConvertU2T<
T, U >::result > 
to (const Array< U > &x)
 Convert Array<U>, where U can be an Array/Vec/Mat, to a corresponding Array with T elements.
template<class T, class U>
Array< typename ConvertU2T<
T, U >::result > 
to (const Array< U > &real, const Array< U > &imag)
 Convert Array<U> (real and imaginary parts), where U can be an Array/Vec/Mat, to a corresponding Array with T elements.
double unfix (const Fix &x)
 Convert Fix to double by multiplying the bit representation with pow2(-shift).
complex< double > unfix (const CFix &x)
 Convert CFix to complex<double> by multiplying the bit representation with pow2(-shift).
vec unfix (const fixvec &x)
 Convert fixvec to vec by multiplying the bit representations with pow2(-shift).
cvec unfix (const cfixvec &x)
 Convert cfixvec to cvec by multiplying the bit representations with pow2(-shift).
mat unfix (const fixmat &x)
 Convert fixmat to mat by multiplying the bit representations with pow2(-shift).
cmat unfix (const cfixmat &x)
 Convert cfixmat to cmat by multiplying the bit representations with pow2(-shift).
double unfix (const double &x)
 Convert double to double i.e. do nothing.
complex< double > unfix (const complex< double > &x)
 Convert complex<double> to complex<double> i.e. do nothing.
vec unfix (const vec &x)
 Convert vec to vec i.e. do nothing.
cvec unfix (const cvec &x)
 Convert cvec to cvec i.e. do nothing.
mat unfix (const mat &x)
 Convert mat to mat i.e. do nothing.
cmat unfix (const cmat &x)
 Convert cmat to cmat i.e. do nothing.
template<class T>
Array< typename Convert< T
>::to_double > 
unfix (const Array< T > &x)
 Convert floating- or fixed-point Array to floating-point Array.
Fix operator+ (const Fix &x, const Fix &y)
 Fix + Fix.
Fix operator- (const Fix &x, const Fix &y)
 Fix - Fix.
Fix operator * (const Fix &x, const Fix &y)
 Fix * Fix.
Fix operator/ (const Fix &x, const Fix &y)
 Fix / Fix using quantization mode TRN.
Fix operator+ (const Fix &x, const int y)
 Fix + int.
Fix operator- (const Fix &x, const int y)
 Fix - int.
Fix operator * (const Fix &x, const int y)
 Fix * int.
Fix operator/ (const Fix &x, const int y)
 Fix / int using quantization mode TRN.
Fix operator+ (const int x, const Fix &y)
 int + Fix
Fix operator- (const int x, const Fix &y)
 int - Fix
Fix operator * (const int x, const Fix &y)
 int * Fix
Fix operator/ (const int x, const Fix &y)
 int / Fix using quantization mode TRN
fixvec operator+ (const fixvec &a, const ivec &b)
 fixvec + ivec
Fix operator * (const fixvec &a, const ivec &b)
 fixvec * ivec
fixmat operator+ (const fixmat &a, const imat &b)
 fixmat + imat
fixmat operator * (const fixmat &a, const imat &b)
 fixmat * imat
CFix operator+ (const CFix &x, const CFix &y)
 CFix + CFix.
CFix operator- (const CFix &x, const CFix &y)
 CFix - CFix.
CFix operator * (const CFix &x, const CFix &y)
 CFix * CFix.
CFix operator/ (const CFix &x, const CFix &y)
 CFix / CFix using quantization mode TRN.
CFix operator+ (const CFix &x, const Fix &y)
 CFix + Fix.
CFix operator- (const CFix &x, const Fix &y)
 CFix - Fix.
CFix operator * (const CFix &x, const Fix &y)
 CFix * Fix.
CFix operator/ (const CFix &x, const Fix &y)
 CFix / Fix using quantization mode TRN.
CFix operator+ (const Fix &x, const CFix &y)
 Fix + CFix.
CFix operator- (const Fix &x, const CFix &y)
 Fix - CFix.
CFix operator * (const Fix &x, const CFix &y)
 Fix * CFix.
CFix operator/ (const Fix &x, const CFix &y)
 Fix / CFix using quantization mode TRN.
CFix operator+ (const CFix &x, const int y)
 CFix + int.
CFix operator- (const CFix &x, const int y)
 CFix - int.
CFix operator * (const CFix &x, const int y)
 CFix * int.
CFix operator/ (const CFix &x, const int y)
 CFix / int using quantization mode TRN.
CFix operator+ (const int x, const CFix &y)
 int + CFix
CFix operator- (const int x, const CFix &y)
 int - CFix
CFix operator * (const int x, const CFix &y)
 int * CFix
CFix operator/ (const int x, const CFix &y)
 int / CFix using quantization mode TRN
cfixvec operator+ (const cfixvec &a, const fixvec &b)
 cfixvec + fixvec
CFix operator * (const cfixvec &a, const fixvec &b)
 cfixvec * fixvec
cfixmat operator+ (const cfixmat &a, const fixmat &b)
 cfixmat + fixmat
cfixmat operator * (const cfixmat &a, const fixmat &b)
 cfixmat * fixmat
cfixvec operator+ (const cfixvec &a, const ivec &b)
 cfixvec + ivec
CFix operator * (const cfixvec &a, const ivec &b)
 cfixvec * ivec
cfixmat operator+ (const cfixmat &a, const imat &b)
 cfixmat + imat
cfixmat operator * (const cfixmat &a, const imat &b)
 cfixmat * imat
fixvec operator+ (const fixvec &v, const int s)
 fixvec + int
fixvec operator+ (const int s, const fixvec &v)
 int + fixvec
fixvec operator- (const fixvec &v, const int s)
 fixvec - int
fixvec operator- (const int s, const fixvec &v)
 int - fixvec
fixvec operator * (const fixvec &v, const int s)
 fixvec * int
fixvec operator * (const int s, const fixvec &v)
 int * fixvec
fixvec operator/ (const fixvec &v, const int s)
 fixvec / int using quantization mode TRN
fixmat operator+ (const fixmat &v, const int s)
 fixmat + int
fixmat operator+ (const int s, const fixmat &v)
 int + fixmat
fixmat operator- (const fixmat &v, const int s)
 fixmat - int
fixmat operator- (const int s, const fixmat &v)
 int - fixmat
fixmat operator * (const fixmat &v, const int s)
 fixmat * int
fixmat operator * (const int s, const fixmat &v)
 int * fixmat
fixmat operator/ (const fixmat &v, const int s)
 fixmat / int using quantization mode TRN
fixvec operator+ (const ivec &a, const fixvec &b)
 ivec + fixvec
fixvec operator- (const fixvec &a, const ivec &b)
 fixvec - ivec
fixvec operator- (const ivec &a, const fixvec &b)
 ivec - fixvec
Fix operator * (const ivec &a, const fixvec &b)
 ivec * fixvec
fixmat operator+ (const imat &a, const fixmat &b)
 imat + fixmat
fixmat operator- (const fixmat &a, const imat &b)
 fixmat - imat
fixmat operator- (const imat &a, const fixmat &b)
 imat - fixmat
fixmat operator * (const imat &a, const fixmat &b)
 imat * fixmat
cfixvec operator+ (const fixvec &v, const CFix &s)
 fixvec + CFix
cfixvec operator+ (const CFix &s, const fixvec &v)
 CFix + fixvec.
cfixvec operator- (const fixvec &v, const CFix &s)
 fixvec - CFix
cfixvec operator- (const CFix &s, const fixvec &v)
 CFix - fixvec.
cfixvec operator * (const fixvec &v, const CFix &s)
 fixvec * CFix
cfixvec operator * (const CFix &s, const fixvec &v)
 CFix * fixvec.
cfixvec operator/ (const fixvec &v, const CFix &s)
 fixvec / CFix using quantization mode TRN
cfixmat operator+ (const fixmat &m, const CFix &s)
 fixmat + CFix
cfixmat operator+ (const CFix &s, const fixmat &m)
 CFix + fixmat.
cfixmat operator- (const fixmat &m, const CFix &s)
 fixmat - CFix
cfixmat operator- (const CFix &s, const fixmat &m)
 CFix - fixmat.
cfixmat operator * (const fixmat &m, const CFix &s)
 fixmat * CFix
cfixmat operator * (const CFix &s, const fixmat &m)
 CFix * fixmat.
cfixmat operator/ (const fixmat &m, const CFix &s)
 fixmat / CFix using quantization mode TRN
cfixvec operator+ (const ivec &v, const CFix &s)
 ivec + CFix
cfixvec operator+ (const CFix &s, const ivec &v)
 CFix + ivec.
cfixvec operator- (const ivec &v, const CFix &s)
 ivec - CFix
cfixvec operator- (const CFix &s, const ivec &v)
 CFix - ivec.
cfixvec operator * (const ivec &v, const CFix &s)
 ivec * CFix
cfixvec operator * (const CFix &s, const ivec &v)
 CFix * ivec.
cfixvec operator/ (const ivec &v, const CFix &s)
 ivec / CFix using quantization mode TRN
cfixmat operator+ (const imat &m, const CFix &s)
 imat + CFix
cfixmat operator+ (const CFix &s, const imat &m)
 CFix + imat.
cfixmat operator- (const imat &m, const CFix &s)
 imat - CFix
cfixmat operator- (const CFix &s, const imat &m)
 CFix - imat.
cfixmat operator * (const imat &m, const CFix &s)
 imat * CFix
cfixmat operator * (const CFix &s, const imat &m)
 CFix * imat.
cfixmat operator/ (const imat &m, const CFix &s)
 imat / CFix using quantization mode TRN
cfixvec operator+ (const cfixvec &v, const Fix &s)
 cfixvec + Fix
cfixvec operator+ (const Fix &s, const cfixvec &v)
 Fix + cfixvec.
cfixvec operator- (const cfixvec &v, const Fix &s)
 cfixvec - Fix
cfixvec operator- (const Fix &s, const cfixvec &v)
 Fix - cfixvec.
cfixvec operator * (const cfixvec &v, const Fix &s)
 cfixvec * Fix
cfixvec operator * (const Fix &s, const cfixvec &v)
 Fix * cfixvec.
cfixvec operator/ (const cfixvec &v, const Fix &s)
 cfixvec / Fix using quantization mode TRN
cfixmat operator+ (const cfixmat &m, const Fix &s)
 cfixmat + Fix
cfixmat operator+ (const Fix &s, const cfixmat &m)
 Fix + cfixmat.
cfixmat operator- (const cfixmat &m, const Fix &s)
 cfixmat - Fix
cfixmat operator- (const Fix &s, const cfixmat &m)
 Fix - cfixmat.
cfixmat operator * (const cfixmat &m, const Fix &s)
 cfixmat * Fix
cfixmat operator * (const Fix &s, const cfixmat &m)
 Fix * cfixmat.
cfixmat operator/ (const cfixmat &m, const Fix &s)
 cfixmat / Fix using quantization mode TRN
cfixvec operator+ (const cfixvec &v, const int s)
 cfixvec + int
cfixvec operator+ (const int s, const cfixvec &v)
 int + cfixvec
cfixvec operator- (const cfixvec &v, const int s)
 cfixvec - int
cfixvec operator- (const int s, const cfixvec &v)
 int - cfixvec
cfixvec operator * (const cfixvec &v, const int s)
 cfixvec * int
cfixvec operator * (const int s, const cfixvec &v)
 int * cfixvec
cfixvec operator/ (const cfixvec &v, const int s)
 cfixvec / int using quantization mode TRN
cfixmat operator+ (const cfixmat &m, const int s)
 cfixmat + int
cfixmat operator+ (const int s, const cfixmat &m)
 int + cfixmat
cfixmat operator- (const cfixmat &m, const int s)
 cfixmat - int
cfixmat operator- (const int s, const cfixmat &m)
 int - cfixmat
cfixmat operator * (const cfixmat &m, const int s)
 cfixmat * int
cfixmat operator * (const int s, const cfixmat &m)
 int * cfixmat
cfixmat operator/ (const cfixmat &m, const int s)
 cfixmat / int using quantization mode TRN
cfixvec operator+ (const fixvec &a, const cfixvec &b)
 fixvec + cfixvec
cfixvec operator- (const cfixvec &a, const fixvec &b)
 cfixvec - fixvec
cfixvec operator- (const fixvec &a, const cfixvec &b)
 fixvec - cfixvec
CFix operator * (const fixvec &a, const cfixvec &b)
 fixvec * cfixvec
cfixmat operator+ (const fixmat &a, const cfixmat &b)
 fixmat + cfixmat
cfixmat operator- (const cfixmat &a, const fixmat &b)
 cfixmat - fixmat
cfixmat operator- (const fixmat &a, const cfixmat &b)
 fixmat - cfixmat
cfixmat operator * (const fixmat &a, const cfixmat &b)
 fixmat * cfixmat
cfixvec operator+ (const ivec &a, const cfixvec &b)
 ivec + cfixvec
cfixvec operator- (const cfixvec &a, const ivec &b)
 cfixvec - ivec
cfixvec operator- (const ivec &a, const cfixvec &b)
 ivec - cfixvec
CFix operator * (const ivec &a, const cfixvec &b)
 ivec * cfixvec
cfixmat operator+ (const imat &a, const cfixmat &b)
 imat + cfixmat
cfixmat operator- (const cfixmat &a, const imat &b)
 cfixmat - imat
cfixmat operator- (const imat &a, const cfixmat &b)
 imat - cfixmat
cfixmat operator * (const imat &a, const cfixmat &b)
 imat * cfixmat
bool in_sequence (const int a, const int b, const int L)
int min (int opd1, int opd2)
int max (int opd1, int opd2)
double round (const double value, const double granularity)
std::ostream & operator<< (std::ostream &os, const TCP_Segment &segment)
std::ostream & operator<< (std::ostream &out, TCP_Packet &msg)
const Sequence_Numbermin (const Sequence_Number &n1, const Sequence_Number &n2)
const Sequence_Numbermax (const Sequence_Number &n1, const Sequence_Number &n2)
bool raw16le_read (const char *fname, vec &v)
 Read raw 16-bin little endian audio data.
bool raw16le_read (const char *fname, vec &v, int beg, int len)
 Read raw 16-bin little endian audio data.
bool raw16le_write (const char *fname, const vec &v, bool append=false)
 Write raw 16-bin little endian audio data.
bool raw16be_read (const char *fname, vec &v)
 Read raw 16-bin big endian audio data.
bool raw16be_read (const char *fname, vec &v, int beg, int len)
 Read raw 16-bin big endian audio data.
bool raw16be_write (const char *fname, const vec &v, bool append=false)
 Write raw 16-bin big endian audio data.
bool snd_read (const char *fname, vec &v)
 Read SND audio data.
bool snd_read (const char *fname, vec &v, int beg, int len)
 Read SND audio data.
bool snd_write (const char *fname, const vec &v, int rate=8000, SND_Format::data_encoding e=SND_Format::enc_linear16)
 Write SND audio data.
GMM gmmtrain (Array< vec > &TrainingData, int M, int NOITER, bool VERBOSE)
vec ac2rc (const vec &ac)
 ac2rc - Autocorrelation sequence to reflection coefficients conversion.
vec ac2poly (const vec &ac)
 ac2poly - Autocorrelation sequence to prediction polynomial conversion.
vec is2rc (const vec &is)
 is2rc - Inverse sine parameters to reflection coefficients conversion.
vec rc2ac (const vec &rc)
 rc2ac - Reflection coefficients to autocorrelation sequence conversion.
vec rc2is (const vec &rc)
 rc2is - Reflection coefficients to inverse sine parameters conversion.
vec autocorr (const vec &x, int order)
 Computes the autocorrelation function.
vec levinson (const vec &R2, int order)
 Levinson - Levinson-Durbin recursion.
vec lpc (const vec &x, int order)
 lpc - Linear Predictive Coefficients using autocorrelation method.
vec poly2ac (const vec &poly)
 poly2ac - Prediction polynomial to autocorrelation sequence conversion.
vec poly2rc (const vec &poly)
 poly2rc - Prediction polynomial to reflection coefficients conversion.
vec rc2poly (const vec &rc)
 rc2poly - Reflection coefficients to prediction polynomial conversion.
vec rc2lar (const vec &rc)
 rc2lar - Reflection coefficients to log area ratios conversion.
vec lar2rc (const vec &lar)
 lar2rc - Log area ratios to reflection coefficients conversion.
double FNevChebP_double (double x, const double c[], int n)
double FNevChebP (double x, const double c[], int n)
vec poly2lsf (const vec &poly)
 poly2lsf - Prediction polynomial to line spectral frequencies conversion.
vec lsf2poly (const vec &lsf)
 lsf2poly - Line spectral frequencies to prediction polynomial conversion.
vec poly2cepstrum (const vec &a)
 poly2cepstrum - Prediction polynomial to cepstrum conversion.
vec poly2cepstrum (const vec &a, int num)
 poly2cepstrum - Prediction polynomial to cepstrum conversion, to the specified order.
vec cepstrum2poly (const vec &c)
 cepstrum2poly - Cepstrum to prediction polynomial conversion.
vec chirp (const vec &a, double factor)
 Returns a chirped version of the input vector.
vec schurrc (const vec &R, int order)
 schurrc - Schur algorithm.
vec lerouxguegenrc (const vec &R, int order)
 Computes reflection coefficients from autocorrelation, using the Le-Roux-Guegen algorithm.
double sd (const vec &In1, const vec &In2)
 Spectral distortion between two vectors, in dB.
double sd (const vec &In1, const vec &In2, double highestfreq)
 Spectral distortion between two vectors, in dB, up to highest frequency highestfreq.
static void pnm_read_comments (istream &i, string &comments)
static void pnm_write_comments (ostream &o, const string &comments)
static bool pnm_read_header (ifstream &file, char &pnm_type, int &width, int &height, int &max_val, string &comments, char pnm_type_required= '0')
static bool pnm_write_header (ofstream &file, char type, int width, int height, int max_val, const string &comments)
char pnm_type (const string &filename)
bool pnm_info (const string &filename, char &pnm_type, int &width, int &height, int &max_val, string &comments)
bool pgm_read (const string &filename, imat &m, string &comments)
imat pgm_read (const string &filename)
bool pgm_read (const string &filename, imat &m, int r1, int r2, int c1, int c2)
bool pgm_write (const string &filename, const imat &m, const string &comments)
bool ppm_read (const string &filename, imat &r, imat &g, imat &b, string &comments)
bool ppm_read (const string &filename, imat &r, imat &g, imat &b)
bool ppm_read (const string &filename, imat &r, imat &g, imat &b, int r1, int r2, int c1, int c2)
bool ppm_write (const string &filename, const imat &r, const imat &g, const imat &b, const string &comments, int max_val)
imat img_double2int (const mat &m, int max_val=255, double double_min=0, double double_max=1)
 Prepare a matrix of double to be writted as an image.
mat img_int2double (const imat &m, int max_val=255, double double_min=0, double double_max=1)
 Return a matrix of double which is a scaled version of the input matrix m of integers.
char pnm_type (const std::string &filename)
 Determines the type of a PNM file, based on magic numbers. The returned value is a character between '1' and '6'. If an error occured, the returned value is the character '0'.
bool pnm_info (const std::string &filename, char &pnm_type, int &width, int &height, int &max_val, std::string &comments)
 Retrieve some information about an pnm file.
bool pgm_read (const std::string &filename, imat &m, std::string &comments)
 Read the entire graymap into the matrix m or return false if the function failed.
bool pgm_read (const std::string &filename, imat &m, int r1, int r2, int c1, int c2)
 Read a part of the graymap into the matrix m.
imat pgm_read (const std::string &filename)
 Read a pgm file of name filename and return the corresponding matrix of integers. Return a void matrix if an error ocurred.
bool pgm_write (const std::string &filename, const imat &m, const std::string &comments="Generated by IT++ (http://itpp.sourceforge.net)")
 Create an image file from the matrix of integer.
bool ppm_read (const std::string &filename, imat &r, imat &g, imat &b, std::string &comments)
 Read the color image file in the format ppm. The image is retrieved as a set of three matrices, each of whom is a plan of RGB component.
bool ppm_read (const std::string &filename, imat &r, imat &g, imat &b)
 Read the color image file in the PPM format.
bool ppm_read (const std::string &filename, imat &r, imat &g, imat &b, int r1, int r2, int c1, int c2)
 Read a part of the pixmap into the matrix m. The parameters r1, r2, c1 and c2 are the rows and columns (inclusive) of the subimage.
bool ppm_write (const std::string &filename, const imat &r, const imat &g, const imat &b, const std::string &comments="Generated by IT++ (http://itpp.sourceforge.net)", int max_val=255)
 Write the matrix m as a pixmap.
int scalar_encode (double x, vec &Levels)
ivec scalar_encode (vec &x, vec &Levels)
double scalar_quantize (double x, vec &Levels)
vec scalar_quantize (vec &x, vec &Levels)
double kmeansiter (Array< vec > &DB, mat &codebook)
mat kmeans (Array< vec > &DB, int SIZE, int NOITER, bool VERBOSE)
mat lbg (Array< vec > &DB, int SIZE, int NOITER, bool VERBOSE)
mat vqtrain (Array< vec > &DB, int SIZE, int NOITER, double STARTSTEP=0.2, bool VERBOSE=true)
 Function for vector quantization training.
vec sqtrain (const vec &inDB, int SIZE)
ivec bitalloc (const vec &variances, int nobits)
void freqz (const cvec &b, const cvec &a, const int N, cvec &h, vec &w)
 Frequency response of filter.
cvec freqz (const cvec &b, const cvec &a, const int N)
 Frequency response of filter.
cvec freqz (const cvec &b, const cvec &a, const vec &w)
 Frequency response of filter.
void freqz (const vec &b, const vec &a, const int N, cvec &h, vec &w)
 Frequency response of filter.
cvec freqz (const vec &b, const vec &a, const int N)
 Frequency response of filter.
cvec freqz (const vec &b, const vec &a, const vec &w)
 Frequency response of filter.

Variables

const Factory DEFAULT_FACTORY
 Default (dummy) factory.
static bool __Random_Generator_seed_is_initialized = false
 Variable used to ensure proper seed initialization.
const double pi = 3.14159265358979323846
 Constant pi.
const double m_2pi = 2 * pi
 Constant 2*Pi.
const double eps = std::numeric_limits<double>::epsilon()
 Constant eps.
const double log_double_max = std::log(std::numeric_limits<double>::max())
 Constant definition to speed up trunc_log and trunc_exp functions.
const double log_double_min = std::log(std::numeric_limits<double>::min())
 Constant definition to speed up trunc_log and trunc_exp functions.
Real_Timer __tic_toc_timer
 Global object for tic and toc functions.
double(*) com_log (double, double) = NULL
 Pointer to logarithmic branch metric function.
const int MAX_WORDLEN = 64
 Max word length.
const uint64 UINT64_POW2 [64]
 Table for fast multiplication or division by 2^n.
const double DOUBLE_POW2 [128]
 Table for fast multiplication by 2^(n-64).
const Fix_Factory FIX1 (1, TC, WRAP)
const Fix_Factory FIX2 (2, TC, WRAP)
const Fix_Factory FIX3 (3, TC, WRAP)
const Fix_Factory FIX4 (4, TC, WRAP)
const Fix_Factory FIX5 (5, TC, WRAP)
const Fix_Factory FIX6 (6, TC, WRAP)
const Fix_Factory FIX7 (7, TC, WRAP)
const Fix_Factory FIX8 (8, TC, WRAP)
const Fix_Factory FIX9 (9, TC, WRAP)
const Fix_Factory FIX10 (10, TC, WRAP)
const Fix_Factory FIX11 (11, TC, WRAP)
const Fix_Factory FIX12 (12, TC, WRAP)
const Fix_Factory FIX13 (13, TC, WRAP)
const Fix_Factory FIX14 (14, TC, WRAP)
const Fix_Factory FIX15 (15, TC, WRAP)
const Fix_Factory FIX16 (16, TC, WRAP)
const Fix_Factory FIX17 (17, TC, WRAP)
const Fix_Factory FIX18 (18, TC, WRAP)
const Fix_Factory FIX19 (19, TC, WRAP)
const Fix_Factory FIX20 (20, TC, WRAP)
const Fix_Factory FIX21 (21, TC, WRAP)
const Fix_Factory FIX22 (22, TC, WRAP)
const Fix_Factory FIX23 (23, TC, WRAP)
const Fix_Factory FIX24 (24, TC, WRAP)
const Fix_Factory FIX25 (25, TC, WRAP)
const Fix_Factory FIX26 (26, TC, WRAP)
const Fix_Factory FIX27 (27, TC, WRAP)
const Fix_Factory FIX28 (28, TC, WRAP)
const Fix_Factory FIX29 (29, TC, WRAP)
const Fix_Factory FIX30 (30, TC, WRAP)
const Fix_Factory FIX31 (31, TC, WRAP)
const Fix_Factory FIX32 (32, TC, WRAP)
const Fix_Factory FIX33 (33, TC, WRAP)
const Fix_Factory FIX34 (34, TC, WRAP)
const Fix_Factory FIX35 (35, TC, WRAP)
const Fix_Factory FIX36 (36, TC, WRAP)
const Fix_Factory FIX37 (37, TC, WRAP)
const Fix_Factory FIX38 (38, TC, WRAP)
const Fix_Factory FIX39 (39, TC, WRAP)
const Fix_Factory FIX40 (40, TC, WRAP)
const Fix_Factory FIX41 (41, TC, WRAP)
const Fix_Factory FIX42 (42, TC, WRAP)
const Fix_Factory FIX43 (43, TC, WRAP)
const Fix_Factory FIX44 (44, TC, WRAP)
const Fix_Factory FIX45 (45, TC, WRAP)
const Fix_Factory FIX46 (46, TC, WRAP)
const Fix_Factory FIX47 (47, TC, WRAP)
const Fix_Factory FIX48 (48, TC, WRAP)
const Fix_Factory FIX49 (49, TC, WRAP)
const Fix_Factory FIX50 (50, TC, WRAP)
const Fix_Factory FIX51 (51, TC, WRAP)
const Fix_Factory FIX52 (52, TC, WRAP)
const Fix_Factory FIX53 (53, TC, WRAP)
const Fix_Factory FIX54 (54, TC, WRAP)
const Fix_Factory FIX55 (55, TC, WRAP)
const Fix_Factory FIX56 (56, TC, WRAP)
const Fix_Factory FIX57 (57, TC, WRAP)
const Fix_Factory FIX58 (58, TC, WRAP)
const Fix_Factory FIX59 (59, TC, WRAP)
const Fix_Factory FIX60 (60, TC, WRAP)
const Fix_Factory FIX61 (61, TC, WRAP)
const Fix_Factory FIX62 (62, TC, WRAP)
const Fix_Factory FIX63 (63, TC, WRAP)
const Fix_Factory FIX64 (64, TC, WRAP)
const Fix_Factory UFIX1 (1, US, WRAP)
const Fix_Factory UFIX2 (2, US, WRAP)
const Fix_Factory UFIX3 (3, US, WRAP)
const Fix_Factory UFIX4 (4, US, WRAP)
const Fix_Factory UFIX5 (5, US, WRAP)
const Fix_Factory UFIX6 (6, US, WRAP)
const Fix_Factory UFIX7 (7, US, WRAP)
const Fix_Factory UFIX8 (8, US, WRAP)
const Fix_Factory UFIX9 (9, US, WRAP)
const Fix_Factory UFIX10 (10, US, WRAP)
const Fix_Factory UFIX11 (11, US, WRAP)
const Fix_Factory UFIX12 (12, US, WRAP)
const Fix_Factory UFIX13 (13, US, WRAP)
const Fix_Factory UFIX14 (14, US, WRAP)
const Fix_Factory UFIX15 (15, US, WRAP)
const Fix_Factory UFIX16 (16, US, WRAP)
const Fix_Factory UFIX17 (17, US, WRAP)
const Fix_Factory UFIX18 (18, US, WRAP)
const Fix_Factory UFIX19 (19, US, WRAP)
const Fix_Factory UFIX20 (20, US, WRAP)
const Fix_Factory UFIX21 (21, US, WRAP)
const Fix_Factory UFIX22 (22, US, WRAP)
const Fix_Factory UFIX23 (23, US, WRAP)
const Fix_Factory UFIX24 (24, US, WRAP)
const Fix_Factory UFIX25 (25, US, WRAP)
const Fix_Factory UFIX26 (26, US, WRAP)
const Fix_Factory UFIX27 (27, US, WRAP)
const Fix_Factory UFIX28 (28, US, WRAP)
const Fix_Factory UFIX29 (29, US, WRAP)
const Fix_Factory UFIX30 (30, US, WRAP)
const Fix_Factory UFIX31 (31, US, WRAP)
const Fix_Factory UFIX32 (32, US, WRAP)
const Fix_Factory UFIX33 (33, US, WRAP)
const Fix_Factory UFIX34 (34, US, WRAP)
const Fix_Factory UFIX35 (35, US, WRAP)
const Fix_Factory UFIX36 (36, US, WRAP)
const Fix_Factory UFIX37 (37, US, WRAP)
const Fix_Factory UFIX38 (38, US, WRAP)
const Fix_Factory UFIX39 (39, US, WRAP)
const Fix_Factory UFIX40 (40, US, WRAP)
const Fix_Factory UFIX41 (41, US, WRAP)
const Fix_Factory UFIX42 (42, US, WRAP)
const Fix_Factory UFIX43 (43, US, WRAP)
const Fix_Factory UFIX44 (44, US, WRAP)
const Fix_Factory UFIX45 (45, US, WRAP)
const Fix_Factory UFIX46 (46, US, WRAP)
const Fix_Factory UFIX47 (47, US, WRAP)
const Fix_Factory UFIX48 (48, US, WRAP)
const Fix_Factory UFIX49 (49, US, WRAP)
const Fix_Factory UFIX50 (50, US, WRAP)
const Fix_Factory UFIX51 (51, US, WRAP)
const Fix_Factory UFIX52 (52, US, WRAP)
const Fix_Factory UFIX53 (53, US, WRAP)
const Fix_Factory UFIX54 (54, US, WRAP)
const Fix_Factory UFIX55 (55, US, WRAP)
const Fix_Factory UFIX56 (56, US, WRAP)
const Fix_Factory UFIX57 (57, US, WRAP)
const Fix_Factory UFIX58 (58, US, WRAP)
const Fix_Factory UFIX59 (59, US, WRAP)
const Fix_Factory UFIX60 (60, US, WRAP)
const Fix_Factory UFIX61 (61, US, WRAP)
const Fix_Factory UFIX62 (62, US, WRAP)
const Fix_Factory UFIX63 (63, US, WRAP)
const Fix_Factory UFIX64 (64, US, WRAP)
const Fix_Factory SFIX1 (1, TC, SAT)
const Fix_Factory SFIX2 (2, TC, SAT)
const Fix_Factory SFIX3 (3, TC, SAT)
const Fix_Factory SFIX4 (4, TC, SAT)
const Fix_Factory SFIX5 (5, TC, SAT)
const Fix_Factory SFIX6 (6, TC, SAT)
const Fix_Factory SFIX7 (7, TC, SAT)
const Fix_Factory SFIX8 (8, TC, SAT)
const Fix_Factory SFIX9 (9, TC, SAT)
const Fix_Factory SFIX10 (10, TC, SAT)
const Fix_Factory SFIX11 (11, TC, SAT)
const Fix_Factory SFIX12 (12, TC, SAT)
const Fix_Factory SFIX13 (13, TC, SAT)
const Fix_Factory SFIX14 (14, TC, SAT)
const Fix_Factory SFIX15 (15, TC, SAT)
const Fix_Factory SFIX16 (16, TC, SAT)
const Fix_Factory SFIX17 (17, TC, SAT)
const Fix_Factory SFIX18 (18, TC, SAT)
const Fix_Factory SFIX19 (19, TC, SAT)
const Fix_Factory SFIX20 (20, TC, SAT)
const Fix_Factory SFIX21 (21, TC, SAT)
const Fix_Factory SFIX22 (22, TC, SAT)
const Fix_Factory SFIX23 (23, TC, SAT)
const Fix_Factory SFIX24 (24, TC, SAT)
const Fix_Factory SFIX25 (25, TC, SAT)
const Fix_Factory SFIX26 (26, TC, SAT)
const Fix_Factory SFIX27 (27, TC, SAT)
const Fix_Factory SFIX28 (28, TC, SAT)
const Fix_Factory SFIX29 (29, TC, SAT)
const Fix_Factory SFIX30 (30, TC, SAT)
const Fix_Factory SFIX31 (31, TC, SAT)
const Fix_Factory SFIX32 (32, TC, SAT)
const Fix_Factory SFIX33 (33, TC, SAT)
const Fix_Factory SFIX34 (34, TC, SAT)
const Fix_Factory SFIX35 (35, TC, SAT)
const Fix_Factory SFIX36 (36, TC, SAT)
const Fix_Factory SFIX37 (37, TC, SAT)
const Fix_Factory SFIX38 (38, TC, SAT)
const Fix_Factory SFIX39 (39, TC, SAT)
const Fix_Factory SFIX40 (40, TC, SAT)
const Fix_Factory SFIX41 (41, TC, SAT)
const Fix_Factory SFIX42 (42, TC, SAT)
const Fix_Factory SFIX43 (43, TC, SAT)
const Fix_Factory SFIX44 (44, TC, SAT)
const Fix_Factory SFIX45 (45, TC, SAT)
const Fix_Factory SFIX46 (46, TC, SAT)
const Fix_Factory SFIX47 (47, TC, SAT)
const Fix_Factory SFIX48 (48, TC, SAT)
const Fix_Factory SFIX49 (49, TC, SAT)
const Fix_Factory SFIX50 (50, TC, SAT)
const Fix_Factory SFIX51 (51, TC, SAT)
const Fix_Factory SFIX52 (52, TC, SAT)
const Fix_Factory SFIX53 (53, TC, SAT)
const Fix_Factory SFIX54 (54, TC, SAT)
const Fix_Factory SFIX55 (55, TC, SAT)
const Fix_Factory SFIX56 (56, TC, SAT)
const Fix_Factory SFIX57 (57, TC, SAT)
const Fix_Factory SFIX58 (58, TC, SAT)
const Fix_Factory SFIX59 (59, TC, SAT)
const Fix_Factory SFIX60 (60, TC, SAT)
const Fix_Factory SFIX61 (61, TC, SAT)
const Fix_Factory SFIX62 (62, TC, SAT)
const Fix_Factory SFIX63 (63, TC, SAT)
const Fix_Factory SFIX64 (64, TC, SAT)
const Fix_Factory SUFIX1 (1, US, SAT)
const Fix_Factory SUFIX2 (2, US, SAT)
const Fix_Factory SUFIX3 (3, US, SAT)
const Fix_Factory SUFIX4 (4, US, SAT)
const Fix_Factory SUFIX5 (5, US, SAT)
const Fix_Factory SUFIX6 (6, US, SAT)
const Fix_Factory SUFIX7 (7, US, SAT)
const Fix_Factory SUFIX8 (8, US, SAT)
const Fix_Factory SUFIX9 (9, US, SAT)
const Fix_Factory SUFIX10 (10, US, SAT)
const Fix_Factory SUFIX11 (11, US, SAT)
const Fix_Factory SUFIX12 (12, US, SAT)
const Fix_Factory SUFIX13 (13, US, SAT)
const Fix_Factory SUFIX14 (14, US, SAT)
const Fix_Factory SUFIX15 (15, US, SAT)
const Fix_Factory SUFIX16 (16, US, SAT)
const Fix_Factory SUFIX17 (17, US, SAT)
const Fix_Factory SUFIX18 (18, US, SAT)
const Fix_Factory SUFIX19 (19, US, SAT)
const Fix_Factory SUFIX20 (20, US, SAT)
const Fix_Factory SUFIX21 (21, US, SAT)
const Fix_Factory SUFIX22 (22, US, SAT)
const Fix_Factory SUFIX23 (23, US, SAT)
const Fix_Factory SUFIX24 (24, US, SAT)
const Fix_Factory SUFIX25 (25, US, SAT)
const Fix_Factory SUFIX26 (26, US, SAT)
const Fix_Factory SUFIX27 (27, US, SAT)
const Fix_Factory SUFIX28 (28, US, SAT)
const Fix_Factory SUFIX29 (29, US, SAT)
const Fix_Factory SUFIX30 (30, US, SAT)
const Fix_Factory SUFIX31 (31, US, SAT)
const Fix_Factory SUFIX32 (32, US, SAT)
const Fix_Factory SUFIX33 (33, US, SAT)
const Fix_Factory SUFIX34 (34, US, SAT)
const Fix_Factory SUFIX35 (35, US, SAT)
const Fix_Factory SUFIX36 (36, US, SAT)
const Fix_Factory SUFIX37 (37, US, SAT)
const Fix_Factory SUFIX38 (38, US, SAT)
const Fix_Factory SUFIX39 (39, US, SAT)
const Fix_Factory SUFIX40 (40, US, SAT)
const Fix_Factory SUFIX41 (41, US, SAT)
const Fix_Factory SUFIX42 (42, US, SAT)
const Fix_Factory SUFIX43 (43, US, SAT)
const Fix_Factory SUFIX44 (44, US, SAT)
const Fix_Factory SUFIX45 (45, US, SAT)
const Fix_Factory SUFIX46 (46, US, SAT)
const Fix_Factory SUFIX47 (47, US, SAT)
const Fix_Factory SUFIX48 (48, US, SAT)
const Fix_Factory SUFIX49 (49, US, SAT)
const Fix_Factory SUFIX50 (50, US, SAT)
const Fix_Factory SUFIX51 (51, US, SAT)
const Fix_Factory SUFIX52 (52, US, SAT)
const Fix_Factory SUFIX53 (53, US, SAT)
const Fix_Factory SUFIX54 (54, US, SAT)
const Fix_Factory SUFIX55 (55, US, SAT)
const Fix_Factory SUFIX56 (56, US, SAT)
const Fix_Factory SUFIX57 (57, US, SAT)
const Fix_Factory SUFIX58 (58, US, SAT)
const Fix_Factory SUFIX59 (59, US, SAT)
const Fix_Factory SUFIX60 (60, US, SAT)
const Fix_Factory SUFIX61 (61, US, SAT)
const Fix_Factory SUFIX62 (62, US, SAT)
const Fix_Factory SUFIX63 (63, US, SAT)
const Fix_Factory SUFIX64 (64, US, SAT)
const double TCP_STIMERGRAN = 0.2
const double TCP_SWSATIMERVALUE = 0.2
const double TCP_ACKDELAYTIME = 0.2


Typedef Documentation

typedef Sparse_Vec<bin> itpp::GF2vec_sparse

Sparse GF(2) vector.

Definition at line 93 of file gf2mat.h.

typedef Sparse_Mat<bin> itpp::GF2mat_sparse

Sparse GF(2) matrix.

Definition at line 96 of file gf2mat.h.


Function Documentation

template bvec itpp::to_bvec ( const svec v  ) 

Template instantiation of to_bvec.

template bvec itpp::to_bvec ( const Vec< int > &  v  ) 

Template instantiation of to_bvec.

template svec itpp::to_svec ( const bvec v  ) 

Template instantiation of to_svec.

template svec itpp::to_svec ( const ivec v  ) 

Template instantiation of to_svec.

template svec itpp::to_svec ( const svec v  ) 

Template instantiation of to_svec.

template ivec itpp::to_ivec ( const bvec v  ) 

Template instantiation of to_ivec.

template ivec itpp::to_ivec ( const svec v  ) 

Template instantiation of to_ivec.

template ivec itpp::to_ivec ( const ivec v  ) 

Template instantiation of to_ivec.

template ivec itpp::to_ivec ( const vec v  ) 

Template instantiation of to_ivec.

template vec itpp::to_vec ( const bvec v  ) 

Template instantiation of to_vec.

template vec itpp::to_vec ( const svec v  ) 

Template instantiation of to_vec.

template vec itpp::to_vec ( const ivec v  ) 

Template instantiation of to_vec.

template vec itpp::to_vec ( const vec v  ) 

Template instantiation of to_vec.

template cvec itpp::to_cvec ( const svec v  ) 

Template instantiation of to_cvec.

template cvec itpp::to_cvec ( const ivec v  ) 

Template instantiation of to_cvec.

template cvec itpp::to_cvec ( const vec v  ) 

Template instantiation of to_cvec.

template cvec itpp::to_cvec ( const cvec v  ) 

Template instantiation of to_cvec.

template cvec itpp::to_cvec ( const bvec real,
const bvec imag 
)

Template instantiation of to_cvec.

template cvec itpp::to_cvec ( const svec real,
const svec imag 
)

Template instantiation of to_cvec.

template cvec itpp::to_cvec ( const ivec real,
const ivec imag 
)

Template instantiation of to_cvec.

template cvec itpp::to_cvec ( const vec real,
const vec imag 
)

Template instantiation of to_cvec.

template bmat itpp::to_bmat ( const smat m  ) 

Template instantiation of to_bmat.

template bmat itpp::to_bmat ( const imat m  ) 

Template instantiation of to_bmat.

template smat itpp::to_smat ( const bmat m  ) 

Template instantiation of to_bmat.

template smat itpp::to_smat ( const imat m  ) 

Template instantiation of to_bmat.

template imat itpp::to_imat ( const bmat m  ) 

Template instantiation of to_imat.

template imat itpp::to_imat ( const smat m  ) 

Template instantiation of to_imat.

template imat itpp::to_imat ( const imat m  ) 

Template instantiation of to_imat.

template mat itpp::to_mat ( const bmat m  ) 

Template instantiation of to_mat.

template mat itpp::to_mat ( const smat m  ) 

Template instantiation of to_mat.

template mat itpp::to_mat ( const imat m  ) 

Template instantiation of to_mat.

template mat itpp::to_mat ( const mat m  ) 

Template instantiation of to_mat.

template cmat itpp::to_cmat ( const smat m  ) 

Template instantiation of to_cmat.

template cmat itpp::to_cmat ( const imat m  ) 

Template instantiation of to_cmat.

template cmat itpp::to_cmat ( const mat m  ) 

Template instantiation of to_cmat.

template cmat itpp::to_cmat ( const cmat m  ) 

Template instantiation of to_cmat.

template cmat itpp::to_cmat ( const bmat real,
const bmat imag 
)

Template instantiation of to_cmat.

template cmat itpp::to_cmat ( const smat real,
const smat imag 
)

Template instantiation of to_cmat.

template cmat itpp::to_cmat ( const imat real,
const imat imag 
)

Template instantiation of to_cmat.

template cmat itpp::to_cmat ( const mat real,
const mat imag 
)

Template instantiation of to_cmat.

template<class T>
void itpp::create_elements ( T *&  ptr,
const int  n,
const Factory &   
)

Create an n-length array of T to be used as Array, Vec or Mat elements.

Definition at line 140 of file factory.h.

Referenced by itpp::Vec< ivec >::alloc(), and itpp::Mat< unsigned short int >::alloc().

template<class T>
void itpp::create_elements ( Array< T > *&  ptr,
const int  n,
const Factory &  f 
)

Create an n-length array of Array<T> to be used as Array elements.

Definition at line 147 of file factory.h.

template<class T>
void itpp::create_elements ( Mat< T > *&  ptr,
const int  n,
const Factory &  f 
)

Create an n-length array of Mat<T> to be used as Array elements.

Definition at line 161 of file factory.h.

template<class T>
void itpp::create_elements ( Vec< T > *&  ptr,
const int  n,
const Factory &  f 
)

Create an n-length array of Vec<T> to be used as Array elements.

Definition at line 175 of file factory.h.

GF2mat itpp::operator+ ( const GF2mat &  X,
const GF2mat &  Y 
)

Subtraction is not implemented because it is equivalent to addition.

Definition at line 679 of file gf2mat.cpp.

References itpp::GF2mat::data, it_assert1, itpp::GF2mat::ncols, itpp::GF2mat::nrows, and itpp::GF2mat::nwords.

it_file & itpp::operator<< ( it_file &  f,
const GF2mat &  X 
)

/relates GF2mat /brief Write GF(2) matrix to file.

Definition at line 761 of file gf2mat.cpp.

References itpp::GF2mat::data, itpp::it_file::low_level_write(), itpp::GF2mat::ncols, itpp::GF2mat::nrows, itpp::GF2mat::nwords, and itpp::it_file::write_data_header().

it_ifile & itpp::operator>> ( it_ifile &  f,
GF2mat &  X 
)

/relates GF2mat /brief Read GF(2) matrix from file.

Definition at line 778 of file gf2mat.cpp.

References itpp::GF2mat::data, it_error, itpp::it_ifile::low_level_read(), itpp::GF2mat::ncols, itpp::GF2mat::nrows, itpp::GF2mat::nwords, itpp::it_ifile::read_data_header(), and itpp::Mat< Num_T >::set_size().

std::string itpp::itpp_version ( void   ) 

Return IT++ version.

Returns the version number of the IT++ library, e.g. "3.7.1".

Definition at line 44 of file itpp_version.cpp.

template const mat itpp::operator+ ( const mat m1,
const mat m2 
)

Template instantiation of operator+.

template const cmat itpp::operator+ ( const cmat m1,
const cmat m2 
)

Template instantiation of operator+.

template const imat itpp::operator+ ( const imat m1,
const imat m2 
)

Template instantiation of operator+.

template const smat itpp::operator+ ( const smat m1,
const smat m2 
)

Template instantiation of operator+.

template const bmat itpp::operator+ ( const bmat m1,
const bmat m2 
)

Template instantiation of operator+.

template const mat itpp::operator+ ( const mat m,
double  t 
)

Template instantiation of operator+.

template const cmat itpp::operator+ ( const cmat m,
std::complex< double >  t 
)

Template instantiation of operator+.

template const imat itpp::operator+ ( const imat m,
int  t 
)

Template instantiation of operator+.

template const smat itpp::operator+ ( const smat m,
short  t 
)

Template instantiation of operator+.

template const bmat itpp::operator+ ( const bmat m,
bin  t 
)

Template instantiation of operator+.

template const mat itpp::operator+ ( double  t,
const mat m 
)

Template instantiation of operator+.

template const cmat itpp::operator+ ( std::complex< double >  t,
const cmat m 
)

Template instantiation of operator+.

template const imat itpp::operator+ ( int  t,
const imat m 
)

Template instantiation of operator+.

template const smat itpp::operator+ ( short  t,
const smat m 
)

Template instantiation of operator+.

template const bmat itpp::operator+ ( bin  t,
const bmat m 
)

Template instantiation of operator+.

template const mat itpp::operator- ( const mat m1,
const mat m2 
)

Template instantiation of operator-.

template const cmat itpp::operator- ( const cmat m1,
const cmat m2 
)

Template instantiation of operator-.

template const imat itpp::operator- ( const imat m1,
const imat m2 
)

Template instantiation of operator-.

template const smat itpp::operator- ( const smat m1,
const smat m2 
)

Template instantiation of operator-.

template const bmat itpp::operator- ( const bmat m1,
const bmat m2 
)

Template instantiation of operator-.

template const mat itpp::operator- ( const mat m,
double  t 
)

Template instantiation of operator-.

template const cmat itpp::operator- ( const cmat m,
std::complex< double >  t 
)

Template instantiation of operator-.

template const imat itpp::operator- ( const imat m,
int  t 
)

Template instantiation of operator-.

template const smat itpp::operator- ( const smat m,
short  t 
)

Template instantiation of operator-.

template const bmat itpp::operator- ( const bmat m,
bin  t 
)

Template instantiation of operator-.

template const mat itpp::operator- ( double  t,
const mat m 
)

Template instantiation of operator-.

template const cmat itpp::operator- ( std::complex< double >  t,
const cmat m 
)

Template instantiation of operator-.

template const imat itpp::operator- ( int  t,
const imat m 
)

Template instantiation of operator-.

template const smat itpp::operator- ( short  t,
const smat m 
)

Template instantiation of operator-.

template const bmat itpp::operator- ( bin  t,
const bmat m 
)

Template instantiation of operator-.

template const mat itpp::operator- ( const mat m  ) 

Template instantiation of operator-.

template const cmat itpp::operator- ( const cmat m  ) 

Template instantiation of operator-.

template const imat itpp::operator- ( const imat m  ) 

Template instantiation of operator-.

template const smat itpp::operator- ( const smat m  ) 

Template instantiation of operator-.

template const bmat itpp::operator- ( const bmat m  ) 

Template instantiation of operator-.

template const imat itpp::operator * ( const imat m1,
const imat m2 
)

Template instantiation of operator*.

template const smat itpp::operator * ( const smat m1,
const smat m2 
)

Template instantiation of operator*.

template const bmat itpp::operator * ( const bmat m1,
const bmat m2 
)

Template instantiation of operator*.

template const ivec itpp::operator * ( const imat m,
const ivec v 
)

Template instantiation of operator*.

template const svec itpp::operator * ( const smat m,
const svec v 
)

Template instantiation of operator*.

template const bvec itpp::operator * ( const bmat m,
const bvec v 
)

Template instantiation of operator*.

template const mat itpp::operator * ( const vec v,
const mat m 
)

Template instantiation of operator*.

template const cmat itpp::operator * ( const cvec v,
const cmat m 
)

Template instantiation of operator*.

template const imat itpp::operator * ( const ivec v,
const imat m 
)

Template instantiation of operator*.

template const smat itpp::operator * ( const svec v,
const smat m 
)

Template instantiation of operator*.

template const bmat itpp::operator * ( const bvec v,
const bmat m 
)

Template instantiation of operator*.

template const mat itpp::operator * ( const mat m,
double  t 
)

Template instantiation of operator*.

template const cmat itpp::operator * ( const cmat m,
std::complex< double >  t 
)

Template instantiation of operator*.

template const imat itpp::operator * ( const imat m,
int  t 
)

Template instantiation of operator*.

template const smat itpp::operator * ( const smat m,
short  t 
)

Template instantiation of operator*.

template const bmat itpp::operator * ( const bmat m,
bin  t 
)

Template instantiation of operator*.

template const mat itpp::operator * ( double  t,
const mat m 
)

Template instantiation of operator*.

template const cmat itpp::operator * ( std::complex< double >  t,
const cmat m 
)

Template instantiation of operator*.

template const imat itpp::operator * ( int  t,
const imat m 
)

Template instantiation of operator*.

template const smat itpp::operator * ( short  t,
const smat m 
)

Template instantiation of operator*.

template const bmat itpp::operator * ( bin  t,
const bmat m 
)

Template instantiation of operator*.

template const mat itpp::elem_mult ( const mat m1,
const mat m2 
)

Template instantiation of elem_mult.

Referenced by arma_estimator(), itpp::Punctured_Convolutional_Code::calculate_spectrum(), itpp::Convolutional_Code::calculate_spectrum(), itpp::GMM::draw_sample(), itpp::BERC::estimate_delay(), itpp::TDL_Channel::filter_known_channel(), itpp::Rice_Fading_Generator::generate(), itpp::IFFT_Fading_Generator::generate_Jakes(), jake_filter(), polyval(), spectrum(), and xcorr().

template const cmat itpp::elem_mult ( const cmat m1,
const cmat m2 
)

Template instantiation of elem_mult.

template const imat itpp::elem_mult ( const imat m1,
const imat m2 
)

Template instantiation of elem_mult.

template const smat itpp::elem_mult ( const smat m1,
const smat m2 
)

Template instantiation of elem_mult.

template const bmat itpp::elem_mult ( const bmat m1,
const bmat m2 
)

Template instantiation of elem_mult.

template const mat itpp::operator/ ( const mat m,
double  t 
)

Template instantiation of operator/.

template const cmat itpp::operator/ ( const cmat m,
std::complex< double >  t 
)

Template instantiation of operator/.

template const imat itpp::operator/ ( const imat m,
int  t 
)

Template instantiation of operator/.

template const smat itpp::operator/ ( const smat m,
short  t 
)

Template instantiation of operator/.

template const bmat itpp::operator/ ( const bmat m,
bin  t 
)

Template instantiation of operator/.

template const mat itpp::elem_div ( const mat m1,
const mat m2 
)

Template instantiation of elem_div.

Referenced by arma_estimator(), filter_spectrum(), and freqz().

template const cmat itpp::elem_div ( const cmat m1,
const cmat m2 
)

Template instantiation of elem_div.

template const imat itpp::elem_div ( const imat m1,
const imat m2 
)

Template instantiation of elem_div.

template const smat itpp::elem_div ( const smat m1,
const smat m2 
)

Template instantiation of elem_div.

template const bmat itpp::elem_div ( const bmat m1,
const bmat m2 
)

Template instantiation of elem_div.

template const mat itpp::concat_horizontal ( const mat m1,
const mat m2 
)

Template instantiation of concat_horizontal.

Referenced by itpp::Extended_Golay::Extended_Golay().

template const cmat itpp::concat_horizontal ( const cmat m1,
const cmat m2 
)

Template instantiation of concat_horizontal.

template const imat itpp::concat_horizontal ( const imat m1,
const imat m2 
)

Template instantiation of concat_horizontal.

template const smat itpp::concat_horizontal ( const smat m1,
const smat m2 
)

Template instantiation of concat_horizontal.

template const bmat itpp::concat_horizontal ( const bmat m1,
const bmat m2 
)

Template instantiation of concat_horizontal.

template const mat itpp::concat_vertical ( const mat m1,
const mat m2 
)

Template instantiation of concat_vertical.

template const cmat itpp::concat_vertical ( const cmat m1,
const cmat m2 
)

Template instantiation of concat_vertical.

template const imat itpp::concat_vertical ( const imat m1,
const imat m2 
)

Template instantiation of concat_vertical.

template const smat itpp::concat_vertical ( const smat m1,
const smat m2 
)

Template instantiation of concat_vertical.

template const bmat itpp::concat_vertical ( const bmat m1,
const bmat m2 
)

Template instantiation of concat_vertical.

template std::ostream & itpp::operator<< ( std::ostream &  os,
const mat m 
)

Template instantiation of output stream.

template std::ostream & itpp::operator<< ( std::ostream &  os,
const cmat m 
)

Template instantiation of output stream.

template std::ostream & itpp::operator<< ( std::ostream &  os,
const imat m 
)

Template instantiation of output stream.

template std::ostream & itpp::operator<< ( std::ostream &  os,
const smat m 
)

Template instantiation of output stream.

template std::ostream & itpp::operator<< ( std::ostream &  os,
const bmat m 
)

Template instantiation of output stream.

template std::istream & itpp::operator>> ( std::istream &  is,
mat m 
)

Template instantiation of input stream.

template std::istream & itpp::operator>> ( std::istream &  is,
cmat m 
)

Template instantiation of input stream.

template std::istream & itpp::operator>> ( std::istream &  is,
imat m 
)

Template instantiation of input stream.

template std::istream & itpp::operator>> ( std::istream &  is,
smat m 
)

Template instantiation of input stream.

template std::istream & itpp::operator>> ( std::istream &  is,
bmat m 
)

Template instantiation of input stream.

template<class Num_T>
const Mat< Num_T > itpp::concat_horizontal ( const Mat< Num_T > &  m1,
const Mat< Num_T > &  m2 
)

Concatenate the matrices m1 and m2 horizontally.

Definition at line 994 of file mat.h.

References itpp::Mat< Num_T >::get_col(), it_assert1, itpp::Mat< Num_T >::no_cols, itpp::Mat< Num_T >::no_rows, and itpp::Mat< Num_T >::set_col().

Referenced by fpica().

template<class Num_T>
const Mat< Num_T > itpp::concat_vertical ( const Mat< Num_T > &  m1,
const Mat< Num_T > &  m2 
)

Concatenate the matrices m1 and m2 vertically.

Definition at line 1012 of file mat.h.

References itpp::Mat< Num_T >::get_row(), it_assert1, itpp::Mat< Num_T >::no_cols, itpp::Mat< Num_T >::no_rows, and itpp::Mat< Num_T >::set_row().

template<class Num_T>
const Mat< Num_T > itpp::operator+ ( const Mat< Num_T > &  m1,
const Mat< Num_T > &  m2 
) [inline]

Addition of two matrices.

Definition at line 1097 of file mat.h.

References itpp::Mat< Num_T >::data, it_assert1, itpp::Mat< Num_T >::no_cols, and itpp::Mat< Num_T >::no_rows.

template<class Num_T>
const Mat< Num_T > itpp::operator+ ( const Mat< Num_T > &  m,
Num_T  t 
) [inline]

Addition of matrix and scalar.

Definition at line 1118 of file mat.h.

References itpp::Mat< Num_T >::data, itpp::Mat< Num_T >::datasize, itpp::Mat< Num_T >::no_cols, and itpp::Mat< Num_T >::no_rows.

template<class Num_T>
const Mat< Num_T > itpp::operator+ ( Num_T  t,
const Mat< Num_T > &  m 
) [inline]

Addition of scalar and matrix.

Definition at line 1129 of file mat.h.

References itpp::Mat< Num_T >::data, itpp::Mat< Num_T >::datasize, itpp::Mat< Num_T >::no_cols, and itpp::Mat< Num_T >::no_rows.

template<class Num_T>
const Mat< Num_T > itpp::operator- ( const Mat< Num_T > &  m1,
const Mat< Num_T > &  m2 
) [inline]

Subtraction of m2 from m1.

Definition at line 1167 of file mat.h.

References itpp::Mat< Num_T >::data, it_assert1, itpp::Mat< Num_T >::no_cols, and itpp::Mat< Num_T >::no_rows.

template<class Num_T>
const Mat< Num_T > itpp::operator- ( const Mat< Num_T > &  m,
Num_T  t 
) [inline]

Subraction of scalar from matrix.

Definition at line 1195 of file mat.h.

References itpp::Mat< Num_T >::data, itpp::Mat< Num_T >::no_cols, and itpp::Mat< Num_T >::no_rows.

template<class Num_T>
const Mat< Num_T > itpp::operator- ( Num_T  t,
const Mat< Num_T > &  m 
) [inline]

Subtract matrix from scalar.

Definition at line 1212 of file mat.h.

References itpp::Mat< Num_T >::data, itpp::Mat< Num_T >::no_cols, and itpp::Mat< Num_T >::no_rows.

template<class Num_T>
const Mat< Num_T > itpp::operator- ( const Mat< Num_T > &  m  )  [inline]

Subraction of matrix.

Definition at line 1229 of file mat.h.

References itpp::Mat< Num_T >::data, itpp::Mat< Num_T >::no_cols, and itpp::Mat< Num_T >::no_rows.

template<class Num_T>
const Mat< Num_T > itpp::operator * ( const Mat< Num_T > &  m1,
const Mat< Num_T > &  m2 
)

Multiplication of two matrices.

Definition at line 1292 of file mat.h.

References itpp::Mat< Num_T >::data, it_assert1, itpp::Mat< Num_T >::no_cols, and itpp::Mat< Num_T >::no_rows.

template<class Num_T>
const Vec< Num_T > itpp::operator * ( const Mat< Num_T > &  m,
const Vec< Num_T > &  v 
)

Multiplication of matrix m and vector v (column vector).

Definition at line 1322 of file mat.h.

References itpp::Mat< Num_T >::data, it_assert1, itpp::Mat< Num_T >::no_cols, itpp::Mat< Num_T >::no_rows, and itpp::Vec< Num_T >::size().

template<class Num_T>
const Mat< Num_T > itpp::operator * ( const Vec< Num_T > &  v,
const Mat< Num_T > &  m 
) [inline]

Multiplication of transposed vector v and matrix m.

Definition at line 1341 of file mat.h.

References itpp::Mat< Num_T >::data, it_assert1, itpp::Mat< Num_T >::no_cols, itpp::Mat< Num_T >::no_rows, and itpp::Vec< Num_T >::size().

template<class Num_T>
const Mat< Num_T > itpp::operator * ( const Mat< Num_T > &  m,
Num_T  t 
) [inline]

Multiplication of matrix and scalar.

Definition at line 1354 of file mat.h.

References itpp::Mat< Num_T >::data, itpp::Mat< Num_T >::datasize, itpp::Mat< Num_T >::no_cols, and itpp::Mat< Num_T >::no_rows.

template<class Num_T>
const Mat< Num_T > itpp::operator * ( Num_T  t,
const Mat< Num_T > &  m 
) [inline]

Multiplication of scalar and matrix.

Definition at line 1365 of file mat.h.

References itpp::Mat< Num_T >::data, itpp::Mat< Num_T >::datasize, itpp::Mat< Num_T >::no_cols, and itpp::Mat< Num_T >::no_rows.

template<class Num_T>
const Mat< Num_T > itpp::elem_mult ( const Mat< Num_T > &  m1,
const Mat< Num_T > &  m2 
) [inline]

Elementwise multiplication of two matrices.

Definition at line 1376 of file mat.h.

References itpp::Mat< Num_T >::data, itpp::Mat< Num_T >::datasize, it_assert1, itpp::Mat< Num_T >::no_cols, and itpp::Mat< Num_T >::no_rows.

template<class Num_T>
const Mat< Num_T > itpp::operator/ ( const Mat< Num_T > &  m,
Num_T  t 
) [inline]

Division of matrix with scalar.

Definition at line 1396 of file mat.h.

References itpp::Mat< Num_T >::data, itpp::Mat< Num_T >::datasize, itpp::Mat< Num_T >::no_cols, and itpp::Mat< Num_T >::no_rows.

template<class Num_T>
const Mat< Num_T > itpp::elem_div ( const Mat< Num_T > &  m1,
const Mat< Num_T > &  m2 
) [inline]

Elementwise division of matrix m1 with matrix m2.

Definition at line 1417 of file mat.h.

References itpp::Mat< Num_T >::data, itpp::Mat< Num_T >::datasize, it_assert1, itpp::Mat< Num_T >::no_cols, and itpp::Mat< Num_T >::no_rows.

template int itpp::length ( const vec v  ) 

Extern Template instantiation of length.

Referenced by dec2bin(), itpp::Hamming_Code::decode(), itpp::GMM::draw_sample(), itpp::Rec_Syst_Conv_Code::encode(), itpp::Hamming_Code::encode(), itpp::Rec_Syst_Conv_Code::encode_tail(), fir1(), itpp::GF2mat::GF2mat(), itpp::Vector_Quantizer::load(), itpp::Rec_Syst_Conv_Code::log_decode(), itpp::Rec_Syst_Conv_Code::log_decode_n2(), itpp::Modulator_NCD::map_demod(), itpp::Modulator_NRD::map_demod(), itpp::Modulator_NCD::modulate_bits(), itpp::Modulator_NRD::modulate_bits(), oct2bin(), operator *(), itpp::BSC::operator()(), itpp::GF2mat::permute_cols(), itpp::GF2mat::permute_rows(), itpp::Modulator_ND::probabilities(), itpp::Vector_Quantizer::set_codevector(), itpp::GF2mat::set_col(), itpp::GMM::set_covariance(), itpp::ND_UPAM::set_Gray_PAM(), itpp::ND_UPSK::set_Gray_PSK(), itpp::ND_UQAM::set_Gray_QAM(), itpp::GMM::set_mean(), itpp::GF2mat::set_row(), itpp::ND_UPAM::sphere_decoding(), itpp::GF2mat::T_fact_update_addcol(), itpp::LLR_calc_unit::to_double(), itpp::LLR_calc_unit::to_qllr(), itpp::Modulator_NCD::update_norm(), and itpp::Modulator_NRD::update_norm().

template int itpp::length ( const cvec v  ) 

Extern Template instantiation of length.

template int itpp::length ( const svec v  ) 

Extern Template instantiation of length.

template int itpp::length ( const ivec v  ) 

Extern Template instantiation of length.

template int itpp::length ( const bvec v  ) 

Extern Template instantiation of length.

template double itpp::sum ( const vec v  ) 

Extern Template instantiation of sum.

Referenced by autocorr(), itpp::Channel_Specification::calc_mean_excess_delay(), itpp::Channel_Specification::calc_rms_delay_spread(), cerf_rybicki(), cerf_series(), itpp::BERC::estimate_delay(), fir1(), itpp::Rice_Fading_Generator::generate(), itpp::GMM::join(), itpp::Modulator_NCD::map_demod(), itpp::Modulator_NRD::map_demod(), mean(), itpp::Modulator_NCD::modulate_bits(), itpp::Modulator_NRD::modulate_bits(), norm(), operator *(), quad(), itpp::ND_UPAM::sphere_decoding(), itpp::Sparse_Vec< T >::sqr(), sum(), trace(), variance(), vqtrain(), and xcorr().

template std::complex< double > itpp::sum ( const cvec v  ) 

Extern Template instantiation of sum.

template short itpp::sum ( const svec v  ) 

Extern Template instantiation of sum.

template int itpp::sum ( const ivec v  ) 

Extern Template instantiation of sum.

template bin itpp::sum ( const bvec v  ) 

Extern Template instantiation of sum.

template double itpp::sum_sqr ( const vec v  ) 

Extern Template instantiation of sum_sqr.

Referenced by itpp::TDL_Channel::calc_mean_excess_delay(), itpp::TDL_Channel::calc_rms_delay_spread(), and sum_sqr().

template std::complex< double > itpp::sum_sqr ( const cvec v  ) 

Extern Template instantiation of sum_sqr.

template short itpp::sum_sqr ( const svec v  ) 

Extern Template instantiation of sum_sqr.

template int itpp::sum_sqr ( const ivec v  ) 

Extern Template instantiation of sum_sqr.

template bin itpp::sum_sqr ( const bvec v  ) 

Extern Template instantiation of sum_sqr.

template vec itpp::cumsum ( const vec v  ) 

Extern Template instantiation of cumsum.

Referenced by cumsum(), and itpp::GMM::draw_sample().

template cvec itpp::cumsum ( const cvec v  ) 

Extern Template instantiation of cumsum.

template svec itpp::cumsum ( const svec v  ) 

Extern Template instantiation of cumsum.

template ivec itpp::cumsum ( const ivec v  ) 

Extern Template instantiation of cumsum.

template bvec itpp::cumsum ( const bvec v  ) 

Extern Template instantiation of cumsum.

template double itpp::prod ( const vec v  ) 

Extern Template instantiation of product.

Referenced by fact(), and prod().

template std::complex< double > itpp::prod ( const cvec v  ) 

Extern Template instantiation of product.

template short itpp::prod ( const svec v  ) 

Extern Template instantiation of product.

template int itpp::prod ( const ivec v  ) 

Extern Template instantiation of product.

template bin itpp::prod ( const bvec v  ) 

Extern Template instantiation of product.

template vec itpp::cross ( const vec v1,
const vec v2 
)

Extern Template instantiation of cross.

template ivec itpp::cross ( const ivec v1,
const ivec v2 
)

Extern Template instantiation of cross.

template svec itpp::cross ( const svec v1,
const svec v2 
)

Extern Template instantiation of cross.

template vec itpp::reverse ( const vec in  ) 

Extern Template instantiation of reverse.

Referenced by itpp::CRC_Code::check_parity(), dec2bin(), itpp::Punctured_Convolutional_Code::fast(), itpp::Convolutional_Code::fast(), filter_design_autocorrelation(), itpp::IFFT_Fading_Generator::generate_Jakes(), graycode(), jake_filter(), modified_yule_walker(), and itpp::CRC_Code::parity().

template cvec itpp::reverse ( const cvec in  ) 

Extern Template instantiation of reverse.

template svec itpp::reverse ( const svec in  ) 

Extern Template instantiation of reverse.

template ivec itpp::reverse ( const ivec in  ) 

Extern Template instantiation of reverse.

template bvec itpp::reverse ( const bvec in  ) 

Extern Template instantiation of reverse.

template vec itpp::repeat ( const vec v,
int  norepeats 
)

Extern Template instantiation of repeat.

template cvec itpp::repeat ( const cvec v,
int  norepeats 
)

Extern Template instantiation of repeat.

template svec itpp::repeat ( const svec v,
int  norepeats 
)

Extern Template instantiation of repeat.

template ivec itpp::repeat ( const ivec v,
int  norepeats 
)

Extern Template instantiation of repeat.

template bvec itpp::repeat ( const bvec v,
int  norepeats 
)

Extern Template instantiation of repeat.

template vec itpp::apply_function ( float(*)(float)  f,
const vec data 
)

Extern Template instantiation of apply_function.

template vec itpp::apply_function ( double(*)(double)  f,
const vec data 
)

Extern Template instantiation of apply_function.

template cvec itpp::apply_function ( std::complex< double >(*)(std::complex< double >)  f,
const cvec data 
)

Extern Template instantiation of apply_function.

template svec itpp::apply_function ( short(*)(short)  f,
const svec data 
)

Extern Template instantiation of apply_function.

template ivec itpp::apply_function ( int(*)(int)  f,
const ivec data 
)

Extern Template instantiation of apply_function.

template bvec itpp::apply_function ( bin(*)(bin)  f,
const bvec data 
)

Extern Template instantiation of apply_function.

template ivec itpp::zero_pad ( const ivec v,
int  n 
)

Extern Template instantiation of zero_pad.

Referenced by freqz(), spectrum(), xcorr(), and zero_pad().

template vec itpp::zero_pad ( const vec v,
int  n 
)

Extern Template instantiation of zero_pad.

template cvec itpp::zero_pad ( const cvec v,
int  n 
)

Extern Template instantiation of zero_pad.

template bvec itpp::zero_pad ( const bvec v,
int  n 
)

Extern Template instantiation of zero_pad.

template ivec itpp::zero_pad ( const ivec v  ) 

Extern Template instantiation of zero_pad.

template vec itpp::zero_pad ( const vec v  ) 

Extern Template instantiation of zero_pad.

template cvec itpp::zero_pad ( const cvec v  ) 

Extern Template instantiation of zero_pad.

template bvec itpp::zero_pad ( const bvec v  ) 

Extern Template instantiation of zero_pad.

template mat itpp::zero_pad ( const mat ,
int  ,
int   
)

Extern Template instantiation of zero_pad.

template cmat itpp::zero_pad ( const cmat ,
int  ,
int   
)

Extern Template instantiation of zero_pad.

template imat itpp::zero_pad ( const imat ,
int  ,
int   
)

Extern Template instantiation of zero_pad.

template bmat itpp::zero_pad ( const bmat ,
int  ,
int   
)

Extern Template instantiation of zero_pad.

template vec itpp::sum ( const mat m,
int  dim 
)

Extern Template instantiation of sum.

template cvec itpp::sum ( const cmat m,
int  dim 
)

Extern Template instantiation of sum.

template svec itpp::sum ( const smat m,
int  dim 
)

Extern Template instantiation of sum.

template ivec itpp::sum ( const imat m,
int  dim 
)

Extern Template instantiation of sum.

template bvec itpp::sum ( const bmat m,
int  dim 
)

Extern Template instantiation of sum.

template vec itpp::sum_sqr ( const mat m,
int  dim 
)

Extern Template instantiation of sum_sqr.

template cvec itpp::sum_sqr ( const cmat m,
int  dim 
)

Extern Template instantiation of sum_sqr.

template svec itpp::sum_sqr ( const smat m,
int  dim 
)

Extern Template instantiation of sum_sqr.

template ivec itpp::sum_sqr ( const imat m,
int  dim 
)

Extern Template instantiation of sum_sqr.

template bvec itpp::sum_sqr ( const bmat m,
int  dim 
)

Extern Template instantiation of sum_sqr.

template mat itpp::cumsum ( const mat m,
int  dim 
)

Extern Template instantiation of cumsum.

template cmat itpp::cumsum ( const cmat m,
int  dim 
)

Extern Template instantiation of cumsum.

template smat itpp::cumsum ( const smat m,
int  dim 
)

Extern Template instantiation of cumsum.

template imat itpp::cumsum ( const imat m,
int  dim 
)

Extern Template instantiation of cumsum.

template bmat itpp::cumsum ( const bmat m,
int  dim 
)

Extern Template instantiation of cumsum.

template vec itpp::prod ( const mat m,
int  dim 
)

Extern Template instantiation of product.

template svec itpp::prod ( const smat m,
int  dim 
)

Extern Template instantiation of product.

template ivec itpp::prod ( const imat m,
int  dim 
)

Extern Template instantiation of product.

template vec itpp::diag ( const mat in  ) 

Extern Template instantiation of diag.

Referenced by itpp::GMM::init_from_vq(), norm(), roots(), itpp::Fast_ICA::separate(), and trace().

template cvec itpp::diag ( const cmat in  ) 

Extern Template instantiation of diag.

template void itpp::diag ( const vec in,
mat m 
)

Extern Template instantiation of diag.

template void itpp::diag ( const cvec in,
cmat m 
)

Extern Template instantiation of diag.

template mat itpp::diag ( const vec v,
const int  K 
)

Extern Template instantiation of diag.

template cmat itpp::diag ( const cvec v,
const int  K 
)

Extern Template instantiation of diag.

template mat itpp::bidiag ( const vec ,
const vec  
)

Extern Template instantiation of bidiag.

template cmat itpp::bidiag ( const cvec ,
const cvec  
)

Extern Template instantiation of bidiag.

template void itpp::bidiag ( const vec ,
const vec ,
mat  
)

Extern Template instantiation of bidiag.

template void itpp::bidiag ( const cvec ,
const cvec ,
cmat  
)

Extern Template instantiation of bidiag.

template void itpp::bidiag ( const mat ,
vec ,
vec  
)

Extern Template instantiation of bidiag.

template void itpp::bidiag ( const cmat ,
cvec ,
cvec  
)

Extern Template instantiation of bidiag.

template mat itpp::tridiag ( const vec main,
const vec ,
const vec  
)

Extern Template instantiation of tridiag.

template cmat itpp::tridiag ( const cvec main,
const cvec ,
const cvec  
)

Extern Template instantiation of tridiag.

template void itpp::tridiag ( const vec main,
const vec ,
const vec ,
mat  
)

Extern Template instantiation of tridiag.

template void itpp::tridiag ( const cvec main,
const cvec ,
const cvec ,
cmat  
)

Extern Template instantiation of tridiag.

template void itpp::tridiag ( const mat m,
vec ,
vec ,
vec  
)

Extern Template instantiation of tridiag.

template void itpp::tridiag ( const cmat m,
cvec ,
cvec ,
cvec  
)

Extern Template instantiation of tridiag.

template double itpp::trace ( const mat in  ) 

Extern Template instantiation of trace.

template std::complex< double > itpp::trace ( const cmat in  ) 

Extern Template instantiation of trace.

template short itpp::trace ( const smat in  ) 

Extern Template instantiation of trace.

template int itpp::trace ( const imat in  ) 

Extern Template instantiation of trace.

template bin itpp::trace ( const bmat in  ) 

Extern Template instantiation of trace.

template void itpp::transpose ( const mat m,
mat out 
)

Extern Template instantiation of transpose.

Referenced by dht2(), dwht2(), and norm().

template void itpp::transpose ( const cmat m,
cmat out 
)

Extern Template instantiation of transpose.

template void itpp::transpose ( const smat m,
smat out 
)

Extern Template instantiation of transpose.

template void itpp::transpose ( const imat m,
imat out 
)

Extern Template instantiation of transpose.

template void itpp::transpose ( const bmat m,
bmat out 
)

Extern Template instantiation of transpose.

template mat itpp::transpose ( const mat m  ) 

Extern Template instantiation of transpose.

template cmat itpp::transpose ( const cmat m  ) 

Extern Template instantiation of transpose.

template smat itpp::transpose ( const smat m  ) 

Extern Template instantiation of transpose.

template imat itpp::transpose ( const imat m  ) 

Extern Template instantiation of transpose.

template bmat itpp::transpose ( const bmat m  ) 

Extern Template instantiation of transpose.

template void itpp::hermitian_transpose ( const mat m,
mat out 
)

Extern Template instantiation of hermitian transpose.

Referenced by norm().

template void itpp::hermitian_transpose ( const cmat m,
cmat out 
)

Extern Template instantiation of hermitian transpose.

template void itpp::hermitian_transpose ( const smat m,
smat out 
)

Extern Template instantiation of hermitian transpose.

template void itpp::hermitian_transpose ( const imat m,
imat out 
)

Extern Template instantiation of hermitian transpose.

template void itpp::hermitian_transpose ( const bmat m,
bmat out 
)

Extern Template instantiation of hermitian transpose.

template mat itpp::hermitian_transpose ( const mat m  ) 

Extern Template instantiation of hermitian transpose.

template cmat itpp::hermitian_transpose ( const cmat m  ) 

Extern Template instantiation of hermitian transpose.

template smat itpp::hermitian_transpose ( const smat m  ) 

Extern Template instantiation of hermitian transpose.

template imat itpp::hermitian_transpose ( const imat m  ) 

Extern Template instantiation of hermitian transpose.

template bmat itpp::hermitian_transpose ( const bmat m  ) 

Extern Template instantiation of hermitian transpose.

template mat itpp::repeat ( const mat m,
int  norepeats 
)

Extern Template instantiation of repeat.

template cmat itpp::repeat ( const cmat m,
int  norepeats 
)

Extern Template instantiation of repeat.

template smat itpp::repeat ( const smat m,
int  norepeats 
)

Extern Template instantiation of repeat.

template imat itpp::repeat ( const imat m,
int  norepeats 
)

Extern Template instantiation of repeat.

template bmat itpp::repeat ( const bmat m,
int  norepeats 
)

Extern Template instantiation of repeat.

template mat itpp::apply_function ( float(*)(float)  f,
const mat data 
)

Extern Template instantiation of apply_function.

template mat itpp::apply_function ( double(*)(double)  f,
const mat data 
)

Extern Template instantiation of apply_function.

template cmat itpp::apply_function ( std::complex< double >(*)(std::complex< double >)  f,
const cmat data 
)

Extern Template instantiation of apply_function.

template smat itpp::apply_function ( short(*)(short)  f,
const smat data 
)

Extern Template instantiation of apply_function.

template imat itpp::apply_function ( int(*)(int)  f,
const imat data 
)

Extern Template instantiation of apply_function.

template bmat itpp::apply_function ( bin(*)(bin)  f,
const bmat data 
)

Extern Template instantiation of apply_function.

template vec itpp::rvectorize ( const mat m  ) 

Extern Template instantiation of rvectorize.

template cvec itpp::rvectorize ( const cmat m  ) 

Extern Template instantiation of rvectorize.

template ivec itpp::rvectorize ( const imat m  ) 

Extern Template instantiation of rvectorize.

template bvec itpp::rvectorize ( const bmat m  ) 

Extern Template instantiation of rvectorize.

template vec itpp::cvectorize ( const mat m  ) 

Extern Template instantiation of cvectorize.

template cvec itpp::cvectorize ( const cmat m  ) 

Extern Template instantiation of cvectorize.

template ivec itpp::cvectorize ( const imat m  ) 

Extern Template instantiation of cvectorize.

template bvec itpp::cvectorize ( const bmat m  ) 

Extern Template instantiation of cvectorize.

template mat itpp::reshape ( const mat m,
int  rows,
int  cols 
)

Extern Template instantiation of reshape.

Referenced by toeplitz().

template cmat itpp::reshape ( const cmat m,
int  rows,
int  cols 
)

Extern Template instantiation of reshape.

template imat itpp::reshape ( const imat m,
int  rows,
int  cols 
)

Extern Template instantiation of reshape.

template bmat itpp::reshape ( const bmat m,
int  rows,
int  cols 
)

Extern Template instantiation of reshape.

template mat itpp::reshape ( const vec m,
int  rows,
int  cols 
)

Extern Template instantiation of reshape.

template cmat itpp::reshape ( const cvec m,
int  rows,
int  cols 
)

Extern Template instantiation of reshape.

template imat itpp::reshape ( const ivec m,
int  rows,
int  cols 
)

Extern Template instantiation of reshape.

template bmat itpp::reshape ( const bvec m,
int  rows,
int  cols 
)

Extern Template instantiation of reshape.

template vec itpp::upsample ( const vec v,
int  usf 
)

Extern Template instantiation of upsample.

Referenced by itpp::Pulse_Shape< T1, T2, T3 >::shape_symbols(), and upsample().

template cvec itpp::upsample ( const cvec v,
int  usf 
)

Extern Template instantiation of upsample.

template svec itpp::upsample ( const svec v,
int  usf 
)

Extern Template instantiation of upsample.

template ivec itpp::upsample ( const ivec v,
int  usf 
)

Extern Template instantiation of upsample.

template bvec itpp::upsample ( const bvec v,
int  usf 
)

Extern Template instantiation of upsample.

template mat itpp::upsample ( const mat v,
int  usf 
)

Extern Template instantiation of upsample.

template cmat itpp::upsample ( const cmat v,
int  usf 
)

Extern Template instantiation of upsample.

template smat itpp::upsample ( const smat v,
int  usf 
)

Extern Template instantiation of upsample.

template imat itpp::upsample ( const imat v,
int  usf 
)

Extern Template instantiation of upsample.

template bmat itpp::upsample ( const bmat v,
int  usf 
)

Extern Template instantiation of upsample.

template void itpp::upsample ( const vec v,
int  usf,
vec u 
)

Extern Template instantiation of upsample.

template void itpp::upsample ( const cvec v,
int  usf,
cvec u 
)

Extern Template instantiation of upsample.

template void itpp::upsample ( const svec v,
int  usf,
svec u 
)

Extern Template instantiation of upsample.

template void itpp::upsample ( const ivec v,
int  usf,
ivec u 
)

Extern Template instantiation of upsample.

template void itpp::upsample ( const bvec v,
int  usf,
bvec u 
)

Extern Template instantiation of upsample.

template void itpp::upsample ( const mat v,
int  usf,
mat u 
)

Extern Template instantiation of upsample.

template void itpp::upsample ( const cmat v,
int  usf,
cmat u 
)

Extern Template instantiation of upsample.

template void itpp::upsample ( const smat v,
int  usf,
smat u 
)

Extern Template instantiation of upsample.

template void itpp::upsample ( const imat v,
int  usf,
imat u 
)

Extern Template instantiation of upsample.

template void itpp::upsample ( const bmat v,
int  usf,
bmat u 
)

Extern Template instantiation of upsample.

template vec itpp::lininterp ( const vec v,
int  usf 
)

Extern Template instantiation of liniterp.

Referenced by itpp::FIR_Fading_Generator::generate(), and lininterp().

template cvec itpp::lininterp ( const cvec v,
int  usf 
)

Extern Template instantiation of liniterp.

template mat itpp::lininterp ( const mat v,
int  usf 
)

Extern Template instantiation of liniterp.

template cmat itpp::lininterp ( const cmat v,
int  usf 
)

Extern Template instantiation of liniterp.

template void itpp::lininterp ( const vec v,
int  usf,
vec u 
)

Extern Template instantiation of liniterp.

template void itpp::lininterp ( const cvec v,
int  usf,
cvec u 
)

Extern Template instantiation of liniterp.

template void itpp::lininterp ( const mat v,
int  usf,
mat u 
)

Extern Template instantiation of liniterp.

template void itpp::lininterp ( const cmat v,
int  usf,
cmat u 
)

Extern Template instantiation of liniterp.

template mat itpp::lininterp ( const mat m,
const double  f_base,
const double  f_ups,
const int  nrof_samples,
const double  t_start 
)

Extern Template instantiation of liniterp.

template cmat itpp::lininterp ( const cmat m,
const double  f_base,
const double  f_ups,
const int  nrof_samples,
const double  t_start 
)

Extern Template instantiation of liniterp.

template vec itpp::lininterp ( const vec v,
const double  f_base,
const double  f_ups,
const int  nrof_samples,
const double  t_start 
)

Extern Template instantiation of liniterp.

template cvec itpp::lininterp ( const cvec v,
const double  f_base,
const double  f_ups,
const int  nrof_samples,
const double  t_start 
)

Extern Template instantiation of liniterp.

template bool itpp::is_hermitian ( const mat X  ) 

Extern Template instantiation of is_hermitian.

template bool itpp::is_hermitian ( const cmat X  ) 

Extern Template instantiation of is_hermitian.

template bool itpp::is_unitary ( const mat X  ) 

Extern Template instantiation of is_unitary.

template bool itpp::is_unitary ( const cmat X  ) 

Extern Template instantiation of is_unitary.

double itpp::trunc_log ( double  x  )  [inline]

Truncated natural logarithm function.

This truncated function provides a solution in the cases when the logarithm argument is less or equal to zero or infinity. The function checks for such extreme values and use some kind of truncation (saturation) before calculating the logarithm.

The truncated logarithm function can be used for calculation of log-likelihood in soft demodulators, when numerical instability problem might occur.

Definition at line 140 of file scalfunc.h.

References log(), log_double_max, and log_double_min.

Referenced by itpp::QAM::demodulate_soft_bits(), itpp::PSK::demodulate_soft_bits(), itpp::PAM::demodulate_soft_bits(), itpp::Modulator_2d::demodulate_soft_bits(), and itpp::Rec_Syst_Conv_Code::map_decode().

double itpp::trunc_exp ( double  x  )  [inline]

Truncated exponential function.

This truncated function provides a solution in the case when the exponent function results in infinity. The function checks for an extreme value and use truncation (saturation) before calculating the result.

The truncated exponential function can be used when numerical instability problem occurs for a standard exp function.

Definition at line 162 of file scalfunc.h.

References exp(), log_double_max, and max.

Referenced by itpp::Rec_Syst_Conv_Code::map_decode().

template sparse_imat itpp::operator+ ( const sparse_imat ,
const sparse_imat  
)

Template instantiation of operator+.

template sparse_mat itpp::operator+ ( const sparse_mat ,
const sparse_mat  
)

Template instantiation of operator+.

template sparse_cmat itpp::operator+ ( const sparse_cmat ,
const sparse_cmat  
)

Template instantiation of operator+.

template sparse_imat itpp::operator * ( const sparse_imat ,
const sparse_imat  
)

Template instantiation of operator*.

template sparse_mat itpp::operator * ( const sparse_mat ,
const sparse_mat  
)

Template instantiation of operator*.

template sparse_cmat itpp::operator * ( const sparse_cmat ,
const sparse_cmat  
)

Template instantiation of operator*.

template ivec itpp::operator * ( const ivec ,
const sparse_imat  
)

Template instantiation of operator*.

template vec itpp::operator * ( const vec ,
const sparse_mat  
)

Template instantiation of operator*.

template cvec itpp::operator * ( const cvec ,
const sparse_cmat  
)

Template instantiation of operator*.

template ivec itpp::operator * ( const sparse_imat ,
const ivec  
)

Template instantiation of operator*.

template vec itpp::operator * ( const sparse_mat ,
const vec  
)

Template instantiation of operator*.

template cvec itpp::operator * ( const sparse_cmat ,
const cvec  
)

Template instantiation of operator*.

template imat itpp::trans_mult ( const sparse_imat  ) 

Template instantiation of trans_mult.

Referenced by mult_trans().

template mat itpp::trans_mult ( const sparse_mat  ) 

Template instantiation of trans_mult.

template cmat itpp::trans_mult ( const sparse_cmat  ) 

Template instantiation of trans_mult.

template sparse_imat itpp::trans_mult_s ( const sparse_imat  ) 

Template instantiation of trans_mult_s.

template sparse_mat itpp::trans_mult_s ( const sparse_mat  ) 

Template instantiation of trans_mult_s.

template sparse_cmat itpp::trans_mult_s ( const sparse_cmat  ) 

Template instantiation of trans_mult_s.

template sparse_imat itpp::trans_mult ( const sparse_imat ,
const sparse_imat  
)

Template instantiation of trans_mult.

template sparse_mat itpp::trans_mult ( const sparse_mat ,
const sparse_mat  
)

Template instantiation of trans_mult.

template sparse_cmat itpp::trans_mult ( const sparse_cmat ,
const sparse_cmat  
)

Template instantiation of trans_mult.

template ivec itpp::trans_mult ( const sparse_imat ,
const ivec  
)

Template instantiation of trans_mult.

template vec itpp::trans_mult ( const sparse_mat ,
const vec  
)

Template instantiation of trans_mult.

template cvec itpp::trans_mult ( const sparse_cmat ,
const cvec  
)

Template instantiation of trans_mult.

template sparse_imat itpp::mult_trans ( const sparse_imat ,
const sparse_imat  
)

Template instantiation of mult_trans.

template sparse_mat itpp::mult_trans ( const sparse_mat ,
const sparse_mat  
)

Template instantiation of mult_trans.

template sparse_cmat itpp::mult_trans ( const sparse_cmat ,
const sparse_cmat  
)

Template instantiation of mult_trans.

template<class T>
Sparse_Mat< T > itpp::operator+ ( const Sparse_Mat< T > &  m1,
const Sparse_Mat< T > &  m2 
)

Addition m1+m2 where m1 and m2 are sparse matrices.

Definition at line 747 of file smat.h.

References itpp::Sparse_Mat< T >::col, it_assert0, itpp::Sparse_Mat< T >::n_cols, and itpp::Sparse_Mat< T >::n_rows.

template<class T>
Sparse_Mat< T > itpp::operator * ( const T &  c,
const Sparse_Mat< T > &  m 
)

Multiplication c*m where c is a scalar and m is a sparse matrix.

Definition at line 761 of file smat.h.

References itpp::Sparse_Mat< T >::col, itpp::Sparse_Mat< T >::n_cols, itpp::Sparse_Mat< T >::n_rows, and itpp::Sparse_Mat< T >::set_new().

template<class T>
Sparse_Mat< T > itpp::operator * ( const Sparse_Mat< T > &  m1,
const Sparse_Mat< T > &  m2 
)

Multiplication m1*m2 where m1 and m2 are sparse matrices.

Definition at line 777 of file smat.h.

References itpp::Sparse_Mat< T >::col, itpp::Sparse_Mat< T >::compact(), it_assert0, itpp::Sparse_Mat< T >::n_cols, and itpp::Sparse_Mat< T >::n_rows.

template<class T>
Sparse_Vec< T > itpp::operator * ( const Sparse_Mat< T > &  m,
const Sparse_Vec< T > &  v 
)

Multiplication m*v where m is a sparse matrix and v is a sparse vector.

Definition at line 835 of file smat.h.

References itpp::Sparse_Mat< T >::col, itpp::Sparse_Vec< T >::get_nz_data(), itpp::Sparse_Vec< T >::get_nz_index(), it_assert0, itpp::Sparse_Mat< T >::n_cols, itpp::Sparse_Mat< T >::n_rows, itpp::Sparse_Vec< T >::nnz(), and itpp::Sparse_Vec< T >::size().

template<class T>
Vec< T > itpp::operator * ( const Sparse_Mat< T > &  m,
const Vec< T > &  v 
)

Multiplication m*v where m is a sparse matrix and v is a full column vector.

Definition at line 861 of file smat.h.

References itpp::Sparse_Mat< T >::col, it_assert0, itpp::Sparse_Mat< T >::n_cols, itpp::Sparse_Mat< T >::n_rows, and itpp::Vec< Num_T >::size().

template<class T>
Vec< T > itpp::operator * ( const Vec< T > &  v,
const Sparse_Mat< T > &  m 
)

Multiplication v'*m where m is a sparse matrix and v is a full column vector.

Definition at line 877 of file smat.h.

References itpp::Sparse_Mat< T >::col, it_assert0, itpp::Sparse_Mat< T >::n_cols, itpp::Sparse_Mat< T >::n_rows, and itpp::Vec< Num_T >::size().

template<class T>
Mat< T > itpp::trans_mult ( const Sparse_Mat< T > &  m  ) 

Multiplication m'*m where m is a sparse matrix. Returns a full, dense matrix.

Definition at line 891 of file smat.h.

References itpp::Sparse_Mat< T >::col, itpp::Mat< Num_T >::cols(), and itpp::Sparse_Mat< T >::n_cols.

template<class T>
Sparse_Mat< T > itpp::trans_mult_s ( const Sparse_Mat< T > &  m  ) 

Multiplication m'*m where m is a sparse matrix, Returns a sparse matrix.

Definition at line 909 of file smat.h.

References itpp::Sparse_Mat< T >::col, and itpp::Sparse_Mat< T >::n_cols.

template<class T>
Sparse_Mat< T > itpp::trans_mult ( const Sparse_Mat< T > &  m1,
const Sparse_Mat< T > &  m2 
)

Multiplication m1'*m2 where m1 and m2 are sparse matrices.

Definition at line 932 of file smat.h.

References itpp::Sparse_Mat< T >::col, it_assert0, itpp::Sparse_Mat< T >::n_cols, and itpp::Sparse_Mat< T >::n_rows.

template<class T>
Vec< T > itpp::trans_mult ( const Sparse_Mat< T > &  m,
const Vec< T > &  v 
)

Multiplication m'*v where m is a sparse matrix and v is a full column vector.

Definition at line 948 of file smat.h.

References itpp::Sparse_Mat< T >::col, and itpp::Sparse_Mat< T >::n_cols.

template<class T>
Sparse_Mat< T > itpp::mult_trans ( const Sparse_Mat< T > &  m1,
const Sparse_Mat< T > &  m2 
)

Multiplication m1*m2' where m1 and m2 are sparse matrices.

Definition at line 958 of file smat.h.

References trans_mult(), and itpp::Sparse_Mat< T >::transpose().

template void itpp::eye ( int  ,
mat  
)

Template instantiation of eye.

Referenced by itpp::Newton_Search::set_start_point().

template void itpp::eye ( int  ,
bmat  
)

Template instantiation of eye.

template void itpp::eye ( int  ,
imat  
)

Template instantiation of eye.

template void itpp::eye ( int  ,
cmat  
)

Template instantiation of eye.

template sparse_ivec itpp::operator+ ( const sparse_ivec ,
const sparse_ivec  
)

Template instantiation of operator+.

template sparse_vec itpp::operator+ ( const sparse_vec ,
const sparse_vec  
)

Template instantiation of operator+.

template sparse_cvec itpp::operator+ ( const sparse_cvec ,
const sparse_cvec  
)

Template instantiation of operator+.

template int itpp::operator * ( const sparse_ivec ,
const sparse_ivec  
)

Template instantiation of operator*.

template double itpp::operator * ( const sparse_vec ,
const sparse_vec  
)

Template instantiation of operator*.

template std::complex< double > itpp::operator * ( const sparse_cvec ,
const sparse_cvec  
)

Template instantiation of operator*.

template int itpp::operator * ( const sparse_ivec ,
const ivec  
)

Template instantiation of operator*.

template double itpp::operator * ( const sparse_vec ,
const vec  
)

Template instantiation of operator*.

template std::complex< double > itpp::operator * ( const sparse_cvec ,
const cvec  
)

Template instantiation of operator*.

template int itpp::operator * ( const ivec ,
const sparse_ivec  
)

Template instantiation of operator*.

template double itpp::operator * ( const vec ,
const sparse_vec  
)

Template instantiation of operator*.

template std::complex< double > itpp::operator * ( const cvec ,
const sparse_cvec  
)

Template instantiation of operator*.

template sparse_ivec itpp::elem_mult ( const sparse_ivec ,
const sparse_ivec  
)

Template instantiation of elem_mult.

template sparse_vec itpp::elem_mult ( const sparse_vec ,
const sparse_vec  
)

Template instantiation of elem_mult.

template sparse_cvec itpp::elem_mult ( const sparse_cvec ,
const sparse_cvec  
)

Template instantiation of elem_mult.

template ivec itpp::elem_mult ( const sparse_ivec ,
const ivec  
)

Template instantiation of elem_mult.

template vec itpp::elem_mult ( const sparse_vec ,
const vec  
)

Template instantiation of elem_mult.

template cvec itpp::elem_mult ( const sparse_cvec ,
const cvec  
)

Template instantiation of elem_mult.

template sparse_ivec itpp::elem_mult_s ( const sparse_ivec ,
const ivec  
)

Template instantiation of elem_mult_s.

template sparse_vec itpp::elem_mult_s ( const sparse_vec ,
const vec  
)

Template instantiation of elem_mult_s.

template sparse_cvec itpp::elem_mult_s ( const sparse_cvec ,
const cvec  
)

Template instantiation of elem_mult_s.

template ivec itpp::elem_mult ( const ivec ,
const sparse_ivec  
)

Template instantiation of elem_mult.

template vec itpp::elem_mult ( const vec ,
const sparse_vec  
)

Template instantiation of elem_mult.

template cvec itpp::elem_mult ( const cvec ,
const sparse_cvec  
)

Template instantiation of elem_mult.

template sparse_ivec itpp::elem_mult_s ( const ivec ,
const sparse_ivec  
)

Template instantiation of elem_mult_s.

template sparse_vec itpp::elem_mult_s ( const vec ,
const sparse_vec  
)

Template instantiation of elem_mult_s.

template sparse_cvec itpp::elem_mult_s ( const cvec ,
const sparse_cvec  
)

Template instantiation of elem_mult_s.

template<class T>
Sparse_Vec< T > itpp::operator+ ( const Sparse_Vec< T > &  v1,
const Sparse_Vec< T > &  v2 
)

Addition v1+v2 where v1 and v2 are sparse vector.

Definition at line 1147 of file svec.h.

References itpp::Sparse_Vec< T >::data, itpp::Sparse_Vec< T >::data_size, itpp::Sparse_Vec< T >::index, it_assert0, itpp::Sparse_Vec< T >::resize_data(), itpp::Sparse_Vec< T >::used_size, and itpp::Sparse_Vec< T >::v_size.

template<class T>
T itpp::operator * ( const Sparse_Vec< T > &  v1,
const Sparse_Vec< T > &  v2 
)

Scalar product v1*v2 where v1 and v2 are sparse vectors.

Definition at line 1017 of file svec.h.

References itpp::Sparse_Vec< T >::data, itpp::Sparse_Vec< T >::full(), itpp::Sparse_Vec< T >::index, it_assert0, sum(), itpp::Sparse_Vec< T >::used_size, and itpp::Sparse_Vec< T >::v_size.

template<class T>
T itpp::operator * ( const Sparse_Vec< T > &  v1,
const Vec< T > &  v2 
)

Scalar product v1*v2 where v1 is a sparse vector and v2 is a dense vector.

Definition at line 1033 of file svec.h.

References itpp::Sparse_Vec< T >::data, itpp::Sparse_Vec< T >::index, it_assert0, itpp::Vec< Num_T >::size(), itpp::Sparse_Vec< T >::size(), sum(), and itpp::Sparse_Vec< T >::used_size.

template<class T>
T itpp::operator * ( const Vec< T > &  v1,
const Sparse_Vec< T > &  v2 
)

Scalar product v1*v2 where v1 is a dense vector and v2 is a sparse vector.

Definition at line 1045 of file svec.h.

References itpp::Sparse_Vec< T >::data, itpp::Sparse_Vec< T >::index, it_assert0, itpp::Sparse_Vec< T >::size(), itpp::Vec< Num_T >::size(), sum(), and itpp::Sparse_Vec< T >::used_size.

template<class T>
Sparse_Vec< T > itpp::elem_mult ( const Sparse_Vec< T > &  v1,
const Sparse_Vec< T > &  v2 
)

Element wise multiplication of two sparse vectors.

Definition at line 1057 of file svec.h.

References itpp::Sparse_Vec< T >::data, itpp::Sparse_Vec< T >::data_size, itpp::Sparse_Vec< T >::index, it_assert0, itpp::Sparse_Vec< T >::resize_data(), itpp::Sparse_Vec< T >::used_size, and itpp::Sparse_Vec< T >::v_size.

template<class T>
Vec< T > itpp::elem_mult ( const Sparse_Vec< T > &  v1,
const Vec< T > &  v2 
)

Element wise multiplication of a sparse vector and a dense vector.

Definition at line 1081 of file svec.h.

References itpp::Sparse_Vec< T >::data, itpp::Sparse_Vec< T >::index, it_assert0, itpp::Vec< Num_T >::size(), itpp::Sparse_Vec< T >::used_size, and itpp::Sparse_Vec< T >::v_size.

template<class T>
Sparse_Vec< T > itpp::elem_mult_s ( const Sparse_Vec< T > &  v1,
const Vec< T > &  v2 
)

Element wise multiplication of a sparse vector and a dense vector returning a sparse vector.

Definition at line 1094 of file svec.h.

References itpp::Sparse_Vec< T >::data, itpp::Sparse_Vec< T >::index, it_assert0, itpp::Vec< Num_T >::size(), itpp::Sparse_Vec< T >::used_size, and itpp::Sparse_Vec< T >::v_size.

template<class T>
Vec< T > itpp::elem_mult ( const Vec< T > &  v1,
const Sparse_Vec< T > &  v2 
)

Element wise multiplication of a a dense vector and a sparse vector.

Definition at line 1114 of file svec.h.

References itpp::Sparse_Vec< T >::data, itpp::Sparse_Vec< T >::index, it_assert0, itpp::Vec< Num_T >::size(), itpp::Sparse_Vec< T >::used_size, and itpp::Sparse_Vec< T >::v_size.

template<class T>
Sparse_Vec< T > itpp::elem_mult_s ( const Vec< T > &  v1,
const Sparse_Vec< T > &  v2 
)

Element wise multiplication of a a dense vector and a sparse vector returning a sparse vector.

Definition at line 1127 of file svec.h.

References itpp::Sparse_Vec< T >::data, itpp::Sparse_Vec< T >::index, it_assert0, itpp::Vec< Num_T >::size(), itpp::Sparse_Vec< T >::used_size, and itpp::Sparse_Vec< T >::v_size.

template vec itpp::dht ( const vec v  ) 

Template instantiation of dht.

template cvec itpp::dht ( const cvec v  ) 

Template instantiation of dht.

template void itpp::dht ( const vec vin,
vec vout 
)

Template instantiation of dht.

template void itpp::dht ( const cvec vin,
cvec vout 
)

Template instantiation of dht.

template void itpp::self_dht ( vec v  ) 

Template instantiation of self_dht.

template void itpp::self_dht ( cvec v  ) 

Template instantiation of self_dht.

template vec itpp::dwht ( const vec v  ) 

Template instantiation of dwht.

template cvec itpp::dwht ( const cvec v  ) 

Template instantiation of dwht.

template void itpp::dwht ( const vec vin,
vec vout 
)

Template instantiation of dwht.

template void itpp::dwht ( const cvec vin,
cvec vout 
)

Template instantiation of dwht.

template void itpp::self_dwht ( vec v  ) 

Template instantiation of self_dwht.

template void itpp::self_dwht ( cvec v  ) 

Template instantiation of self_dwht.

template mat itpp::dht2 ( const mat m  ) 

Template instantiation of dht2.

template cmat itpp::dht2 ( const cmat m  ) 

Template instantiation of dht2.

template mat itpp::dwht2 ( const mat m  ) 

Template instantiation of dht2.

template cmat itpp::dwht2 ( const cmat m  ) 

Template instantiation of dht2.

template const vec itpp::operator+ ( const vec v1,
const vec v2 
)

Template instantiation of operator+.

template const cvec itpp::operator+ ( const cvec v1,
const cvec v2 
)

Template instantiation of operator+.

template const ivec itpp::operator+ ( const ivec v1,
const ivec v2 
)

Template instantiation of operator+.

template const svec itpp::operator+ ( const svec v1,
const svec v2 
)

Template instantiation of operator+.

template const bvec itpp::operator+ ( const bvec v1,
const bvec v2 
)

Template instantiation of operator+.

template const vec itpp::operator+ ( const vec v1,
double  t 
)

Template instantiation of operator+.

template const cvec itpp::operator+ ( const cvec v1,
std::complex< double >  t 
)

Template instantiation of operator+.

template const ivec itpp::operator+ ( const ivec v1,
int  t 
)

Template instantiation of operator+.

template const svec itpp::operator+ ( const svec v1,
short  t 
)

Template instantiation of operator+.

template const bvec itpp::operator+ ( const bvec v1,
bin  t 
)

Template instantiation of operator+.

template const vec itpp::operator+ ( double  t,
const vec v1 
)

Template instantiation of operator+.

template const cvec itpp::operator+ ( std::complex< double >  t,
const cvec v1 
)

Template instantiation of operator+.

template const ivec itpp::operator+ ( int  t,
const ivec v1 
)

Template instantiation of operator+.

template const svec itpp::operator+ ( short  t,
const svec v1 
)

Template instantiation of operator+.

template const bvec itpp::operator+ ( bin  t,
const bvec v1 
)

Template instantiation of operator+.

template const vec itpp::operator- ( const vec v1,
const vec v2 
)

Template instantiation of operator-.

template const cvec itpp::operator- ( const cvec v1,
const cvec v2 
)

Template instantiation of operator-.

template const ivec itpp::operator- ( const ivec v1,
const ivec v2 
)

Template instantiation of operator-.

template const svec itpp::operator- ( const svec v1,
const svec v2 
)

Template instantiation of operator-.

template const bvec itpp::operator- ( const bvec v1,
const bvec v2 
)

Template instantiation of operator-.

template const vec itpp::operator- ( const vec v,
double  t 
)

Template instantiation of operator-.

template const cvec itpp::operator- ( const cvec v,
std::complex< double >  t 
)

Template instantiation of operator-.

template const ivec itpp::operator- ( const ivec v,
int  t 
)

Template instantiation of operator-.

template const svec itpp::operator- ( const svec v,
short  t 
)

Template instantiation of operator-.

template const bvec itpp::operator- ( const bvec v,
bin  t 
)

Template instantiation of operator-.

template const vec itpp::operator- ( double  t,
const vec v 
)

Template instantiation of operator-.

template const cvec itpp::operator- ( std::complex< double >  t,
const cvec v 
)

Template instantiation of operator-.

template const ivec itpp::operator- ( int  t,
const ivec v 
)

Template instantiation of operator-.

template const svec itpp::operator- ( short  t,
const svec v 
)

Template instantiation of operator-.

template const bvec itpp::operator- ( bin  t,
const bvec v 
)

Template instantiation of operator-.

template const vec itpp::operator- ( const vec v  ) 

Template instantiation of operator-.

template const cvec itpp::operator- ( const cvec v  ) 

Template instantiation of operator-.

template const ivec itpp::operator- ( const ivec v  ) 

Template instantiation of operator-.

template const svec itpp::operator- ( const svec v  ) 

Template instantiation of operator-.

template const bvec itpp::operator- ( const bvec v  ) 

Template instantiation of operator-.

template int itpp::dot ( const ivec v1,
const ivec v2 
)

Template instantiation of dot.

template short itpp::dot ( const svec v1,
const svec v2 
)

Template instantiation of dot.

template bin itpp::dot ( const bvec v1,
const bvec v2 
)

Template instantiation of dot.

template int itpp::operator * ( const ivec v1,
const ivec v2 
)

Template instantiation of operator*.

template short itpp::operator * ( const svec v1,
const svec v2 
)

Template instantiation of operator*.

template bin itpp::operator * ( const bvec v1,
const bvec v2 
)

Template instantiation of operator*.

template const mat itpp::outer_product ( const vec v1,
const vec v2 
)

Template instantiation of outer_product.

Referenced by itpp::GMM::init_from_vq(), and itpp::Newton_Search::search().

template const cmat itpp::outer_product ( const cvec v1,
const cvec v2 
)

Template instantiation of outer_product.

template const imat itpp::outer_product ( const ivec v1,
const ivec v2 
)

Template instantiation of outer_product.

template const smat itpp::outer_product ( const svec v1,
const svec v2 
)

Template instantiation of outer_product.

template const bmat itpp::outer_product ( const bvec v1,
const bvec v2 
)

Template instantiation of outer_product.

template const vec itpp::operator * ( const vec v,
double  t 
)

Template instantiation of operator*.

template const cvec itpp::operator * ( const cvec v,
std::complex< double >  t 
)

Template instantiation of operator*.

template const ivec itpp::operator * ( const ivec v,
int  t 
)

Template instantiation of operator*.

template const svec itpp::operator * ( const svec v,
short  t 
)

Template instantiation of operator*.

template const bvec itpp::operator * ( const bvec v,
bin  t 
)

Template instantiation of operator*.

template const vec itpp::operator * ( double  t,
const vec v 
)

Template instantiation of operator*.

template const cvec itpp::operator * ( std::complex< double >  t,
const cvec v 
)

Template instantiation of operator*.

template const ivec itpp::operator * ( int  t,
const ivec v 
)

Template instantiation of operator*.

template const svec itpp::operator * ( short  t,
const svec v 
)

Template instantiation of operator*.

template const bvec itpp::operator * ( bin  t,
const bvec v 
)

Template instantiation of operator*.

template const vec itpp::elem_mult ( const vec v1,
const vec v2 
)

Template instantiation of elem_mult.

template const cvec itpp::elem_mult ( const cvec v1,
const cvec v2 
)

Template instantiation of elem_mult.

template const ivec itpp::elem_mult ( const ivec v1,
const ivec v2 
)

Template instantiation of elem_mult.

template const svec itpp::elem_mult ( const svec v1,
const svec v2 
)

Template instantiation of elem_mult.

template const bvec itpp::elem_mult ( const bvec v1,
const bvec v2 
)

Template instantiation of elem_mult.

template const vec itpp::elem_mult ( const vec v1,
const vec v2,
const vec v3 
)

Template instantiation of elem_mult.

template const cvec itpp::elem_mult ( const cvec v1,
const cvec v2,
const cvec v3 
)

Template instantiation of elem_mult.

template const ivec itpp::elem_mult ( const ivec v1,
const ivec v2,
const ivec v3 
)

Template instantiation of elem_mult.

template const svec itpp::elem_mult ( const svec v1,
const svec v2,
const svec v3 
)

Template instantiation of elem_mult.

template const bvec itpp::elem_mult ( const bvec v1,
const bvec v2,
const bvec v3 
)

Template instantiation of elem_mult.

template const vec itpp::elem_mult ( const vec v1,
const vec v2,
const vec v3,
const vec v4 
)

Template instantiation of elem_mult.

template const cvec itpp::elem_mult ( const cvec v1,
const cvec v2,
const cvec v3,
const cvec v4 
)

Template instantiation of elem_mult.

template const ivec itpp::elem_mult ( const ivec v1,
const ivec v2,
const ivec v3,
const ivec v4 
)

Template instantiation of elem_mult.

template const svec itpp::elem_mult ( const svec v1,
const svec v2,
const svec v3,
const svec v4 
)

Template instantiation of elem_mult.

template const bvec itpp::elem_mult ( const bvec v1,
const bvec v2,
const bvec v3,
const bvec v4 
)

Template instantiation of elem_mult.

template const vec itpp::operator/ ( const vec v,
double  t 
)

Template instantiation of operator/.

template const cvec itpp::operator/ ( const cvec v,
std::complex< double >  t 
)

Template instantiation of operator/.

template const ivec itpp::operator/ ( const ivec v,
int  t 
)

Template instantiation of operator/.

template const svec itpp::operator/ ( const svec v,
short  t 
)

Template instantiation of operator/.

template const bvec itpp::operator/ ( const bvec v,
bin  t 
)

Template instantiation of operator/.

template const vec itpp::operator/ ( const double  t,
const vec v 
)

Template instantiation of operator/.

template const cvec itpp::operator/ ( const std::complex< double >  t,
const cvec v 
)

Template instantiation of operator/.

template const ivec itpp::operator/ ( const int  t,
const ivec v 
)

Template instantiation of operator/.

template const svec itpp::operator/ ( const short  t,
const svec v 
)

Template instantiation of operator/.

template const bvec itpp::operator/ ( const bin  t,
const bvec v 
)

Template instantiation of operator/.

template const vec itpp::elem_div ( const vec v1,
const vec v2 
)

Template instantiation of elem_div.

template const cvec itpp::elem_div ( const cvec v1,
const cvec v2 
)

Template instantiation of elem_div.

template const ivec itpp::elem_div ( const ivec v1,
const ivec v2 
)

Template instantiation of elem_div.

template const svec itpp::elem_div ( const svec v1,
const svec v2 
)

Template instantiation of elem_div.

template const bvec itpp::elem_div ( const bvec v1,
const bvec v2 
)

Template instantiation of elem_div.

template const vec itpp::elem_div ( const double  t,
const vec v 
)

Template instantiation of elem_div.

template const cvec itpp::elem_div ( const std::complex< double >  t,
const cvec v 
)

Template instantiation of elem_div.

template const ivec itpp::elem_div ( const int  t,
const ivec v 
)

Template instantiation of elem_div.

template const svec itpp::elem_div ( const short  t,
const svec v 
)

Template instantiation of elem_div.

template const bvec itpp::elem_div ( const bin  t,
const bvec v 
)

Template instantiation of elem_div.

template const vec itpp::concat ( const vec v,
const double  a 
)

Template instantiation of concat.

template const cvec itpp::concat ( const cvec v,
const std::complex< double >  a 
)

Template instantiation of concat.

template const ivec itpp::concat ( const ivec v,
const int  a 
)

Template instantiation of concat.

template const svec itpp::concat ( const svec v,
const short  a 
)

Template instantiation of concat.

template const bvec itpp::concat ( const bvec v,
const bin  a 
)

Template instantiation of concat.

template const vec itpp::concat ( const double  a,
const vec v 
)

Template instantiation of concat.

template const cvec itpp::concat ( const std::complex< double >  a,
const cvec v 
)

Template instantiation of concat.

template const ivec itpp::concat ( const int  a,
const ivec v 
)

Template instantiation of concat.

template const svec itpp::concat ( const short  a,
const svec v 
)

Template instantiation of concat.

template const bvec itpp::concat ( const bin  a,
const bvec v 
)

Template instantiation of concat.

template const vec itpp::concat ( const vec v1,
const vec v2 
)

Template instantiation of concat.

template const cvec itpp::concat ( const cvec v1,
const cvec v2 
)

Template instantiation of concat.

template const ivec itpp::concat ( const ivec v1,
const ivec v2 
)

Template instantiation of concat.

template const svec itpp::concat ( const svec v1,
const svec v2 
)

Template instantiation of concat.

template const bvec itpp::concat ( const bvec v1,
const bvec v2 
)

Template instantiation of concat.

template const vec itpp::concat ( const vec v1,
const vec v2,
const vec v3 
)

Template instantiation of concat.

template const cvec itpp::concat ( const cvec v1,
const cvec v2,
const cvec v3 
)

Template instantiation of concat.

template const ivec itpp::concat ( const ivec v1,
const ivec v2,
const ivec v3 
)

Template instantiation of concat.

template const svec itpp::concat ( const svec v1,
const svec v2,
const svec v3 
)

Template instantiation of concat.

template const bvec itpp::concat ( const bvec v1,
const bvec v2,
const bvec v3 
)

Template instantiation of concat.

template const vec itpp::concat ( const vec v1,
const vec v2,
const vec v3,
const vec v4 
)

Template instantiation of concat.

template const cvec itpp::concat ( const cvec v1,
const cvec v2,
const cvec v3,
const cvec v4 
)

Template instantiation of concat.

template const ivec itpp::concat ( const ivec v1,
const ivec v2,
const ivec v3,
const ivec v4 
)

Template instantiation of concat.

template const svec itpp::concat ( const svec v1,
const svec v2,
const svec v3,
const svec v4 
)

Template instantiation of concat.

template const bvec itpp::concat ( const bvec v1,
const bvec v2,
const bvec v3,
const bvec v4 
)

Template instantiation of concat.

template const vec itpp::concat ( const vec v1,
const vec v2,
const vec v3,
const vec v4,
const vec v5 
)

Template instantiation of concat.

template const cvec itpp::concat ( const cvec v1,
const cvec v2,
const cvec v3,
const cvec v4,
const cvec v5 
)

Template instantiation of concat.

template const ivec itpp::concat ( const ivec v1,
const ivec v2,
const ivec v3,
const ivec v4,
const ivec v5 
)

Template instantiation of concat.

template const svec itpp::concat ( const svec v1,
const svec v2,
const svec v3,
const svec v4,
const svec v5 
)

Template instantiation of concat.

template const bvec itpp::concat ( const bvec v1,
const bvec v2,
const bvec v3,
const bvec v4,
const bvec v5 
)

Template instantiation of concat.

template std::ostream & itpp::operator<< ( std::ostream &  os,
const vec vect 
)

Template instantiation of output stream.

template std::ostream & itpp::operator<< ( std::ostream &  os,
const cvec vect 
)

Template instantiation of output stream.

template std::ostream & itpp::operator<< ( std::ostream &  os,
const svec vect 
)

Template instantiation of output stream.

template std::ostream & itpp::operator<< ( std::ostream &  os,
const ivec vect 
)

Template instantiation of output stream.

template std::ostream & itpp::operator<< ( std::ostream &  os,
const bvec vect 
)

Template instantiation of output stream.

template std::istream & itpp::operator>> ( std::istream &  is,
vec vect 
)

Template instantiation of input stream.

template std::istream & itpp::operator>> ( std::istream &  is,
cvec vect 
)

Template instantiation of input stream.

template std::istream & itpp::operator>> ( std::istream &  is,
svec vect 
)

Template instantiation of input stream.

template std::istream & itpp::operator>> ( std::istream &  is,
ivec vect 
)

Template instantiation of input stream.

template std::istream & itpp::operator>> ( std::istream &  is,
bvec vect 
)

Template instantiation of input stream.

template<class Num_T>
const Vec< Num_T > itpp::operator+ ( const Vec< Num_T > &  v1,
const Vec< Num_T > &  v2 
) [inline]

Addition of two vectors.

Definition at line 681 of file vec.h.

References itpp::Vec< Num_T >::data, itpp::Vec< Num_T >::datasize, and it_assert1.

template<class Num_T>
const Vec< Num_T > itpp::operator+ ( const Vec< Num_T > &  v,
const Num_T  t 
) [inline]

Addition of a vector and a scalar.

Definition at line 694 of file vec.h.

References itpp::Vec< Num_T >::data, and itpp::Vec< Num_T >::datasize.

template<class Num_T>
const Vec< Num_T > itpp::operator+ ( const Num_T  t,
const Vec< Num_T > &  v 
) [inline]

Addition of a scalar and a vector.

Definition at line 706 of file vec.h.

References itpp::Vec< Num_T >::data, and itpp::Vec< Num_T >::datasize.

template<class Num_T>
const Vec< Num_T > itpp::operator- ( const Vec< Num_T > &  v1,
const Vec< Num_T > &  v2 
) [inline]

Subtraction of v2 from v1.

Definition at line 744 of file vec.h.

References itpp::Vec< Num_T >::data, itpp::Vec< Num_T >::datasize, and it_assert1.

template<class Num_T>
const Vec< Num_T > itpp::operator- ( const Vec< Num_T > &  v,
const Num_T  t 
) [inline]

Subtraction of scalar from vector.

Definition at line 757 of file vec.h.

References itpp::Vec< Num_T >::data, and itpp::Vec< Num_T >::datasize.

template<class Num_T>
const Vec< Num_T > itpp::operator- ( const Num_T  t,
const Vec< Num_T > &  v 
) [inline]

Sutraction of vector from scalar.

Definition at line 769 of file vec.h.

References itpp::Vec< Num_T >::data, and itpp::Vec< Num_T >::datasize.

template<class Num_T>
const Vec< Num_T > itpp::operator- ( const Vec< Num_T > &  v  )  [inline]

Negation of vector.

Definition at line 781 of file vec.h.

References itpp::Vec< Num_T >::data, and itpp::Vec< Num_T >::datasize.

template<class Num_T>
Num_T itpp::dot ( const Vec< Num_T > &  v1,
const Vec< Num_T > &  v2 
) [inline]

Inner (dot) product.

Definition at line 806 of file vec.h.

References itpp::Vec< Num_T >::data, itpp::Vec< Num_T >::datasize, and it_assert1.

Referenced by fpica().

template<class Num_T>
Num_T itpp::operator * ( const Vec< Num_T > &  v1,
const Vec< Num_T > &  v2 
)

Inner (dot) product.

Definition at line 81 of file vec.h.

References dot().

template<class Num_T>
const Mat< Num_T > itpp::outer_product ( const Vec< Num_T > &  v1,
const Vec< Num_T > &  v2 
) [inline]

Outer product of two vectors v1 and v2.

Definition at line 819 of file vec.h.

References itpp::Vec< Num_T >::data, itpp::Vec< Num_T >::datasize, and it_assert1.

template<class Num_T>
const Vec< Num_T > itpp::operator * ( const Vec< Num_T > &  v,
const Num_T  t 
) [inline]

Elementwise multiplication of vector and scalar.

Definition at line 837 of file vec.h.

References itpp::Vec< Num_T >::data, and itpp::Vec< Num_T >::datasize.

template<class Num_T>
const Vec< Num_T > itpp::operator * ( const Num_T  t,
const Vec< Num_T > &  v 
) [inline]

Elementwise multiplication of vector and scalar.

Definition at line 849 of file vec.h.

References itpp::Vec< Num_T >::data, and itpp::Vec< Num_T >::datasize.

template<class Num_T>
const Vec< Num_T > itpp::elem_mult ( const Vec< Num_T > &  v1,
const Vec< Num_T > &  v2 
) [inline]

Elementwise multiplication.

Definition at line 861 of file vec.h.

References itpp::Vec< Num_T >::data, itpp::Vec< Num_T >::datasize, and it_assert1.

template<class Num_T>
const Vec< Num_T > itpp::elem_mult ( const Vec< Num_T > &  v1,
const Vec< Num_T > &  v2,
const Vec< Num_T > &  v3 
) [inline]

Elementwise multiplication of three vectors.

Definition at line 874 of file vec.h.

References itpp::Vec< Num_T >::data, itpp::Vec< Num_T >::datasize, and it_assert1.

template<class Num_T>
const Vec< Num_T > itpp::elem_mult ( const Vec< Num_T > &  v1,
const Vec< Num_T > &  v2,
const Vec< Num_T > &  v3,
const Vec< Num_T > &  v4 
) [inline]

Elementwise multiplication of four vectors.

Definition at line 888 of file vec.h.

References itpp::Vec< Num_T >::data, itpp::Vec< Num_T >::datasize, and it_assert1.

Referenced by fpica().

template<class Num_T>
const Vec< Num_T > itpp::operator/ ( const Vec< Num_T > &  v,
const Num_T  t 
) [inline]

Elementwise division.

Definition at line 903 of file vec.h.

References itpp::Vec< Num_T >::data, and itpp::Vec< Num_T >::datasize.

template<class Num_T>
const Vec< Num_T > itpp::operator/ ( const Num_T  t,
const Vec< Num_T > &  v 
) [inline]

Elementwise division.

Definition at line 915 of file vec.h.

References itpp::Vec< Num_T >::data, and itpp::Vec< Num_T >::datasize.

template<class Num_T>
const Vec< Num_T > itpp::elem_div ( const Vec< Num_T > &  v1,
const Vec< Num_T > &  v2 
) [inline]

Elementwise division.

Definition at line 947 of file vec.h.

References itpp::Vec< Num_T >::data, itpp::Vec< Num_T >::datasize, and it_assert1.

template<class Num_T>
const Vec< Num_T > itpp::elem_div ( const Num_T  t,
const Vec< Num_T > &  v 
) [inline]

Elementwise division.

Definition at line 960 of file vec.h.

References itpp::Vec< Num_T >::data, and itpp::Vec< Num_T >::datasize.

template<class Num_T>
const Vec< Num_T > itpp::concat ( const Vec< Num_T > &  v,
const Num_T  a 
)

Append element a to the end of the vector v.

Definition at line 1087 of file vec.h.

References itpp::Vec< Num_T >::size().

template<class Num_T>
const Vec< Num_T > itpp::concat ( const Num_T  a,
const Vec< Num_T > &  v 
)

Concat element a to the beginning of the vector v.

Definition at line 1099 of file vec.h.

References itpp::Vec< Num_T >::size().

template<class Num_T>
const Vec< Num_T > itpp::concat ( const Vec< Num_T > &  v1,
const Vec< Num_T > &  v2 
)

Concat vectors v1 and v2.

Definition at line 1112 of file vec.h.

References itpp::Vec< Num_T >::size().

template<class Num_T>
const Vec< Num_T > itpp::concat ( const Vec< Num_T > &  v1,
const Vec< Num_T > &  v2,
const Vec< Num_T > &  v3 
)

Concat vectors v1, v2 and v3.

Definition at line 1127 of file vec.h.

References itpp::Vec< Num_T >::size().

template<class Num_T>
const Vec< Num_T > itpp::concat ( const Vec< Num_T > &  v1,
const Vec< Num_T > &  v2,
const Vec< Num_T > &  v3,
const Vec< Num_T > &  v4 
)

Concat vectors v1, v2, v3 and v4.

Definition at line 1146 of file vec.h.

References itpp::Vec< Num_T >::size().

template<class Num_T>
const Vec< Num_T > itpp::concat ( const Vec< Num_T > &  v1,
const Vec< Num_T > &  v2,
const Vec< Num_T > &  v3,
const Vec< Num_T > &  v4,
const Vec< Num_T > &  v5 
)

Concat vectors v1, v2 v3, v4 and v5.

Definition at line 1168 of file vec.h.

References itpp::Vec< Num_T >::size().

std::ostream& itpp::operator<< ( std::ostream &  os,
const GF &  ingf 
)

Output stream for GF(q).

Definition at line 94 of file galois.cpp.

References itpp::GF::value.

std::ostream& itpp::operator<< ( std::ostream &  os,
const GFX &  ingfx 
)

Output stream.

Definition at line 104 of file galois.cpp.

References itpp::GFX::coeffs, itpp::GFX::degree, and itpp::GFX::q.

GFX itpp::divgfx ( const GFX &  c,
const GFX &  g 
) [related]

Division of two GFX (local help function).

Definition at line 125 of file galois.cpp.

References itpp::GFX::clear(), itpp::GFX::get_degree(), itpp::GFX::get_size(), itpp::GFX::get_true_degree(), and itpp::GFX::set_degree().

Referenced by itpp::Reed_Solomon::decode(), and itpp::BCH::decode().

GFX itpp::modgfx ( const GFX &  a,
const GFX &  b 
) [related]

Modulo function of two GFX (local help function).

Definition at line 150 of file galois.cpp.

References itpp::GFX::clear(), itpp::GFX::get_degree(), itpp::GFX::get_size(), itpp::GFX::get_true_degree(), and itpp::GFX::set_degree().

GFX itpp::operator * ( const GF &  ingf,
const GFX &  ingfx 
) [inline]

Multiply a GF element with a GF(q)[x].

Definition at line 520 of file galois.h.

References itpp::GFX::degree, itpp::GF::get_size(), it_assert0, and itpp::GFX::q.

GFX itpp::operator * ( const GFX &  ingfx,
const GF &  ingf 
) [inline]

Multiply a GF(q)[x] with a GF element.

Definition at line 529 of file galois.h.

GFX itpp::operator/ ( const GFX &  ingfx,
const GF &  ingf 
) [inline]

Divide a GF(q)[x] with a GF element.

Definition at line 534 of file galois.h.

References itpp::GFX::degree, itpp::GF::get_size(), it_assert0, and itpp::GFX::q.

double itpp::com_logmap ( double  x,
double  y 
)

Branc metric calculation function for MAP decoding in the log-domain.

Definition at line 43 of file rec_syst_conv_code.cpp.

References exp(), and log().

Referenced by itpp::Rec_Syst_Conv_Code::log_decode(), and itpp::Rec_Syst_Conv_Code::log_decode_n2().

double itpp::com_logmax ( double  x,
double  y 
)

Branc metric calculation function for MAP decoding in the log-domain using a MAX approximation (default).

Definition at line 53 of file rec_syst_conv_code.cpp.

Referenced by itpp::Rec_Syst_Conv_Code::log_decode(), and itpp::Rec_Syst_Conv_Code::log_decode_n2().

GFX itpp::formal_derivate ( const GFX &  f  ) 

Local help function.

Definition at line 41 of file reedsolomon.cpp.

References itpp::GFX::get_size(), and itpp::GFX::get_true_degree().

Referenced by itpp::Reed_Solomon::decode().


Variable Documentation

const Factory itpp::DEFAULT_FACTORY

Default (dummy) factory.

Definition at line 136 of file factory.h.

bool itpp::__Random_Generator_seed_is_initialized = false [static]

Variable used to ensure proper seed initialization.

Definition at line 44 of file random.cpp.

Referenced by itpp::Random_Generator::Random_Generator().

const double itpp::pi = 3.14159265358979323846

Constant pi.

Definition at line 115 of file scalfunc.h.

Referenced by arma_estimator(), blackman(), cerf_rybicki(), cerf_series(), cerfc_continued_fraction(), deg_to_rad(), itpp::PSK::demodulate_bits(), freqz(), itpp::IFFT_Fading_Generator::generate(), itpp::FIR_Fading_Generator::generate(), itpp::Rice_Fading_Generator::generate(), itpp::IFFT_Fading_Generator::generate_Jakes(), itpp::Fading_Generator::generate_zero_doppler(), gmmtrain(), hamming(), hann(), hanning(), itpp::Impulse_Source::Impulse_Source(), itpp::Rice_Fading_Generator::init_MEDS(), jake_filter(), poly2lsf(), rad_to_deg(), itpp::Sawtooth_Source::Sawtooth_Source(), itpp::ND_UPSK::set_Gray_PSK(), itpp::PSK::set_M(), itpp::Root_Raised_Cosine< T1 >::set_pulse_shape(), itpp::Raised_Cosine< T1 >::set_pulse_shape(), sinc(), itpp::Sine_Source::Sine_Source(), itpp::Square_Source::Square_Source(), and itpp::Triangle_Source::Triangle_Source().

const double itpp::m_2pi = 2 * pi

Constant 2*Pi.

Definition at line 118 of file scalfunc.h.

Referenced by itpp::Complex_Normal_RNG::sample().

const double itpp::eps = std::numeric_limits<double>::epsilon()

Constant eps.

Definition at line 121 of file scalfunc.h.

Referenced by cerfc_continued_fraction(), orth(), itpp::Line_Search::search(), and itpp::Newton_Search::search().

const double itpp::log_double_max = std::log(std::numeric_limits<double>::max())

Constant definition to speed up trunc_log and trunc_exp functions.

Definition at line 124 of file scalfunc.h.

Referenced by trunc_exp(), and trunc_log().

const double itpp::log_double_min = std::log(std::numeric_limits<double>::min())

Constant definition to speed up trunc_log and trunc_exp functions.

Definition at line 126 of file scalfunc.h.

Referenced by trunc_log().

Real_Timer itpp::__tic_toc_timer

Global object for tic and toc functions.

Definition at line 77 of file timing.cpp.

Referenced by tic(), toc(), and toc_print().

double(*) itpp::com_log(double, double) = NULL

Pointer to logarithmic branch metric function.

Definition at line 40 of file rec_syst_conv_code.cpp.

Referenced by itpp::Rec_Syst_Conv_Code::log_decode(), and itpp::Rec_Syst_Conv_Code::log_decode_n2().

SourceForge Logo

Generated on Thu Apr 19 14:43:48 2007 for IT++ by Doxygen 1.5.1