Welcome Guest! To enable all features please Login. New Registrations are disabled.

Notification

Icon
Error

Login


Options
Go to last post Go to first unread
Offline farlanw  
#1 Posted : 07 October 2012 03:39:51(UTC)
farlanw

Rank: Newbie

Groups: Registered
Joined: 13/06/2012(UTC)
Posts: 9

Hi,

What is the best way to solve a system of positive-definite linear equationsusing smath( as used in structural analysis of space frames)?

Elsewhere I have used software that makes use of public domain solver libraries for this. Can these be adapted for use in Smath?

Thanks

farlanw

Edited by user 11 October 2012 12:48:35(UTC)  | Reason: Not specified

Wanna join the discussion?! Login to your SMath Studio Forum forum account. New Registrations are disabled.

Offline kilele  
#2 Posted : 07 October 2012 04:32:38(UTC)
kilele


Rank: Advanced Member

Groups: Registered
Joined: 30/03/2011(UTC)
Posts: 393

Was thanked: 132 time(s) in 113 post(s)
Iterative methods are faster than direct for large systems,
for positive definite linear matrices I've read here that PCG ( "preconditioned conjugate gradient method" ) is quite efficient in general.
Wikipedia
Algorithm pseudocode

Edited by user 07 October 2012 04:34:34(UTC)  | Reason: Not specified

Offline Davide Carpi  
#3 Posted : 07 October 2012 16:11:27(UTC)
Davide Carpi


Rank: Advanced Member

Groups: Registered, Advanced Member
Joined: 13/01/2012(UTC)
Posts: 2,639
Man
Italy
Location: Italy

Was thanked: 1323 time(s) in 873 post(s)
Originally Posted by: kilele Go to Quoted Post
Iterative methods are faster than direct for large systems,
for positive definite linear matrices I've read here that PCG ( "preconditioned conjugate gradient method" ) is quite efficient in general.
Wikipedia
Algorithm pseudocode


The sm code for linear systems.


regards,

w3b5urf3r
File Attachment(s):
ConjugateGradient.sm (8kb) downloaded 169 time(s).
If you like my plugins consider to support SMath Studio buying a plan; to offer me a coffee: paypal.me/dcprojects
Users browsing this topic
Forum Jump  
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.