26 #if defined (HAVE_CONFIG_H)
58 template <
typename T1,
typename T2>
77 #define INSTANTIATE_MX_LEFTDIV_CONFORM(T1, T2) \
78 template bool mx_leftdiv_conform (const T1&, const T2&, blas_trans_type)
85 template <
typename T1,
typename T2>
103 #define INSTANTIATE_MX_DIV_CONFORM(T1, T2) \
104 template bool mx_div_conform (const T1&, const T2&)
209 result (i, j) = a / b (i, j);
227 result (i, j) = a / b (i, j);
245 result (i, j) = a / b (i, j);
263 result (i, j) = a / b (i, j);
286 result (i) = a / b (i);
300 result (i) = a / b (i);
314 result (i) = a / b (i);
328 result (i) = a / b (i);
510 result (i, j) = a / b (i, j);
528 result (i, j) = a / b (i, j);
546 result (i, j) = a / b (i, j);
564 result (i, j) = a / b (i, j);
587 result (i) = a / b (i);
601 result (i) = a / b (i);
615 result (i) = a / b (i);
629 result (i) = a / b (i);
699 template <
typename MT,
typename DMT>
710 typedef typename DMT::element_type S;
711 typedef typename MT::element_type T;
712 const T *aa = a.data ();
713 const S *dd =
d.data ();
714 T *xx =
x.fortran_vec ();
782 template <
typename MT,
typename DMT>
794 typedef typename DMT::element_type S;
795 typedef typename MT::element_type T;
796 const T *aa = a.data ();
797 const S *dd =
d.data ();
798 T *xx =
x.fortran_vec ();
803 xx[i] = (dd[i] != S () ? aa[i] / dd[i] : T ());
862 template <
typename MT,
typename DMT>
875 typedef typename DMT::element_type S;
876 typedef typename MT::element_type T;
877 const T *aa = a.data ();
878 const S *dd =
d.data ();
879 T *xx =
x.fortran_vec ();
882 xx[i] = (dd[i] != S () ? aa[i] / dd[i] : T ());
937 template <
typename MT,
typename DMT>
950 typedef typename DMT::element_type S;
951 typedef typename MT::element_type T;
952 const T *aa = a.data ();
953 const S *dd =
d.data ();
954 T *xx =
x.fortran_vec ();
957 xx[i] = (dd[i] != S () ? aa[i] / dd[i] : T ());
charNDArray min(char d, const charNDArray &m)
octave_idx_type columns(void) const
octave_idx_type numel(void) const
Number of elements in the array.
octave_idx_type rows(void) const
const dim_vector & dims(void) const
Return a const-reference so that dims ()(i) works efficiently.
ComplexMatrix transpose(void) const
ComplexMatrix solve(MatrixType &mattype, const Matrix &b) const
FloatComplexMatrix transpose(void) const
FloatComplexMatrix solve(MatrixType &mattype, const FloatMatrix &b) const
FloatMatrix transpose(void) const
FloatMatrix solve(MatrixType &mattype, const FloatMatrix &b) const
Matrix transpose(void) const
Matrix solve(MatrixType &mattype, const Matrix &b) const
F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
F77_RET_T const F77_DBLE * x
void warn_singular_matrix(double rcond)
void err_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
std::complex< double > Complex
std::complex< float > FloatComplex
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)
Matrix x_el_div(double a, const Matrix &b)
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)