GNU Octave  9.1.0
A high-level interpreted language, primarily intended for numerical computations, mostly compatible with Matlab
fMatrix.h File Reference
#include "octave-config.h"
#include "DET.h"
#include "MArray.h"
#include "MDiagArray2.h"
#include "MatrixType.h"
#include "fNDArray.h"
#include "mx-defs.h"
#include "mx-op-decl.h"

Go to the source code of this file.

Classes

class  FloatMatrix
 

Functions

FloatMatrix Givens (float, float)
 
FloatMatrix imag (const FloatComplexMatrix &a)
 
FloatMatrix linspace (const FloatColumnVector &x1, const FloatColumnVector &x2, octave_idx_type n)
 
FloatMatrix max (const FloatMatrix &a, const FloatMatrix &b)
 
FloatMatrix max (const FloatMatrix &m, float d)
 
FloatMatrix max (float d, const FloatMatrix &m)
 
FloatMatrix min (const FloatMatrix &a, const FloatMatrix &b)
 
FloatMatrix min (const FloatMatrix &m, float d)
 
FloatMatrix min (float d, const FloatMatrix &m)
 
boolMatrix mx_el_and (const float &, const FloatMatrix &)
 
boolMatrix mx_el_and (const FloatMatrix &, const float &)
 
boolMatrix mx_el_and (const FloatMatrix &, const FloatMatrix &)
 
boolMatrix mx_el_eq (const float &, const FloatMatrix &)
 
boolMatrix mx_el_eq (const FloatMatrix &, const float &)
 
boolMatrix mx_el_eq (const FloatMatrix &, const FloatMatrix &)
 
boolMatrix mx_el_ge (const float &, const FloatMatrix &)
 
boolMatrix mx_el_ge (const FloatMatrix &, const float &)
 
boolMatrix mx_el_ge (const FloatMatrix &, const FloatMatrix &)
 
boolMatrix mx_el_gt (const float &, const FloatMatrix &)
 
boolMatrix mx_el_gt (const FloatMatrix &, const float &)
 
boolMatrix mx_el_gt (const FloatMatrix &, const FloatMatrix &)
 
boolMatrix mx_el_le (const float &, const FloatMatrix &)
 
boolMatrix mx_el_le (const FloatMatrix &, const float &)
 
boolMatrix mx_el_le (const FloatMatrix &, const FloatMatrix &)
 
boolMatrix mx_el_lt (const float &, const FloatMatrix &)
 
boolMatrix mx_el_lt (const FloatMatrix &, const float &)
 
boolMatrix mx_el_lt (const FloatMatrix &, const FloatMatrix &)
 
boolMatrix mx_el_ne (const float &, const FloatMatrix &)
 
boolMatrix mx_el_ne (const FloatMatrix &, const float &)
 
boolMatrix mx_el_ne (const FloatMatrix &, const FloatMatrix &)
 
boolMatrix mx_el_or (const float &, const FloatMatrix &)
 
boolMatrix mx_el_or (const FloatMatrix &, const float &)
 
boolMatrix mx_el_or (const FloatMatrix &, const FloatMatrix &)
 
FloatMatrix operator* (const float &x, const FloatMatrix &y)
 
FloatMatrix operator* (const FloatColumnVector &a, const FloatRowVector &b)
 
FloatMatrix operator* (const FloatMatrix &a, const FloatMatrix &b)
 
FloatMatrix operator* (const FloatMatrix &x, const float &y)
 
FloatMatrix operator*= (FloatMatrix &x, const float &y)
 
FloatMatrix operator+ (const float &x, const FloatMatrix &y)
 
FloatMatrix operator+ (const FloatMatrix &x)
 
FloatMatrix operator+ (const FloatMatrix &x, const float &y)
 
FloatMatrix operator+ (const FloatMatrix &x, const FloatMatrix &y)
 
FloatMatrix operator+= (FloatMatrix &x, const float &y)
 
FloatMatrix operator+= (FloatMatrix &x, const FloatMatrix &y)
 
FloatMatrix operator- (const float &x, const FloatMatrix &y)
 
FloatMatrix operator- (const FloatMatrix &x)
 
FloatMatrix operator- (const FloatMatrix &x, const float &y)
 
FloatMatrix operator- (const FloatMatrix &x, const FloatMatrix &y)
 
FloatMatrix operator-= (FloatMatrix &x, const float &y)
 
FloatMatrix operator-= (FloatMatrix &x, const FloatMatrix &y)
 
FloatMatrix operator/ (const float &x, const FloatMatrix &y)
 
FloatMatrix operator/ (const FloatMatrix &x, const float &y)
 
FloatMatrix operator/= (FloatMatrix &x, const float &y)
 
FloatMatrix product (const FloatMatrix &x, const FloatMatrix &y)
 
FloatMatrix product_eq (FloatMatrix &x, const FloatMatrix &y)
 
FloatMatrix quotient (const FloatMatrix &x, const FloatMatrix &y)
 
FloatMatrix quotient_eq (FloatMatrix &x, const FloatMatrix &y)
 
template<typename T >
void read_int (std::istream &is, bool swap_bytes, T &val)
 
FloatMatrix real (const FloatComplexMatrix &a)
 
FloatMatrix Sylvester (const FloatMatrix &, const FloatMatrix &, const FloatMatrix &)
 
FloatMatrix xgemm (const FloatMatrix &a, const FloatMatrix &b, blas_trans_type transa=blas_no_trans, blas_trans_type transb=blas_no_trans)
 

Function Documentation

◆ Givens()

FloatMatrix Givens ( float  x,
float  y 
)

Definition at line 2697 of file fMatrix.cc.

References Array< T, Alloc >::elem(), F77_FUNC(), and x.

◆ imag()

FloatMatrix imag ( const FloatComplexMatrix a)

Definition at line 135 of file fMatrix.cc.

◆ linspace()

FloatMatrix linspace ( const FloatColumnVector x1,
const FloatColumnVector x2,
octave_idx_type  n 
)

Definition at line 3018 of file fMatrix.cc.

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

◆ max() [1/3]

FloatMatrix max ( const FloatMatrix a,
const FloatMatrix b 
)

◆ max() [2/3]

FloatMatrix max ( const FloatMatrix m,
float  d 
)

Definition at line 2974 of file fMatrix.cc.

References d, EMPTY_RETURN_CHECK, m, and max().

◆ max() [3/3]

FloatMatrix max ( float  d,
const FloatMatrix m 
)

Definition at line 2954 of file fMatrix.cc.

References d, EMPTY_RETURN_CHECK, and m.

Referenced by max(), and FloatMatrix::pseudo_inverse().

◆ min() [1/3]

FloatMatrix min ( const FloatMatrix a,
const FloatMatrix b 
)

◆ min() [2/3]

FloatMatrix min ( const FloatMatrix m,
float  d 
)

Definition at line 2910 of file fMatrix.cc.

References d, EMPTY_RETURN_CHECK, m, and min().

◆ min() [3/3]

FloatMatrix min ( float  d,
const FloatMatrix m 
)

Definition at line 2890 of file fMatrix.cc.

References d, EMPTY_RETURN_CHECK, and m.

Referenced by min(), and FloatMatrix::pseudo_inverse().

◆ mx_el_and() [1/3]

boolMatrix mx_el_and ( const float &  s,
const FloatMatrix m 
)

Definition at line 3048 of file fMatrix.cc.

◆ mx_el_and() [2/3]

boolMatrix mx_el_and ( const FloatMatrix m,
const float &  s 
)

Definition at line 3045 of file fMatrix.cc.

◆ mx_el_and() [3/3]

boolMatrix mx_el_and ( const FloatMatrix m1,
const FloatMatrix m2 
)

Definition at line 3051 of file fMatrix.cc.

◆ mx_el_eq() [1/3]

boolMatrix mx_el_eq ( const float &  s,
const FloatMatrix m 
)

Definition at line 3047 of file fMatrix.cc.

◆ mx_el_eq() [2/3]

boolMatrix mx_el_eq ( const FloatMatrix m,
const float &  s 
)

Definition at line 3044 of file fMatrix.cc.

◆ mx_el_eq() [3/3]

boolMatrix mx_el_eq ( const FloatMatrix m1,
const FloatMatrix m2 
)

Definition at line 3050 of file fMatrix.cc.

◆ mx_el_ge() [1/3]

boolMatrix mx_el_ge ( const float &  s,
const FloatMatrix m 
)

Definition at line 3047 of file fMatrix.cc.

◆ mx_el_ge() [2/3]

boolMatrix mx_el_ge ( const FloatMatrix m,
const float &  s 
)

Definition at line 3044 of file fMatrix.cc.

◆ mx_el_ge() [3/3]

boolMatrix mx_el_ge ( const FloatMatrix m1,
const FloatMatrix m2 
)

Definition at line 3050 of file fMatrix.cc.

◆ mx_el_gt() [1/3]

boolMatrix mx_el_gt ( const float &  s,
const FloatMatrix m 
)

Definition at line 3047 of file fMatrix.cc.

◆ mx_el_gt() [2/3]

boolMatrix mx_el_gt ( const FloatMatrix m,
const float &  s 
)

Definition at line 3044 of file fMatrix.cc.

◆ mx_el_gt() [3/3]

boolMatrix mx_el_gt ( const FloatMatrix m1,
const FloatMatrix m2 
)

Definition at line 3050 of file fMatrix.cc.

◆ mx_el_le() [1/3]

boolMatrix mx_el_le ( const float &  s,
const FloatMatrix m 
)

Definition at line 3047 of file fMatrix.cc.

◆ mx_el_le() [2/3]

boolMatrix mx_el_le ( const FloatMatrix m,
const float &  s 
)

Definition at line 3044 of file fMatrix.cc.

◆ mx_el_le() [3/3]

boolMatrix mx_el_le ( const FloatMatrix m1,
const FloatMatrix m2 
)

Definition at line 3050 of file fMatrix.cc.

◆ mx_el_lt() [1/3]

boolMatrix mx_el_lt ( const float &  s,
const FloatMatrix m 
)

Definition at line 3047 of file fMatrix.cc.

◆ mx_el_lt() [2/3]

boolMatrix mx_el_lt ( const FloatMatrix m,
const float &  s 
)

Definition at line 3044 of file fMatrix.cc.

◆ mx_el_lt() [3/3]

boolMatrix mx_el_lt ( const FloatMatrix m1,
const FloatMatrix m2 
)

Definition at line 3050 of file fMatrix.cc.

◆ mx_el_ne() [1/3]

boolMatrix mx_el_ne ( const float &  s,
const FloatMatrix m 
)

Definition at line 3047 of file fMatrix.cc.

◆ mx_el_ne() [2/3]

boolMatrix mx_el_ne ( const FloatMatrix m,
const float &  s 
)

Definition at line 3044 of file fMatrix.cc.

◆ mx_el_ne() [3/3]

boolMatrix mx_el_ne ( const FloatMatrix m1,
const FloatMatrix m2 
)

Definition at line 3050 of file fMatrix.cc.

◆ mx_el_or() [1/3]

boolMatrix mx_el_or ( const float &  s,
const FloatMatrix m 
)

Definition at line 3048 of file fMatrix.cc.

◆ mx_el_or() [2/3]

boolMatrix mx_el_or ( const FloatMatrix m,
const float &  s 
)

Definition at line 3045 of file fMatrix.cc.

◆ mx_el_or() [3/3]

boolMatrix mx_el_or ( const FloatMatrix m1,
const FloatMatrix m2 
)

Definition at line 3051 of file fMatrix.cc.

◆ operator*() [1/4]

FloatMatrix operator* ( const float &  x,
const FloatMatrix y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ operator*() [2/4]

FloatMatrix operator* ( const FloatColumnVector a,
const FloatRowVector b 
)

◆ operator*() [3/4]

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

Definition at line 2878 of file fMatrix.cc.

References xgemm().

◆ operator*() [4/4]

FloatMatrix operator* ( const FloatMatrix x,
const float &  y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ operator*=()

FloatMatrix operator*= ( FloatMatrix x,
const float &  y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ operator+() [1/4]

FloatMatrix operator+ ( const float &  x,
const FloatMatrix y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ operator+() [2/4]

FloatMatrix operator+ ( const FloatMatrix x)
inline

Definition at line 448 of file fMatrix.h.

◆ operator+() [3/4]

FloatMatrix operator+ ( const FloatMatrix x,
const float &  y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ operator+() [4/4]

FloatMatrix operator+ ( const FloatMatrix x,
const FloatMatrix y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ operator+=() [1/2]

FloatMatrix operator+= ( FloatMatrix x,
const float &  y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ operator+=() [2/2]

FloatMatrix operator+= ( FloatMatrix x,
const FloatMatrix y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ operator-() [1/4]

FloatMatrix operator- ( const float &  x,
const FloatMatrix y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ operator-() [2/4]

FloatMatrix operator- ( const FloatMatrix x)
inline

Definition at line 448 of file fMatrix.h.

◆ operator-() [3/4]

FloatMatrix operator- ( const FloatMatrix x,
const float &  y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ operator-() [4/4]

FloatMatrix operator- ( const FloatMatrix x,
const FloatMatrix y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ operator-=() [1/2]

FloatMatrix operator-= ( FloatMatrix x,
const float &  y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ operator-=() [2/2]

FloatMatrix operator-= ( FloatMatrix x,
const FloatMatrix y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ operator/() [1/2]

FloatMatrix operator/ ( const float &  x,
const FloatMatrix y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ operator/() [2/2]

FloatMatrix operator/ ( const FloatMatrix x,
const float &  y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ operator/=()

FloatMatrix operator/= ( FloatMatrix x,
const float &  y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ product()

FloatMatrix product ( const FloatMatrix x,
const FloatMatrix y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ product_eq()

FloatMatrix product_eq ( FloatMatrix x,
const FloatMatrix y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ quotient()

FloatMatrix quotient ( const FloatMatrix x,
const FloatMatrix y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ quotient_eq()

FloatMatrix quotient_eq ( FloatMatrix x,
const FloatMatrix y 
)
inline

Definition at line 448 of file fMatrix.h.

◆ read_int()

template<typename T >
void read_int ( std::istream &  is,
bool  swap_bytes,
T &  val 
)

◆ real()

FloatMatrix real ( const FloatComplexMatrix a)

Definition at line 134 of file fMatrix.cc.

◆ Sylvester()

FloatMatrix Sylvester ( const FloatMatrix a,
const FloatMatrix b,
const FloatMatrix c 
)

◆ xgemm()