Skip to content
Snippets Groups Projects
Commit f7370be7 authored by Justin Carpentier's avatar Justin Carpentier
Browse files

sparse/Accelerate: add doc

parent 25343da9
No related branches found
No related tags found
No related merge requests found
......@@ -21,16 +21,33 @@ void exposeAccelerate() {
.value("SparseOrderMetis", SparseOrderMetis)
.value("SparseOrderCOLAMD", SparseOrderCOLAMD);
#define EXPOSE_ACCELERATE_DECOMPOSITION(name) \
#define EXPOSE_ACCELERATE_DECOMPOSITION(name, doc) \
AccelerateImplVisitor<name<ColMajorSparseMatrix> >::expose( \
EIGENPY_STRINGIZE(name))
EXPOSE_ACCELERATE_DECOMPOSITION(AccelerateLLT);
EXPOSE_ACCELERATE_DECOMPOSITION(AccelerateLDLT);
EXPOSE_ACCELERATE_DECOMPOSITION(AccelerateLDLTUnpivoted);
EXPOSE_ACCELERATE_DECOMPOSITION(AccelerateLDLTSBK);
EXPOSE_ACCELERATE_DECOMPOSITION(AccelerateLDLTTPP);
EXPOSE_ACCELERATE_DECOMPOSITION(AccelerateQR);
EXPOSE_ACCELERATE_DECOMPOSITION(AccelerateCholeskyAtA);
EIGENPY_STRINGIZE(name), doc)
EXPOSE_ACCELERATE_DECOMPOSITION(
AccelerateLLT,
"A direct Cholesky (LLT) factorization and solver based on Accelerate.");
EXPOSE_ACCELERATE_DECOMPOSITION(AccelerateLDLT,
"The default Cholesky (LDLT) factorization "
"and solver based on Accelerate.");
EXPOSE_ACCELERATE_DECOMPOSITION(
AccelerateLDLTUnpivoted,
"A direct Cholesky-like LDL^T factorization and solver based on "
"Accelerate with only 1x1 pivots and no pivoting.");
EXPOSE_ACCELERATE_DECOMPOSITION(
AccelerateLDLTSBK,
"A direct Cholesky (LDLT) factorization and solver based on Accelerate "
"with Supernode Bunch-Kaufman and static pivoting.");
EXPOSE_ACCELERATE_DECOMPOSITION(
AccelerateLDLTTPP,
"A direct Cholesky (LDLT) factorization and solver based on Accelerate "
"with full threshold partial pivoting.");
EXPOSE_ACCELERATE_DECOMPOSITION(
AccelerateQR, "A QR factorization and solver based on Accelerate.");
EXPOSE_ACCELERATE_DECOMPOSITION(
AccelerateCholeskyAtA,
"A QR factorization and solver based on Accelerate without storing Q "
"(equivalent to A^TA = R^T R).");
}
} // namespace eigenpy
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment