GNU Octave  4.4.1
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"
Include dependency graph for fMatrix.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  FloatMatrix
 

Functions

OCTAVE_API FloatMatrix Givens (float, float)
 
OCTAVE_API FloatMatrix imag (const FloatComplexMatrix &a)
 
OCTAVE_API FloatMatrix linspace (const FloatColumnVector &x1, const FloatColumnVector &x2, octave_idx_type n)
 
OCTAVE_API FloatMatrix max (float d, const FloatMatrix &m)
 
OCTAVE_API FloatMatrix max (const FloatMatrix &m, float d)
 
OCTAVE_API FloatMatrix max (const FloatMatrix &a, const FloatMatrix &b)
 
OCTAVE_API FloatMatrix min (float d, const FloatMatrix &m)
 
OCTAVE_API FloatMatrix min (const FloatMatrix &m, float d)
 
OCTAVE_API FloatMatrix min (const FloatMatrix &a, const FloatMatrix &b)
 
OCTAVE_API boolMatrix mx_el_and (const FloatMatrix &, const float &)
 
OCTAVE_API boolMatrix mx_el_and (const float &, const FloatMatrix &)
 
OCTAVE_API boolMatrix mx_el_and (const FloatMatrix &, const FloatMatrix &)
 
OCTAVE_API boolMatrix mx_el_eq (const FloatMatrix &, const float &)
 
OCTAVE_API boolMatrix mx_el_eq (const float &, const FloatMatrix &)
 
OCTAVE_API boolMatrix mx_el_eq (const FloatMatrix &, const FloatMatrix &)
 
OCTAVE_API boolMatrix mx_el_ge (const FloatMatrix &, const float &)
 
OCTAVE_API boolMatrix mx_el_ge (const float &, const FloatMatrix &)
 
OCTAVE_API boolMatrix mx_el_ge (const FloatMatrix &, const FloatMatrix &)
 
OCTAVE_API boolMatrix mx_el_gt (const FloatMatrix &, const float &)
 
OCTAVE_API boolMatrix mx_el_gt (const float &, const FloatMatrix &)
 
OCTAVE_API boolMatrix mx_el_gt (const FloatMatrix &, const FloatMatrix &)
 
OCTAVE_API boolMatrix mx_el_le (const FloatMatrix &, const float &)
 
OCTAVE_API boolMatrix mx_el_le (const float &, const FloatMatrix &)
 
OCTAVE_API boolMatrix mx_el_le (const FloatMatrix &, const FloatMatrix &)
 
OCTAVE_API boolMatrix mx_el_lt (const FloatMatrix &, const float &)
 
OCTAVE_API boolMatrix mx_el_lt (const float &, const FloatMatrix &)
 
OCTAVE_API boolMatrix mx_el_lt (const FloatMatrix &, const FloatMatrix &)
 
OCTAVE_API boolMatrix mx_el_ne (const FloatMatrix &, const float &)
 
OCTAVE_API boolMatrix mx_el_ne (const float &, const FloatMatrix &)
 
OCTAVE_API boolMatrix mx_el_ne (const FloatMatrix &, const FloatMatrix &)
 
OCTAVE_API boolMatrix mx_el_or (const FloatMatrix &, const float &)
 
OCTAVE_API boolMatrix mx_el_or (const float &, const FloatMatrix &)
 
OCTAVE_API boolMatrix mx_el_or (const FloatMatrix &, const FloatMatrix &)
 
OCTAVE_API FloatMatrix operator* (const FloatColumnVector &a, const FloatRowVector &b)
 
OCTAVE_API FloatMatrix operator* (const FloatMatrix &a, const FloatMatrix &b)
 
FloatMatrix operator* (const FloatMatrix &x, const float &y)
 
FloatMatrix operator* (const float &x, const FloatMatrix &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 FloatMatrix &x, const float &y)
 
FloatMatrix operator- (const float &x, const FloatMatrix &y)
 
FloatMatrix operator- (const FloatMatrix &x)
 
FloatMatrix operator- (const FloatMatrix &x, const FloatMatrix &y)
 
FloatMatrix operator-= (FloatMatrix &x, const FloatMatrix &y)
 
FloatMatrix operator-= (FloatMatrix &x, const float &y)
 
FloatMatrix operator/ (const FloatMatrix &x, const float &y)
 
FloatMatrix operator/ (const float &x, const FloatMatrix &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)
 
OCTAVE_API FloatMatrix real (const FloatComplexMatrix &a)
 
OCTAVE_API FloatMatrix Sylvester (const FloatMatrix &, const FloatMatrix &, const FloatMatrix &)
 
OCTAVE_API 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()

OCTAVE_API FloatMatrix Givens ( float  ,
float   
)

Definition at line 2872 of file fMatrix.cc.

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

◆ imag()

OCTAVE_API FloatMatrix imag ( const FloatComplexMatrix a)

Definition at line 396 of file fMatrix.cc.

References a, and mx_inline_imag().

Referenced by stack_complex_matrix().

◆ linspace()

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

Definition at line 3192 of file fMatrix.cc.

References current_liboctave_error_handler, i, Array< T >::numel(), and retval.

◆ max() [1/3]

OCTAVE_API FloatMatrix max ( float  d,
const FloatMatrix m 
)

◆ max() [2/3]

OCTAVE_API FloatMatrix max ( const FloatMatrix m,
float  d 
)

◆ max() [3/3]

OCTAVE_API FloatMatrix max ( const FloatMatrix a,
const FloatMatrix b 
)

◆ min() [1/3]

OCTAVE_API FloatMatrix min ( float  d,
const FloatMatrix m 
)

◆ min() [2/3]

OCTAVE_API FloatMatrix min ( const FloatMatrix m,
float  d 
)

◆ min() [3/3]

OCTAVE_API FloatMatrix min ( const FloatMatrix a,
const FloatMatrix b 
)

◆ mx_el_and() [1/3]

OCTAVE_API boolMatrix mx_el_and ( const FloatMatrix ,
const float  
)

Definition at line 3231 of file fMatrix.cc.

◆ mx_el_and() [2/3]

OCTAVE_API boolMatrix mx_el_and ( const float ,
const FloatMatrix  
)

Definition at line 3234 of file fMatrix.cc.

◆ mx_el_and() [3/3]

OCTAVE_API boolMatrix mx_el_and ( const FloatMatrix ,
const FloatMatrix  
)

Definition at line 3237 of file fMatrix.cc.

◆ mx_el_eq() [1/3]

OCTAVE_API boolMatrix mx_el_eq ( const FloatMatrix ,
const float  
)

Definition at line 3230 of file fMatrix.cc.

◆ mx_el_eq() [2/3]

OCTAVE_API boolMatrix mx_el_eq ( const float ,
const FloatMatrix  
)

Definition at line 3233 of file fMatrix.cc.

◆ mx_el_eq() [3/3]

OCTAVE_API boolMatrix mx_el_eq ( const FloatMatrix ,
const FloatMatrix  
)

Definition at line 3236 of file fMatrix.cc.

◆ mx_el_ge() [1/3]

OCTAVE_API boolMatrix mx_el_ge ( const FloatMatrix ,
const float  
)

Definition at line 3230 of file fMatrix.cc.

◆ mx_el_ge() [2/3]

OCTAVE_API boolMatrix mx_el_ge ( const float ,
const FloatMatrix  
)

Definition at line 3233 of file fMatrix.cc.

◆ mx_el_ge() [3/3]

OCTAVE_API boolMatrix mx_el_ge ( const FloatMatrix ,
const FloatMatrix  
)

Definition at line 3236 of file fMatrix.cc.

◆ mx_el_gt() [1/3]

OCTAVE_API boolMatrix mx_el_gt ( const FloatMatrix ,
const float  
)

Definition at line 3230 of file fMatrix.cc.

◆ mx_el_gt() [2/3]

OCTAVE_API boolMatrix mx_el_gt ( const float ,
const FloatMatrix  
)

Definition at line 3233 of file fMatrix.cc.

◆ mx_el_gt() [3/3]

OCTAVE_API boolMatrix mx_el_gt ( const FloatMatrix ,
const FloatMatrix  
)

Definition at line 3236 of file fMatrix.cc.

◆ mx_el_le() [1/3]

OCTAVE_API boolMatrix mx_el_le ( const FloatMatrix ,
const float  
)

Definition at line 3230 of file fMatrix.cc.

◆ mx_el_le() [2/3]

OCTAVE_API boolMatrix mx_el_le ( const float ,
const FloatMatrix  
)

Definition at line 3233 of file fMatrix.cc.

◆ mx_el_le() [3/3]

OCTAVE_API boolMatrix mx_el_le ( const FloatMatrix ,
const FloatMatrix  
)

Definition at line 3236 of file fMatrix.cc.

◆ mx_el_lt() [1/3]

OCTAVE_API boolMatrix mx_el_lt ( const FloatMatrix ,
const float  
)

Definition at line 3230 of file fMatrix.cc.

◆ mx_el_lt() [2/3]

OCTAVE_API boolMatrix mx_el_lt ( const float ,
const FloatMatrix  
)

Definition at line 3233 of file fMatrix.cc.

◆ mx_el_lt() [3/3]

OCTAVE_API boolMatrix mx_el_lt ( const FloatMatrix ,
const FloatMatrix  
)

Definition at line 3236 of file fMatrix.cc.

◆ mx_el_ne() [1/3]

OCTAVE_API boolMatrix mx_el_ne ( const FloatMatrix ,
const float  
)

Definition at line 3230 of file fMatrix.cc.

◆ mx_el_ne() [2/3]

OCTAVE_API boolMatrix mx_el_ne ( const float ,
const FloatMatrix  
)

Definition at line 3233 of file fMatrix.cc.

◆ mx_el_ne() [3/3]

OCTAVE_API boolMatrix mx_el_ne ( const FloatMatrix ,
const FloatMatrix  
)

Definition at line 3236 of file fMatrix.cc.

◆ mx_el_or() [1/3]

OCTAVE_API boolMatrix mx_el_or ( const FloatMatrix ,
const float  
)

Definition at line 3231 of file fMatrix.cc.

◆ mx_el_or() [2/3]

OCTAVE_API boolMatrix mx_el_or ( const float ,
const FloatMatrix  
)

Definition at line 3234 of file fMatrix.cc.

◆ mx_el_or() [3/3]

OCTAVE_API boolMatrix mx_el_or ( const FloatMatrix ,
const FloatMatrix  
)

Definition at line 3237 of file fMatrix.cc.

◆ operator*() [1/4]

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

Definition at line 2529 of file fMatrix.cc.

References a, c, Array< T >::data(), F77_XFCN, Array< T >::numel(), and retval.

◆ operator*() [2/4]

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

Definition at line 3053 of file fMatrix.cc.

References a, b, and xgemm().

◆ operator*() [3/4]

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

Definition at line 419 of file fMatrix.h.

◆ operator*() [4/4]

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

Definition at line 419 of file fMatrix.h.

◆ operator*=()

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

Definition at line 419 of file fMatrix.h.

◆ operator+() [1/4]

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

Definition at line 419 of file fMatrix.h.

◆ operator+() [2/4]

FloatMatrix operator+ ( const FloatMatrix x)
inline

Definition at line 419 of file fMatrix.h.

◆ operator+() [3/4]

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

Definition at line 419 of file fMatrix.h.

◆ operator+() [4/4]

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

Definition at line 419 of file fMatrix.h.

◆ operator+=() [1/2]

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

Definition at line 419 of file fMatrix.h.

◆ operator+=() [2/2]

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

Definition at line 419 of file fMatrix.h.

◆ operator-() [1/4]

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

Definition at line 419 of file fMatrix.h.

◆ operator-() [2/4]

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

Definition at line 419 of file fMatrix.h.

◆ operator-() [3/4]

FloatMatrix operator- ( const FloatMatrix x)
inline

Definition at line 419 of file fMatrix.h.

◆ operator-() [4/4]

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

Definition at line 419 of file fMatrix.h.

◆ operator-=() [1/2]

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

Definition at line 419 of file fMatrix.h.

◆ operator-=() [2/2]

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

Definition at line 419 of file fMatrix.h.

◆ operator/() [1/2]

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

Definition at line 419 of file fMatrix.h.

◆ operator/() [2/2]

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

Definition at line 419 of file fMatrix.h.

◆ operator/=()

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

Definition at line 419 of file fMatrix.h.

◆ product()

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

Definition at line 419 of file fMatrix.h.

◆ product_eq()

FloatMatrix product_eq ( FloatMatrix x,
const FloatMatrix y 
)
inline

Definition at line 419 of file fMatrix.h.

◆ quotient()

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

Definition at line 419 of file fMatrix.h.

◆ quotient_eq()

FloatMatrix quotient_eq ( FloatMatrix x,
const FloatMatrix y 
)
inline

Definition at line 419 of file fMatrix.h.

◆ read_int()

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

◆ real()

OCTAVE_API FloatMatrix real ( const FloatComplexMatrix a)

Definition at line 390 of file fMatrix.cc.

References a, and mx_inline_real().

Referenced by stack_complex_matrix().

◆ Sylvester()

◆ xgemm()

OCTAVE_API FloatMatrix xgemm ( const FloatMatrix a,
const FloatMatrix b,
blas_trans_type  transa = blas_no_trans,
blas_trans_type  transb = blas_no_trans 
)

Definition at line 2967 of file fMatrix.cc.

References a, a_nc, a_nr, b, b_nc, b_nr, blas_no_trans, c, octave::err_nonconformant(), F77_FUNC(), F77_XFCN, get_blas_trans_arg(), i, retval, and xsdot().

Referenced by operator*().