65 template <
class T1,
class T2>
85 #define INSTANTIATE_MX_LEFTDIV_CONFORM(T1, T2) \
86 template bool mx_leftdiv_conform (const T1&, const T2&, blas_trans_type)
93 template <
class T1,
class T2>
112 #define INSTANTIATE_MX_DIV_CONFORM(T1, T2) \
113 template bool mx_div_conform (const T1&, const T2&)
218 result (i, j) = a / b (i, j);
236 result (i, j) = a / b (i, j);
254 result (i, j) = a / b (i, j);
272 result (i, j) = a / b (i, j);
295 result (i) = a / b (i);
309 result (i) = a / b (i);
323 result (i) = a / b (i);
337 result (i) = a / b (i);
519 result (i, j) = a / b (i, j);
537 result (i, j) = a / b (i, j);
555 result (i, j) = a / b (i, j);
573 result (i, j) = a / b (i, j);
596 result (i) = a / b (i);
610 result (i) = a / b (i);
624 result (i) = a / b (i);
638 result (i) = a / b (i);
708 template <
class MT,
class DMT>
719 typedef typename DMT::element_type S;
720 typedef typename MT::element_type T;
721 const T *aa = a.data ();
722 const S *dd = d.data ();
723 T *xx = x.fortran_vec ();
791 template <
class MT,
class DMT>
803 typedef typename DMT::element_type S;
804 typedef typename MT::element_type T;
805 const T *aa = a.data ();
806 const S *dd = d.data ();
807 T *xx = x.fortran_vec ();
812 xx[i] = dd[i] != S () ? aa[i] / dd[i] : T ();
871 template <
class MT,
class DMT>
884 typedef typename DMT::element_type S;
885 typedef typename MT::element_type T;
886 const T *aa = a.data ();
887 const S *dd = d.data ();
888 T *xx = x.fortran_vec ();
891 xx[i] = dd[i] != S () ? aa[i] / dd[i] : T ();
946 template <
class MT,
class DMT>
959 typedef typename DMT::element_type S;
960 typedef typename MT::element_type T;
961 const T *aa = a.data ();
962 const S *dd = d.data ();
963 T *xx = x.fortran_vec ();
966 xx[i] = dd[i] != S () ? aa[i] / dd[i] : T ();
FloatComplexMatrix transpose(void) const
FloatComplexMatrix solve(MatrixType &typ, const FloatMatrix &b) const
void gripe_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
MT dmm_leftdiv_impl(const DMT &d, const MT &a)
Matrix xleftdiv(const Matrix &a, const Matrix &b, MatrixType &typ, blas_trans_type transt)
FloatMatrix transpose(void) const
MT mdm_div_impl(const MT &a, const DMT &d)
FloatMatrix solve(MatrixType &typ, const FloatMatrix &b) const
Matrix xdiv(const Matrix &a, const Matrix &b, MatrixType &typ)
static bool result_ok(octave_idx_type info)
octave_idx_type rows(void) const
F77_RET_T const double const double double * d
MT dmdm_div_impl(const MT &a, const DMT &d)
const dim_vector & dims(void) const
Return a const-reference so that dims ()(i) works efficiently.
static void solve_singularity_warning(double rcond)
Matrix transpose(void) const
#define INSTANTIATE_MX_LEFTDIV_CONFORM(T1, T2)
ComplexMatrix solve(MatrixType &typ, const Matrix &b) const
bool mx_div_conform(const T1 &a, const T2 &b)
void gripe_singular_matrix(double rcond)
ComplexMatrix transpose(void) const
bool mx_leftdiv_conform(const T1 &a, const T2 &b, blas_trans_type blas_trans)
#define INSTANTIATE_MX_DIV_CONFORM(T1, T2)
Matrix solve(MatrixType &typ, const Matrix &b) const
MT dmdm_leftdiv_impl(const DMT &d, const MT &a)
octave_idx_type length(void) const
Number of elements in the array.
Matrix x_el_div(double a, const Matrix &b)
std::complex< float > FloatComplex
std::complex< double > Complex
octave_idx_type columns(void) const
F77_RET_T const double * x
charNDArray min(char d, const charNDArray &m)