Click here to Skip to main content
15,903,201 members
Home / Discussions / Algorithms
   

Algorithms

 
GeneralRe: calculus... Pin
Vikram A Punathambekar10-Oct-06 23:00
Vikram A Punathambekar10-Oct-06 23:00 
GeneralRe: calculus... Pin
Ryan Binns10-Oct-06 23:04
Ryan Binns10-Oct-06 23:04 
GeneralRe: calculus... [modified] Pin
Stephen Hewitt12-Oct-06 13:59
Stephen Hewitt12-Oct-06 13:59 
QuestionSearch Algorithm Pin
MoustafaS10-Oct-06 10:28
MoustafaS10-Oct-06 10:28 
AnswerRe: Search Algorithm [modified] Pin
Kastellanos Nikos10-Oct-06 23:42
Kastellanos Nikos10-Oct-06 23:42 
AnswerRe: Search Algorithm Pin
Kastellanos Nikos11-Oct-06 0:02
Kastellanos Nikos11-Oct-06 0:02 
GeneralRe: Search Algorithm Pin
Anand Vivek Srivastava11-Oct-06 4:31
Anand Vivek Srivastava11-Oct-06 4:31 
Questiondeterminant of a matrix Pin
cagdasanilan4-Oct-06 4:15
cagdasanilan4-Oct-06 4:15 
i have written a code to find the determinant of a matrix, i would like to ask is it fishy or can it be devoloped? thanks to you all for replies... my code is written in vb.. and one more thing... i wonder is it the right place to post? thanks anyway...
here is my code...
Sub deneme()
Dim a(1 To 10, 1 To 10) As Double

Dim t As Integer
a1 = 1
t = 0
GoTo git
For i = 1 To 3
For j = 1 To 3
t = t + 1
a(i, j) = t
Next j
Next i

git:

a(1, 1) = -1
a(1, 2) = 0
a(1, 3) = -50
a(2, 1) = 1
a(2, 2) = 4.92
a(2, 3) = -2
a(3, 1) = -1.4
a(3, 2) = 3
a(3, 3) = 1




For i = 1 To 3
For j = 1 To 3
If i = j Then
If a(i, i) = 0 Then GoTo devam
For g = i + 1 To 3
tut = a(g, i)
For b = 1 To 3
a(g, b) = a(g, b) - (a(i, b) * (tut / a(i, i)))
Next b
Next g
End If
Next j
Next i

devam:



For i = 1 To 3
For j = 1 To 3
Cells(i, j) = a(i, j)
Next j
Next i
For i = 1 To 3
a1 = a1 * a(i, i)
Next i

Cells(1, 10) = a1



End Sub
AnswerRe: determinant of a matrix Pin
User 66588-Oct-06 13:28
User 66588-Oct-06 13:28 
AnswerRe: determinant of a matrix Pin
cagdasanilan8-Oct-06 22:58
cagdasanilan8-Oct-06 22:58 
AnswerRe: determinant of a matrix Pin
ejuanpp18-Oct-06 11:48
ejuanpp18-Oct-06 11:48 
GeneralRe: determinant of a matrix Pin
cagdasanilan21-Oct-06 8:07
cagdasanilan21-Oct-06 8:07 
GeneralRe: determinant of a matrix Pin
ejuanpp22-Oct-06 22:47
ejuanpp22-Oct-06 22:47 
GeneralRe: determinant of a matrix Pin
cagdasanilan26-Oct-06 4:06
cagdasanilan26-Oct-06 4:06 
QuestionPort To Application Mapping (aka PAM)... Pin
Shy Agam29-Sep-06 11:06
Shy Agam29-Sep-06 11:06 
Questionimage convolution Pin
Prinz Ryoiji27-Sep-06 22:02
Prinz Ryoiji27-Sep-06 22:02 
AnswerRe: image convolution Pin
Dominik Reichl29-Sep-06 7:43
Dominik Reichl29-Sep-06 7:43 
AnswerRe: image convolution [modified] Pin
ejuanpp2-Oct-06 1:46
ejuanpp2-Oct-06 1:46 
Questionlooking for a source code... Pin
good_buttercup27-Sep-06 19:04
good_buttercup27-Sep-06 19:04 
AnswerRe: looking for a source code... Pin
User 58385227-Sep-06 20:45
User 58385227-Sep-06 20:45 
AnswerRe: looking for a source code... Pin
good_buttercup27-Sep-06 21:22
good_buttercup27-Sep-06 21:22 
Questionbayesian belief network algorithm Pin
good_buttercup27-Sep-06 18:29
good_buttercup27-Sep-06 18:29 
QuestionEnglish Word Tense Pin
chinajuanbob22-Sep-06 23:15
chinajuanbob22-Sep-06 23:15 
AnswerRe: English Word Tense Pin
Dan Neely25-Sep-06 2:21
Dan Neely25-Sep-06 2:21 
GeneralExtended Midy's Theorem Pin
Bassam Abdul-Baki21-Sep-06 8:52
professionalBassam Abdul-Baki21-Sep-06 8:52 

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.