Path: csiph.com!fu-berlin.de!uni-berlin.de!not-for-mail From: =?UTF-8?Q?Nagy_L=c3=a1szl=c3=b3_Zsolt?= Newsgroups: comp.lang.python Subject: Re: LU decomposition Date: Tue, 3 Nov 2015 19:21:33 +0100 Lines: 11 Message-ID: References: <1e6c4ce1-885c-43ac-b0a5-054f46d4c96e@googlegroups.com> Mime-Version: 1.0 Content-Type: text/plain; charset=windows-1252 Content-Transfer-Encoding: 7bit X-Trace: news.uni-berlin.de 2Vl8vNEf0RdW2IJU3UmDiAtMYxIF/BQQZGMt1FoP4DKA== Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org X-Spam-Status: UNSURE 0.243 X-Spam-Level: ** X-Spam-Evidence: '*H*': 0.58; '*S*': 0.07; 'scipy': 0.05; 'received:io': 0.16; 'received:psf.io': 0.16; 'header:In-Reply- To:1': 0.24; 'subject:skip:d 10': 0.27; 'way?': 0.29; 'code': 0.30; "can't": 0.32; 'this?': 0.34; 'worked': 0.34; 'could': 0.35; 'but': 0.36; 'url:org': 0.36; 'to:addr:python-list': 0.36; 'subject:: ': 0.37; 'really': 0.37; 'why': 0.39; 'to:addr:python.org': 0.40; 'charset:windows-1252': 0.62; 'url:0': 0.63; 'hey,': 0.75; 'url:scipy': 0.84; 'url:reference': 0.91; 'url:14': 0.95 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=shopzeus.com; s=shopzeus_com; t=1446574894; bh=RiDpgzWB3BGaGdvgV36Y98/h+HXAaXUirsI73QeAb/w=; h=Subject:To:References:From:Date:In-Reply-To:From; b=FZdNYtvu/ao/1M4+H/DcLIAxyztx0pFM/0dm3VzfD/pDpo1hPL7ZdF2mRBQkkJC8i YuCJ691YMXd81OP9N/NU1krHT9sZ2WdL04iDwAB0ZVmd7/oVgEUsy5tIjIj46UnOp3 kY/Yp0FeAx11BL1dVWRyvSyTWzhVEYouyGAb/g7M/6lzDQl0P9vjYCY3QyeG8PFrdP 4mkP1fe4tdL9xMzDX4/GU9/7jfaBrGAhmTS0tGMMYJYKJQ8gpmDWOc3EHYndUy0koL y7KeeJGjcLvtfi67K/Mj9A6V3v1hsfRpj+8e5J2ChxTIWflAwiWJlac3VwzRUiw/6N zJm9hh4CHbfGw== In-Reply-To: <1e6c4ce1-885c-43ac-b0a5-054f46d4c96e@googlegroups.com> X-Mailman-Approved-At: Wed, 04 Nov 2015 07:53:41 -0500 X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.20+ Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Xref: csiph.com comp.lang.python:98224 > Hey, > > I have to write a LU-decomposition. My Code worked so far but (I want to become better:) ) I want to ask you, if I could write this LU-decomposition in a better way? Why can't you just use scipy for this? http://docs.scipy.org/doc/scipy-0.14.0/reference/generated/scipy.linalg.lu.html Do you really need to reinvent the wheel?