Updated AccelerateSupport documentation after PR 966.

This commit is contained in:
John Mather 2022-07-29 17:42:31 +00:00 committed by Rasmus Munk Larsen
parent 69714ff613
commit 7dd3dda3da

View File

@ -33,17 +33,14 @@
* the include paths, and your binary must be linked to the Accelerate framework.
* The Accelerate library is only available on Apple hardware.
*
* Note that many of the algorithms require additional information about your
* matrices. This can be provided by setting the UpLo template argument when
* defining the factorization class. For example, the following creates an
* LDLT factorization where your matrix is symmetric and uses the lower
* triangle:
* Note that many of the algorithms can be influenced by the UpLo template
* argument. All matrices are assumed to be symmetric. For example, the following
* creates an LDLT factorization where your matrix is symmetric (implicit) and
* uses the lower triangle:
*
* \code
* AccelerateLDLT<SparseMatrix<float>, Lower | Symmetric> ldlt;
* AccelerateLDLT<SparseMatrix<float>, Lower> ldlt;
* \endcode
*
* Failure to do so may result in your application crashing.
*/
#include "src/AccelerateSupport/AccelerateSupport.h"