@brief Compute density matrix from a set of orbitals and respective occupation numbers
@detail Compute the transformation: D = V * X * V^T
@param[out] d density matrix
@param[in] v matrix of orbitals
@param[in] x vector of occupation numbers
@param[in] m number of columns in V
@param[in] n dimension of D
@param[in] ldv leading dimension of V
Type | Intent | Optional | Attributes | Name | ||
---|---|---|---|---|---|---|
real(kind=dp), | intent(out) | :: | d(*) | |||
real(kind=dp), | intent(in) | :: | v(ldv,*) | |||
real(kind=dp), | intent(in) | :: | x(*) | |||
integer, | intent(in) | :: | m | |||
integer, | intent(in) | :: | n | |||
integer, | intent(in) | :: | ldv |