GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
fCMatrix.cc File Reference
#include <algorithm>
#include <complex>
#include <istream>
#include <limits>
#include <ostream>
#include "Array-util.h"
#include "DET.h"
#include "boolMatrix.h"
#include "chMatrix.h"
#include "chol.h"
#include "fCColVector.h"
#include "fCDiagMatrix.h"
#include "fCMatrix.h"
#include "fCNDArray.h"
#include "fCRowVector.h"
#include "lo-blas-proto.h"
#include "lo-error.h"
#include "lo-ieee.h"
#include "lo-lapack-proto.h"
#include "lo-mappers.h"
#include "lo-utils.h"
#include "mx-fcm-fdm.h"
#include "mx-fcm-fs.h"
#include "mx-fdm-fcm.h"
#include "mx-inlines.cc"
#include "mx-op-defs.h"
#include "oct-cmplx.h"
#include "oct-fftw.h"
#include "oct-locbuf.h"
#include "oct-norm.h"
#include "schur.h"
#include "svd.h"

Go to the source code of this file.

Macros

#define EMPTY_RETURN_CHECK(T)
 

Functions

FloatComplexMatrix conj (const FloatComplexMatrix &a)
 
FloatComplexMatrix Givens (const FloatComplex &x, const FloatComplex &y)
 
FloatComplexMatrix linspace (const FloatComplexColumnVector &x1, const FloatComplexColumnVector &x2, octave_idx_type n)
 
FloatComplexMatrix max (const FloatComplex &c, const FloatComplexMatrix &m)
 
FloatComplexMatrix max (const FloatComplexMatrix &a, const FloatComplexMatrix &b)
 
FloatComplexMatrix max (const FloatComplexMatrix &m, const FloatComplex &c)
 
FloatComplexMatrix min (const FloatComplex &c, const FloatComplexMatrix &m)
 
FloatComplexMatrix min (const FloatComplexMatrix &a, const FloatComplexMatrix &b)
 
FloatComplexMatrix min (const FloatComplexMatrix &m, const FloatComplex &c)
 
boolMatrix mx_el_and (const FloatComplex &s, const FloatComplexMatrix &m)
 
boolMatrix mx_el_and (const FloatComplexMatrix &m, const FloatComplex &s)
 
boolMatrix mx_el_and (const FloatComplexMatrix &m1, const FloatComplexMatrix &m2)
 
boolMatrix mx_el_eq (const FloatComplex &s, const FloatComplexMatrix &m)
 
boolMatrix mx_el_eq (const FloatComplexMatrix &m, const FloatComplex &s)
 
boolMatrix mx_el_eq (const FloatComplexMatrix &m1, const FloatComplexMatrix &m2)
 
boolMatrix mx_el_ge (const FloatComplex &s, const FloatComplexMatrix &m)
 
boolMatrix mx_el_ge (const FloatComplexMatrix &m, const FloatComplex &s)
 
boolMatrix mx_el_ge (const FloatComplexMatrix &m1, const FloatComplexMatrix &m2)
 
boolMatrix mx_el_gt (const FloatComplex &s, const FloatComplexMatrix &m)
 
boolMatrix mx_el_gt (const FloatComplexMatrix &m, const FloatComplex &s)
 
boolMatrix mx_el_gt (const FloatComplexMatrix &m1, const FloatComplexMatrix &m2)
 
boolMatrix mx_el_le (const FloatComplex &s, const FloatComplexMatrix &m)
 
boolMatrix mx_el_le (const FloatComplexMatrix &m, const FloatComplex &s)
 
boolMatrix mx_el_le (const FloatComplexMatrix &m1, const FloatComplexMatrix &m2)
 
boolMatrix mx_el_lt (const FloatComplex &s, const FloatComplexMatrix &m)
 
boolMatrix mx_el_lt (const FloatComplexMatrix &m, const FloatComplex &s)
 
boolMatrix mx_el_lt (const FloatComplexMatrix &m1, const FloatComplexMatrix &m2)
 
boolMatrix mx_el_ne (const FloatComplex &s, const FloatComplexMatrix &m)
 
boolMatrix mx_el_ne (const FloatComplexMatrix &m, const FloatComplex &s)
 
boolMatrix mx_el_ne (const FloatComplexMatrix &m1, const FloatComplexMatrix &m2)
 
boolMatrix mx_el_or (const FloatComplex &s, const FloatComplexMatrix &m)
 
boolMatrix mx_el_or (const FloatComplexMatrix &m, const FloatComplex &s)
 
boolMatrix mx_el_or (const FloatComplexMatrix &m1, const FloatComplexMatrix &m2)
 
FloatComplexMatrix operator* (const FloatColumnVector &v, const FloatComplexRowVector &a)
 
FloatComplexMatrix operator* (const FloatComplexColumnVector &a, const FloatRowVector &b)
 
FloatComplexMatrix operator* (const FloatComplexColumnVector &v, const FloatComplexRowVector &a)
 
FloatComplexMatrix operator* (const FloatComplexMatrix &a, const FloatComplexMatrix &b)
 
FloatComplexMatrix operator* (const FloatComplexMatrix &m, const FloatMatrix &a)
 
FloatComplexMatrix operator* (const FloatMatrix &m, const FloatComplexMatrix &a)
 
std::ostream & operator<< (std::ostream &os, const FloatComplexMatrix &a)
 
std::istream & operator>> (std::istream &is, FloatComplexMatrix &a)
 
FloatComplexMatrix Sylvester (const FloatComplexMatrix &a, const FloatComplexMatrix &b, const FloatComplexMatrix &c)
 
FloatComplexMatrix xgemm (const FloatComplexMatrix &a, const FloatComplexMatrix &b, blas_trans_type transa, blas_trans_type transb)
 

Macro Definition Documentation

◆ EMPTY_RETURN_CHECK

#define EMPTY_RETURN_CHECK (   T)
Value:
if (nr == 0 || nc == 0) \
return T (nr, nc);

Definition at line 3508 of file fCMatrix.cc.

Function Documentation

◆ conj()

Definition at line 678 of file fCMatrix.cc.

Referenced by Givens(), and FloatComplexMatrix::hermitian().

◆ Givens()

FloatComplexMatrix Givens ( const FloatComplex x,
const FloatComplex y 
)

◆ linspace()

Definition at line 3660 of file fCMatrix.cc.

References Array< T, Alloc >::clear(), m, n, and Array< T, Alloc >::numel().

◆ max() [1/3]

FloatComplexMatrix max ( const FloatComplex c,
const FloatComplexMatrix m 
)

Definition at line 3585 of file fCMatrix.cc.

References EMPTY_RETURN_CHECK, and m.

Referenced by FloatComplexMatrix::lssolve(), max(), and FloatComplexMatrix::pseudo_inverse().

◆ max() [2/3]

◆ max() [3/3]

FloatComplexMatrix max ( const FloatComplexMatrix m,
const FloatComplex c 
)

Definition at line 3605 of file fCMatrix.cc.

References m, and max().

◆ min() [1/3]

FloatComplexMatrix min ( const FloatComplex c,
const FloatComplexMatrix m 
)

Definition at line 3513 of file fCMatrix.cc.

References EMPTY_RETURN_CHECK, and m.

Referenced by min(), operator*(), and FloatComplexMatrix::pseudo_inverse().

◆ min() [2/3]

◆ min() [3/3]

FloatComplexMatrix min ( const FloatComplexMatrix m,
const FloatComplex c 
)

Definition at line 3533 of file fCMatrix.cc.

References m, and min().

◆ mx_el_and() [1/3]

boolMatrix mx_el_and ( const FloatComplex s,
const FloatComplexMatrix m 
)

Definition at line 3690 of file fCMatrix.cc.

◆ mx_el_and() [2/3]

boolMatrix mx_el_and ( const FloatComplexMatrix m,
const FloatComplex s 
)

Definition at line 3687 of file fCMatrix.cc.

◆ mx_el_and() [3/3]

boolMatrix mx_el_and ( const FloatComplexMatrix m1,
const FloatComplexMatrix m2 
)

Definition at line 3693 of file fCMatrix.cc.

◆ mx_el_eq() [1/3]

boolMatrix mx_el_eq ( const FloatComplex s,
const FloatComplexMatrix m 
)

Definition at line 3689 of file fCMatrix.cc.

◆ mx_el_eq() [2/3]

boolMatrix mx_el_eq ( const FloatComplexMatrix m,
const FloatComplex s 
)

Definition at line 3686 of file fCMatrix.cc.

◆ mx_el_eq() [3/3]

boolMatrix mx_el_eq ( const FloatComplexMatrix m1,
const FloatComplexMatrix m2 
)

Definition at line 3692 of file fCMatrix.cc.

◆ mx_el_ge() [1/3]

boolMatrix mx_el_ge ( const FloatComplex s,
const FloatComplexMatrix m 
)

Definition at line 3689 of file fCMatrix.cc.

◆ mx_el_ge() [2/3]

boolMatrix mx_el_ge ( const FloatComplexMatrix m,
const FloatComplex s 
)

Definition at line 3686 of file fCMatrix.cc.

◆ mx_el_ge() [3/3]

boolMatrix mx_el_ge ( const FloatComplexMatrix m1,
const FloatComplexMatrix m2 
)

Definition at line 3692 of file fCMatrix.cc.

◆ mx_el_gt() [1/3]

boolMatrix mx_el_gt ( const FloatComplex s,
const FloatComplexMatrix m 
)

Definition at line 3689 of file fCMatrix.cc.

◆ mx_el_gt() [2/3]

boolMatrix mx_el_gt ( const FloatComplexMatrix m,
const FloatComplex s 
)

Definition at line 3686 of file fCMatrix.cc.

◆ mx_el_gt() [3/3]

boolMatrix mx_el_gt ( const FloatComplexMatrix m1,
const FloatComplexMatrix m2 
)

Definition at line 3692 of file fCMatrix.cc.

◆ mx_el_le() [1/3]

boolMatrix mx_el_le ( const FloatComplex s,
const FloatComplexMatrix m 
)

Definition at line 3689 of file fCMatrix.cc.

◆ mx_el_le() [2/3]

boolMatrix mx_el_le ( const FloatComplexMatrix m,
const FloatComplex s 
)

Definition at line 3686 of file fCMatrix.cc.

◆ mx_el_le() [3/3]

boolMatrix mx_el_le ( const FloatComplexMatrix m1,
const FloatComplexMatrix m2 
)

Definition at line 3692 of file fCMatrix.cc.

◆ mx_el_lt() [1/3]

boolMatrix mx_el_lt ( const FloatComplex s,
const FloatComplexMatrix m 
)

Definition at line 3689 of file fCMatrix.cc.

◆ mx_el_lt() [2/3]

boolMatrix mx_el_lt ( const FloatComplexMatrix m,
const FloatComplex s 
)

Definition at line 3686 of file fCMatrix.cc.

◆ mx_el_lt() [3/3]

boolMatrix mx_el_lt ( const FloatComplexMatrix m1,
const FloatComplexMatrix m2 
)

Definition at line 3692 of file fCMatrix.cc.

◆ mx_el_ne() [1/3]

boolMatrix mx_el_ne ( const FloatComplex s,
const FloatComplexMatrix m 
)

Definition at line 3689 of file fCMatrix.cc.

◆ mx_el_ne() [2/3]

boolMatrix mx_el_ne ( const FloatComplexMatrix m,
const FloatComplex s 
)

Definition at line 3686 of file fCMatrix.cc.

◆ mx_el_ne() [3/3]

boolMatrix mx_el_ne ( const FloatComplexMatrix m1,
const FloatComplexMatrix m2 
)

Definition at line 3692 of file fCMatrix.cc.

◆ mx_el_or() [1/3]

boolMatrix mx_el_or ( const FloatComplex s,
const FloatComplexMatrix m 
)

Definition at line 3690 of file fCMatrix.cc.

◆ mx_el_or() [2/3]

boolMatrix mx_el_or ( const FloatComplexMatrix m,
const FloatComplex s 
)

Definition at line 3687 of file fCMatrix.cc.

◆ mx_el_or() [3/3]

boolMatrix mx_el_or ( const FloatComplexMatrix m1,
const FloatComplexMatrix m2 
)

Definition at line 3693 of file fCMatrix.cc.

◆ operator*() [1/6]

FloatComplexMatrix operator* ( const FloatColumnVector v,
const FloatComplexRowVector a 
)

Definition at line 2652 of file fCMatrix.cc.

◆ operator*() [2/6]

FloatComplexMatrix operator* ( const FloatComplexColumnVector a,
const FloatRowVector b 
)

Definition at line 2659 of file fCMatrix.cc.

◆ operator*() [3/6]

◆ operator*() [4/6]

FloatComplexMatrix operator* ( const FloatComplexMatrix a,
const FloatComplexMatrix b 
)

Definition at line 3500 of file fCMatrix.cc.

References xgemm().

◆ operator*() [5/6]

FloatComplexMatrix operator* ( const FloatComplexMatrix m,
const FloatMatrix a 
)

Definition at line 3329 of file fCMatrix.cc.

References Array< T, Alloc >::columns(), imag(), m, min(), and real().

◆ operator*() [6/6]

FloatComplexMatrix operator* ( const FloatMatrix m,
const FloatComplexMatrix a 
)

Definition at line 3338 of file fCMatrix.cc.

References Array< T, Alloc >::columns(), imag(), m, min(), real(), and Array< T, Alloc >::rows().

◆ operator<<()

std::ostream& operator<< ( std::ostream &  os,
const FloatComplexMatrix a 
)

Definition at line 3220 of file fCMatrix.cc.

◆ operator>>()

std::istream& operator>> ( std::istream &  is,
FloatComplexMatrix a 
)

Definition at line 3236 of file fCMatrix.cc.

◆ Sylvester()

◆ xgemm()