26 #if defined (HAVE_CONFIG_H)
60 template <
typename T1,
typename T2>
79 #define INSTANTIATE_MX_LEFTDIV_CONFORM(T1, T2) \
80 template bool mx_leftdiv_conform (const T1&, const T2&, blas_trans_type)
87 template <
typename T1,
typename T2>
105 #define INSTANTIATE_MX_DIV_CONFORM(T1, T2) \
106 template bool mx_div_conform (const T1&, const T2&)
211 result (i, j) = a / b (i, j);
229 result (i, j) = a / b (i, j);
247 result (i, j) = a / b (i, j);
265 result (i, j) = a / b (i, j);
288 result (i) = a / b (i);
302 result (i) = a / b (i);
316 result (i) = a / b (i);
330 result (i) = a / b (i);
512 result (i, j) = a / b (i, j);
530 result (i, j) = a / b (i, j);
548 result (i, j) = a / b (i, j);
566 result (i, j) = a / b (i, j);
589 result (i) = a / b (i);
603 result (i) = a / b (i);
617 result (i) = a / b (i);
631 result (i) = a / b (i);
701 template <
typename MT,
typename DMT>
712 typedef typename DMT::element_type S;
713 typedef typename MT::element_type T;
714 const T *aa = a.data ();
715 const S *dd =
d.data ();
716 T *xx =
x.fortran_vec ();
784 template <
typename MT,
typename DMT>
796 typedef typename DMT::element_type S;
797 typedef typename MT::element_type T;
798 const T *aa = a.data ();
799 const S *dd =
d.data ();
800 T *xx =
x.fortran_vec ();
805 xx[i] = (dd[i] != S () ? aa[i] / dd[i] : T ());
864 template <
typename MT,
typename DMT>
877 typedef typename DMT::element_type S;
878 typedef typename MT::element_type T;
879 const T *aa = a.data ();
880 const S *dd =
d.data ();
881 T *xx =
x.fortran_vec ();
884 xx[i] = (dd[i] != S () ? aa[i] / dd[i] : T ());
939 template <
typename MT,
typename DMT>
952 typedef typename DMT::element_type S;
953 typedef typename MT::element_type T;
954 const T *aa = a.data ();
955 const S *dd =
d.data ();
956 T *xx =
x.fortran_vec ();
959 xx[i] = (dd[i] != S () ? aa[i] / dd[i] : T ());
charNDArray min(char d, const charNDArray &m)
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type columns(void) const
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type numel(void) const
Number of elements in the array.
OCTARRAY_OVERRIDABLE_FUNC_API const dim_vector & dims(void) const
Return a const-reference so that dims ()(i) works efficiently.
OCTARRAY_OVERRIDABLE_FUNC_API octave_idx_type rows(void) const
ComplexMatrix transpose(void) const
OCTAVE_API ComplexMatrix solve(MatrixType &mattype, const Matrix &b) const
FloatComplexMatrix transpose(void) const
OCTAVE_API FloatComplexMatrix solve(MatrixType &mattype, const FloatMatrix &b) const
FloatMatrix transpose(void) const
OCTAVE_API FloatMatrix solve(MatrixType &mattype, const FloatMatrix &b) const
Matrix transpose(void) const
OCTAVE_API Matrix solve(MatrixType &mattype, const Matrix &b) const
OCTAVE_BEGIN_NAMESPACE(octave) static octave_value daspk_fcn
void err_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
void warn_singular_matrix(double rcond)
F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
F77_RET_T const F77_DBLE * x
class OCTAVE_API ComplexMatrix
class OCTAVE_API FloatComplexMatrix
class OCTAVE_API FloatMatrix
std::complex< double > Complex
std::complex< float > FloatComplex
Matrix elem_xdiv(double a, const Matrix &b)
Matrix xleftdiv(const Matrix &a, const Matrix &b, MatrixType &typ, blas_trans_type transt)
MT dmm_leftdiv_impl(const DMT &d, const MT &a)
bool mx_leftdiv_conform(const T1 &a, const T2 &b, blas_trans_type blas_trans)
bool mx_div_conform(const T1 &a, const T2 &b)
static void solve_singularity_warning(double rcond)
#define INSTANTIATE_MX_LEFTDIV_CONFORM(T1, T2)
#define INSTANTIATE_MX_DIV_CONFORM(T1, T2)
MT dmdm_leftdiv_impl(const DMT &d, const MT &a)
MT mdm_div_impl(const MT &a, const DMT &d)
Matrix xdiv(const Matrix &a, const Matrix &b, MatrixType &typ)
MT dmdm_div_impl(const MT &a, const DMT &d)