00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014
00015
00016
00017
00018
00019
00020
00021
00022
00023
00024 #if !defined (octave_xdiv_h)
00025 #define octave_xdiv_h 1
00026
00027 #include "mx-defs.h"
00028 #include "MatrixType.h"
00029
00030 extern Matrix xdiv (const Matrix& a, const Matrix& b, MatrixType &typ);
00031 extern ComplexMatrix xdiv (const Matrix& a, const ComplexMatrix& b,
00032 MatrixType &typ);
00033 extern ComplexMatrix xdiv (const ComplexMatrix& a, const Matrix& b,
00034 MatrixType &typ);
00035 extern ComplexMatrix xdiv (const ComplexMatrix& a, const ComplexMatrix& b,
00036 MatrixType &typ);
00037
00038 extern Matrix x_el_div (double a, const Matrix& b);
00039 extern ComplexMatrix x_el_div (double a, const ComplexMatrix& b);
00040 extern ComplexMatrix x_el_div (const Complex a, const Matrix& b);
00041 extern ComplexMatrix x_el_div (const Complex a, const ComplexMatrix& b);
00042
00043 extern NDArray x_el_div (double a, const NDArray& b);
00044 extern ComplexNDArray x_el_div (double a, const ComplexNDArray& b);
00045 extern ComplexNDArray x_el_div (const Complex a, const NDArray& b);
00046 extern ComplexNDArray x_el_div (const Complex a, const ComplexNDArray& b);
00047
00048 extern Matrix xleftdiv (const Matrix& a, const Matrix& b, MatrixType &typ,
00049 blas_trans_type transt = blas_no_trans);
00050 extern ComplexMatrix xleftdiv (const Matrix& a, const ComplexMatrix& b,
00051 MatrixType &typ, blas_trans_type transt = blas_no_trans);
00052 extern ComplexMatrix xleftdiv (const ComplexMatrix& a, const Matrix& b,
00053 MatrixType &typ, blas_trans_type transt = blas_no_trans);
00054 extern ComplexMatrix xleftdiv (const ComplexMatrix& a, const ComplexMatrix& b,
00055 MatrixType &typ, blas_trans_type transt = blas_no_trans);
00056
00057 extern FloatMatrix xdiv (const FloatMatrix& a, const FloatMatrix& b, MatrixType &typ);
00058 extern FloatComplexMatrix xdiv (const FloatMatrix& a, const FloatComplexMatrix& b,
00059 MatrixType &typ);
00060 extern FloatComplexMatrix xdiv (const FloatComplexMatrix& a, const FloatMatrix& b,
00061 MatrixType &typ);
00062 extern FloatComplexMatrix xdiv (const FloatComplexMatrix& a, const FloatComplexMatrix& b,
00063 MatrixType &typ);
00064
00065 extern FloatMatrix x_el_div (float a, const FloatMatrix& b);
00066 extern FloatComplexMatrix x_el_div (float a, const FloatComplexMatrix& b);
00067 extern FloatComplexMatrix x_el_div (const FloatComplex a, const FloatMatrix& b);
00068 extern FloatComplexMatrix x_el_div (const FloatComplex a, const FloatComplexMatrix& b);
00069
00070 extern FloatNDArray x_el_div (float a, const FloatNDArray& b);
00071 extern FloatComplexNDArray x_el_div (float a, const FloatComplexNDArray& b);
00072 extern FloatComplexNDArray x_el_div (const FloatComplex a, const FloatNDArray& b);
00073 extern FloatComplexNDArray x_el_div (const FloatComplex a, const FloatComplexNDArray& b);
00074
00075 extern FloatMatrix xleftdiv (const FloatMatrix& a, const FloatMatrix& b, MatrixType &typ,
00076 blas_trans_type transt = blas_no_trans);
00077 extern FloatComplexMatrix xleftdiv (const FloatMatrix& a, const FloatComplexMatrix& b,
00078 MatrixType &typ, blas_trans_type transt = blas_no_trans);
00079 extern FloatComplexMatrix xleftdiv (const FloatComplexMatrix& a, const FloatMatrix& b,
00080 MatrixType &typ, blas_trans_type transt = blas_no_trans);
00081 extern FloatComplexMatrix xleftdiv (const FloatComplexMatrix& a, const FloatComplexMatrix& b,
00082 MatrixType &typ, blas_trans_type transt = blas_no_trans);
00083
00084
00085 extern Matrix xdiv (const Matrix& a, const DiagMatrix& b);
00086 extern ComplexMatrix xdiv (const ComplexMatrix& a, const DiagMatrix& b);
00087 extern ComplexMatrix xdiv (const ComplexMatrix& a, const ComplexDiagMatrix& b);
00088
00089 extern DiagMatrix xdiv (const DiagMatrix& a, const DiagMatrix& b);
00090 extern ComplexDiagMatrix xdiv (const ComplexDiagMatrix& a, const DiagMatrix& b);
00091 extern ComplexDiagMatrix xdiv (const ComplexDiagMatrix& a, const ComplexDiagMatrix& b);
00092
00093 extern FloatMatrix xdiv (const FloatMatrix& a, const FloatDiagMatrix& b);
00094 extern FloatComplexMatrix xdiv (const FloatComplexMatrix& a,
00095 const FloatDiagMatrix& b);
00096 extern FloatComplexMatrix xdiv (const FloatMatrix& a,
00097 const FloatComplexDiagMatrix& b);
00098 extern FloatComplexMatrix xdiv (const FloatComplexMatrix& a,
00099 const FloatComplexDiagMatrix& b);
00100
00101 extern FloatDiagMatrix xdiv (const FloatDiagMatrix& a, const FloatDiagMatrix& b);
00102 extern FloatComplexDiagMatrix xdiv (const FloatComplexDiagMatrix& a,
00103 const FloatDiagMatrix& b);
00104 extern FloatComplexDiagMatrix xdiv (const FloatComplexDiagMatrix& a,
00105 const FloatComplexDiagMatrix& b);
00106
00107 extern Matrix xleftdiv (const DiagMatrix& a, const Matrix& b);
00108 extern ComplexMatrix xleftdiv (const DiagMatrix& a, const ComplexMatrix& b);
00109 extern ComplexMatrix xleftdiv (const ComplexDiagMatrix& a, const ComplexMatrix& b);
00110
00111 extern DiagMatrix xleftdiv (const DiagMatrix& a, const DiagMatrix& b);
00112 extern ComplexDiagMatrix xleftdiv (const DiagMatrix& a, const ComplexDiagMatrix& b);
00113 extern ComplexDiagMatrix xleftdiv (const ComplexDiagMatrix& a, const ComplexDiagMatrix& b);
00114
00115 extern FloatMatrix xleftdiv (const FloatDiagMatrix& a,
00116 const FloatMatrix& b);
00117 extern FloatComplexMatrix xleftdiv (const FloatDiagMatrix& a,
00118 const FloatComplexMatrix& b);
00119 extern FloatComplexMatrix xleftdiv (const FloatComplexDiagMatrix& a,
00120 const FloatComplexMatrix& b);
00121
00122 extern FloatDiagMatrix xleftdiv (const FloatDiagMatrix& a,
00123 const FloatDiagMatrix& b);
00124 extern FloatComplexDiagMatrix xleftdiv (const FloatDiagMatrix& a,
00125 const FloatComplexDiagMatrix& b);
00126 extern FloatComplexDiagMatrix xleftdiv (const FloatComplexDiagMatrix& a,
00127 const FloatComplexDiagMatrix& b);
00128
00129 #endif