Click here to Skip to main content
15,944,832 members
Home / Discussions / Algorithms
   

Algorithms

 
AnswerRe: Grading based on graphical data Pin
Gerry Schmitz31-Oct-17 12:36
mveGerry Schmitz31-Oct-17 12:36 
AnswerRe: Grading based on graphical data Pin
Mycroft Holmes31-Oct-17 14:17
professionalMycroft Holmes31-Oct-17 14:17 
QuestionConstrained minimization problem Pin
sthor6925-Oct-17 22:37
sthor6925-Oct-17 22:37 
AnswerRe: Constrained minimization problem Pin
Richard MacCutchan26-Oct-17 0:09
mveRichard MacCutchan26-Oct-17 0:09 
GeneralRe: Constrained minimization problem Pin
sthor6926-Oct-17 0:29
sthor6926-Oct-17 0:29 
AnswerRe: Constrained minimization problem Pin
harold aptroot26-Oct-17 1:41
harold aptroot26-Oct-17 1:41 
GeneralRe: Constrained minimization problem Pin
sthor6931-Oct-17 1:22
sthor6931-Oct-17 1:22 
QuestionLeast squares conformal map Pin
Isawyouoo22-Oct-17 10:21
Isawyouoo22-Oct-17 10:21 
Hello !
Can you mathmaticiens, help me ! I'm stuck for weaks to understand this;(least squares conformal mapping)

In the file uvedit_parametrizer.c (in blender or any src code) this part of code :

/* angle based lscm formulation */

ratio = (sina3 == 0.0f) ? 1.0f : sina2 / sina3;
cosine = cosf(a1) * ratio;
sine = sina1 * ratio;

EIG_linear_solver_matrix_add(context, row, 2 * v1->u.id, cosine - 1.0f);
EIG_linear_solver_matrix_add(context, row, 2 * v1->u.id + 1, -sine);
EIG_linear_solver_matrix_add(context, row, 2 * v2->u.id, -cosine);
EIG_linear_solver_matrix_add(context, row, 2 * v2->u.id + 1, sine);
EIG_linear_solver_matrix_add(context, row, 2 * v3->u.id, 1.0);
row++;

EIG_linear_solver_matrix_add(context, row, 2 * v1->u.id, sine);
EIG_linear_solver_matrix_add(context, row, 2 * v1->u.id + 1, cosine - 1.0f);
EIG_linear_solver_matrix_add(context, row, 2 * v2->u.id, -sine);
EIG_linear_solver_matrix_add(context, row, 2 * v2->u.id + 1, -cosine);
EIG_linear_solver_matrix_add(context, row, 2 * v3->u.id + 1, 1.0);
row++;
(sparsematrix) prepares a matrix.
what kind of eqaution is getting solved, Thanks!
QuestionFind out optimum volume for packing different boxes Pin
Member 1347639321-Oct-17 18:25
Member 1347639321-Oct-17 18:25 
QuestionBlobCounter Pin
Member 280612316-Oct-17 2:23
Member 280612316-Oct-17 2:23 
AnswerRe: BlobCounter Pin
phil.o16-Oct-17 2:42
professionalphil.o16-Oct-17 2:42 
GeneralSolutions distribution of the N-Queens problem Pin
zubetto12-Oct-17 10:53
zubetto12-Oct-17 10:53 
GeneralRe: Solutions distribution of the N-Queens problem Pin
Richard MacCutchan12-Oct-17 11:17
mveRichard MacCutchan12-Oct-17 11:17 
GeneralRe: Solutions distribution of the N-Queens problem Pin
zubetto12-Oct-17 11:34
zubetto12-Oct-17 11:34 
GeneralRe: Solutions distribution of the N-Queens problem Pin
Richard MacCutchan12-Oct-17 22:05
mveRichard MacCutchan12-Oct-17 22:05 
QuestionNeed to display dialog until all questions answered Pin
Christopher Cote11-Oct-17 3:24
Christopher Cote11-Oct-17 3:24 
AnswerRe: Need to display dialog until all questions answered Pin
Sascha Lefèvre11-Oct-17 4:01
professionalSascha Lefèvre11-Oct-17 4:01 
AnswerRe: Need to display dialog until all questions answered Pin
Jochen Arndt11-Oct-17 4:07
professionalJochen Arndt11-Oct-17 4:07 
QuestionSorting Algorithm to maximize 'availability' (help please) Pin
Member 134476015-Oct-17 3:30
Member 134476015-Oct-17 3:30 
AnswerRe: Sorting Algorithm to maximize 'availability' (help please) Pin
Ralf Meier6-Oct-17 0:35
mveRalf Meier6-Oct-17 0:35 
AnswerRe: Sorting Algorithm to maximize 'availability' (help please) Pin
Gerry Schmitz7-Oct-17 6:41
mveGerry Schmitz7-Oct-17 6:41 
QuestionEfficiently comparing results from an XPath query to a resultset returned from a database table Pin
terrybogard44-Oct-17 14:49
terrybogard44-Oct-17 14:49 
AnswerRe: Efficiently comparing results from an XPath query to a resultset returned from a database table Pin
Gerry Schmitz7-Oct-17 6:57
mveGerry Schmitz7-Oct-17 6:57 
QuestionConditional assembly Pin
A Jordison27-Sep-17 23:53
A Jordison27-Sep-17 23:53 
AnswerRe: Conditional assembly Pin
Jochen Arndt28-Sep-17 0:09
professionalJochen Arndt28-Sep-17 0:09 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.