def dtrtrs(A, B, lower=<NUM_LIT:1>, trans=<NUM_LIT:0>, unitdiag=<NUM_LIT:0>):
A = np.asfortranarray(A)<EOL>return lapack.dtrtrs(A, B, lower=lower, trans=trans, unitdiag=unitdiag)<EOL>
Wrapper for lapack dtrtrs function

DTRTRS solves a triangular system of the form

    A * X = B  or  A**T * X = B,

where A is a triangular matrix of order N, and B is an N-by-NRHS
matrix.  A check is made to verify that A is nonsingular.

:param A: Matrix A(triangular)
:param B: Matrix B
:param lower: is matrix lower (true) or upper (false)
:returns: Solution to A * X = B or A**T * X = B