Automatic Differentiation
 
Loading...
Searching...
No Matches

◆ mdivide_left_tri_low() [8/9]

template<typename T1 , typename T2 , require_all_eigen_t< T1, T2 > * = nullptr, require_all_not_eigen_vt< is_fvar, T1, T2 > * = nullptr>
Eigen::Matrix< return_type_t< T1, T2 >, T1::RowsAtCompileTime, T2::ColsAtCompileTime > stan::math::mdivide_left_tri_low ( const T1 &  A,
const T2 &  b 
)
inline

Return the result of left dividing the second argument by the first argument.

Calling mdivide_left_tri_low(A, b) with divisor A and dividend b is more arithmetically stable than calling inv(A) * b.

Template Parameters
T1type of the divisor matrix
T2type of the dividend matrix
Parameters
Adivisor, an invertible square matrix
bdividend, a matrix or vector with the same number of rows as the divisor has columns
Returns
left division of b by A
Exceptions
std::invalid_argumentif the divisor is not square or the dividend does not have the same number of rows as the divisor has columns.

Definition at line 33 of file mdivide_left_tri_low.hpp.