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

◆ mdivide_left() [4/4]

template<typename T1 , typename T2 , require_all_matrix_t< T1, T2 > * = nullptr, require_any_st_var< T1, T2 > * = nullptr>
auto stan::math::mdivide_left ( const T1 &  A,
const T2 &  B 
)
inline

Return the solution X of AX = B.

A must be a square matrix, but B can be a matrix or a vector

Template Parameters
T1type of first matrix
T2type of second matrix
Parameters
[in]Asquare matrix
[in]Bright hand side
Returns
solution of AX = B

Definition at line 30 of file mdivide_left.hpp.