Home | History | Annotate | Download | only in ceres

Lines Matching refs:Options

51 SchurEliminatorBase::Create(const LinearSolver::Options& options) {
53 if ((options.row_block_size == 2) &&
54 (options.e_block_size == 2) &&
55 (options.f_block_size == 2)) {
56 return new SchurEliminator<2, 2, 2>(options);
58 if ((options.row_block_size == 2) &&
59 (options.e_block_size == 2) &&
60 (options.f_block_size == 3)) {
61 return new SchurEliminator<2, 2, 3>(options);
63 if ((options.row_block_size == 2) &&
64 (options.e_block_size == 2) &&
65 (options.f_block_size == 4)) {
66 return new SchurEliminator<2, 2, 4>(options);
68 if ((options.row_block_size == 2) &&
69 (options.e_block_size == 2) &&
70 (options.f_block_size == Eigen::Dynamic)) {
71 return new SchurEliminator<2, 2, Eigen::Dynamic>(options);
73 if ((options.row_block_size == 2) &&
74 (options.e_block_size == 3) &&
75 (options.f_block_size == 3)) {
76 return new SchurEliminator<2, 3, 3>(options);
78 if ((options.row_block_size == 2) &&
79 (options.e_block_size == 3) &&
80 (options.f_block_size == 4)) {
81 return new SchurEliminator<2, 3, 4>(options);
83 if ((options.row_block_size == 2) &&
84 (options.e_block_size == 3) &&
85 (options.f_block_size == 9)) {
86 return new SchurEliminator<2, 3, 9>(options);
88 if ((options.row_block_size == 2) &&
89 (options.e_block_size == 3) &&
90 (options.f_block_size == Eigen::Dynamic)) {
91 return new SchurEliminator<2, 3, Eigen::Dynamic>(options);
93 if ((options.row_block_size == 2) &&
94 (options.e_block_size == 4) &&
95 (options.f_block_size == 3)) {
96 return new SchurEliminator<2, 4, 3>(options);
98 if ((options.row_block_size == 2) &&
99 (options.e_block_size == 4) &&
100 (options.f_block_size == 4)) {
101 return new SchurEliminator<2, 4, 4>(options);
103 if ((options.row_block_size == 2) &&
104 (options.e_block_size == 4) &&
105 (options.f_block_size == 8)) {
106 return new SchurEliminator<2, 4, 8>(options);
108 if ((options.row_block_size == 2) &&
109 (options.e_block_size == 4) &&
110 (options.f_block_size == 9)) {
111 return new SchurEliminator<2, 4, 9>(options);
113 if ((options.row_block_size == 2) &&
114 (options.e_block_size == 4) &&
115 (options.f_block_size == Eigen::Dynamic)) {
116 return new SchurEliminator<2, 4, Eigen::Dynamic>(options);
118 if ((options.row_block_size == 2) &&
119 (options.e_block_size == Eigen::Dynamic) &&
120 (options.f_block_size == Eigen::Dynamic)) {
121 return new SchurEliminator<2, Eigen::Dynamic, Eigen::Dynamic>(options);
123 if ((options.row_block_size == 4) &&
124 (options.e_block_size == 4) &&
125 (options.f_block_size == 2)) {
126 return new SchurEliminator<4, 4, 2>(options);
128 if ((options.row_block_size == 4) &&
129 (options.e_block_size == 4) &&
130 (options.f_block_size == 3)) {
131 return new SchurEliminator<4, 4, 3>(options);
133 if ((options.row_block_size == 4) &&
134 (options.e_block_size == 4) &&
135 (options.f_block_size == 4)) {
136 return new SchurEliminator<4, 4, 4>(options);
138 if ((options.row_block_size == 4) &&
139 (options.e_block_size == 4) &&
140 (options.f_block_size == Eigen::Dynamic)) {
141 return new SchurEliminator<4, 4, Eigen::Dynamic>(options);
143 if ((options.row_block_size == Eigen::Dynamic) &&
144 (options.e_block_size == Eigen::Dynamic) &&
145 (options.f_block_size == Eigen::Dynamic)) {
146 return new SchurEliminator<Eigen::Dynamic, Eigen::Dynamic, Eigen::Dynamic>(options);
151 << options.row_block_size << ","
152 << options.e_block_size << ","
153 << options.f_block_size << ">";
154 return new SchurEliminator<Eigen::Dynamic, Eigen::Dynamic, Eigen::Dynamic>(options);