25 #if defined (HAVE_CONFIG_H)
65 template <
typename T1,
typename T2>
84 #define INSTANTIATE_MX_LEFTDIV_CONFORM(T1, T2) \
85 template bool mx_leftdiv_conform (const T1&, const T2&, blas_trans_type)
92 template <
typename T1,
typename T2>
110 #define INSTANTIATE_MX_DIV_CONFORM(T1, T2) \
111 template bool mx_div_conform (const T1&, const T2&)
706 template <
typename MT,
typename DMT>
717 typedef typename DMT::element_type S;
718 typedef typename MT::element_type T;
719 const T *aa = a.data ();
720 const S *dd = d.data ();
721 T *xx = x.fortran_vec ();
789 template <
typename MT,
typename DMT>
801 typedef typename DMT::element_type S;
802 typedef typename MT::element_type T;
803 const T *aa = a.data ();
804 const S *dd = d.data ();
805 T *xx = x.fortran_vec ();
810 xx[
i] = dd[
i] != S () ? aa[
i] / dd[
i] : T ();
869 template <
typename MT,
typename DMT>
882 typedef typename DMT::element_type S;
883 typedef typename MT::element_type T;
884 const T *aa = a.data ();
885 const S *dd = d.data ();
886 T *xx = x.fortran_vec ();
889 xx[
i] = dd[
i] != S () ? aa[
i] / dd[
i] : T ();
944 template <
typename MT,
typename DMT>
957 typedef typename DMT::element_type S;
958 typedef typename MT::element_type T;
959 const T *aa = a.data ();
960 const S *dd = d.data ();
961 T *xx = x.fortran_vec ();
964 xx[
i] = dd[
i] != S () ? aa[
i] / dd[
i] : T ();
FloatComplexMatrix transpose(void) const
FloatComplexMatrix solve(MatrixType &typ, const FloatMatrix &b) const
MT dmm_leftdiv_impl(const DMT &d, const MT &a)
octave_idx_type numel(void) const
Number of elements in the array.
Matrix xleftdiv(const Matrix &a, const Matrix &b, MatrixType &typ, blas_trans_type transt)
FloatMatrix transpose(void) const
octave_idx_type cols(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 F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T F77_REAL F77_REAL &F77_RET_T F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE * d
calling an anonymous function involves an overhead quite comparable to the overhead of an m file function Passing a handle to a built in function is because the interpreter is not involved in the internal loop For a
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)
nd deftypefn *octave_map m
void err_nonconformant(const char *op, octave_idx_type op1_len, octave_idx_type op2_len)
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)
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)
With real return the complex result
Matrix solve(MatrixType &typ, const Matrix &b) const
MT dmdm_leftdiv_impl(const DMT &d, const MT &a)
octave_idx_type rows(void) const
=val(i)}if ode{val(i)}occurs in table i
Matrix x_el_div(double a, const Matrix &b)
std::complex< float > FloatComplex
std::complex< double > Complex
void warn_singular_matrix(double rcond)
octave_idx_type columns(void) const
F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_REAL const F77_REAL F77_REAL &F77_RET_T const F77_DBLE const F77_DBLE F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T F77_DBLE &F77_RET_T F77_REAL &F77_RET_T F77_REAL &F77_RET_T F77_DBLE &F77_RET_T const F77_DBLE F77_DBLE &F77_RET_T const F77_REAL F77_REAL &F77_RET_T F77_REAL F77_REAL &F77_RET_T F77_DBLE F77_DBLE &F77_RET_T const F77_DBLE * x
charNDArray min(char d, const charNDArray &m)