• Aucun résultat trouvé

[lJ If

N/A
N/A
Protected

Academic year: 2022

Partager "[lJ If"

Copied!
3
0
0

Texte intégral

(1)

TITLE:

PURPOSE:

Q

A DIVISION OF NORTH AMERICAN AVIATION, INC 0 INDUSTRIAL PRODUCTS

3584 Wilshire Blvdo , Los Angeles 5, Calif.

RECOMP TECHNICAL BULLETIN NO. 7

April 4, 1960

Improved Method for Lagrangian Interpolation

To indicate a simplified method of writing Lagrange's Interpolation Formula

EFFECTIVE DATE: April

4,

1960 CONTENTS: 1. INTRODUCTION

Lagragian Interpolation lends itself nicely to machine calculation, but when the indices are equal the missing terms of the products require special treatmento The following approach decreases the number of multiplications and divisions required and practically eliminates the necessity of checking for index equality.

2. METHOD

If we defihe

then Lagrangels interpolation formula [lJ becomes

(1)

(2)

Assume X

f

~ for all k= 1, 2, 0 0 0 , no We may then write

Write

~

Yk

"2t

(X-Xi)

y=~ (X-Xk) P k (X

k)

or,

Pk (~)

=

(Xk-Xl ) (Xk-X2)···(Xk-~_1) (~-Xk+l)···(Xk-Xn_l) (Xk -Xn),·

The denominator term (~-X) of (2) is similar to the terms of Pk (X

k), so let

(Since X /

k is needed as a constant minuend in forming P

k

(~)

it can be replaced in the table by X when it is picked up, and restored after

P,

(Xk) is formed).

(3)

vie now have

Assuming that the produ ets are set originally to -1 for

1T

i

and +1 for the P~ this method requires (n+l)2 or n2+2n+l

, 2

multiplications and divisions, as opposed to 2n for the conventional method. It also simplifies the "housekeeping"

by eliminating the tests for i=k.

(It is, of course, nicest if there exists an instruction to exchange the contents of the arithmetic register with the contents of a word in memory).

REFERENCE

1. Ivan S. and Elizabeth S. Sokolnikoff: "HIGHER MATHEI"IATICS for ENGINEERS and PHYSICISTS," McGraw-Hill Book Co., Inc., New York, 1941,

553.

INFORMATION TO: All Concerned WRITTEN BY: Greg Howell

Références

Documents relatifs

It is, however, not very probable that similar citizen programmes will be set up for flora and insects in the near future, even though national structures with the means to

In addition, we revealed that in follicular lymphoma (FL) tissues, previously identi fied as enriched for PD1 hi CXCR5 hi CD4 + mature follicular helper T cells, PD1 dim CXCR5 + CD4 +

When accessing a database through SQL from an ordinary programming language, such as C# or Java, there is typically a strict segregation between data under the control of the DB

The fending off of social media platforms, intellectual property laws, or business strategies that would integrate hacker projects as an appendage of some other structure or

L’archive ouverte pluridisciplinaire HAL, est destinée au dépôt et à la diffusion de documents scientifiques de niveau recherche, publiés ou non, émanant des

Crimp’s performance ‘event’ ‘brought about by language’ is at the heart of Attempts on her Life, and demands of the director an approach that identifies how Crimp

likelihood ratio test remains valid when the assumption of iid Gaussian errors..

The leaders at the college library in Missouri adopted a servant leadership approach that focused on self-evaluation, communication, collaboration, support, accountability,